mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-11-16 10:47:55 +01:00
20 lines
285 B
Lua
20 lines
285 B
Lua
local M = {
|
|
isApi = true
|
|
}
|
|
|
|
|
|
function M._global(request, response)
|
|
response:setSuccess()
|
|
end
|
|
|
|
function M.firmware(request, response)
|
|
--response:setSuccess()
|
|
-- can return (essentially all wraps ipkg output):
|
|
-- available (list)
|
|
-- current
|
|
-- latest
|
|
-- upgradable
|
|
end
|
|
|
|
return M
|