-
-
Notifications
You must be signed in to change notification settings - Fork 14
API
This entry contains the api documentation.
GET Parameter "cmd" as command name
{"version":2,"battery":{"voltageFactor":67690,"voltageChargerFactor":71907,"minimalAdc":2400,"sleepMinutes":15},"buttonEars":{"longPressMs":1000,"veryLongPressMs":10000},"wifi":{"ssid":"","password":""}}
Contains the target directory path
{"files":[{"name":"CONTENT","size":0,"time":11942,"date":20662,"dir":true},{"name":"revvox","size":0,"time":39661,"date":20661,"dir":true},{"name":"initsd.crc","size":5123,"time":0,"date":33,"dir":false},{"name":"hackiebox.config.json","size":228,"time":23491,"date":20665,"dir":false}]}
Contains the target file path
Ignore bytes until [start]
Read max [length] bytes
Raw filestream
Contains the target file path
Ignore bytes until [start]
Read max [length] bytes
Raw filestream
Full [source] file path
Full [target] file path
404 or { "success": true }
Full [source] file path
Full [target] file path
404 or { "success": true }
Full [filepath]
404 or { "success": true }
Full [filepath]
404 or { "success": true }
Full [dir] file path
404 or { "success": true }
Full [source] file path
Full [target] file path
404 or { "success": true }
Full [source] dir path
Full [target] dir path
404 or { "success": true }
Removes an empty directory
Full [dir]
404 or { "success": true }
Subcommand
Restarts the device
Goes into hibernation
404 or { "success": true }
Subcommand
Sends uid information
{"active":true,"uid":"13:37:13:37:13:37:13:37","uidRaw":[55,19,55,19,55,19,55,19]}
Command, type "help" for more details.
Raw command line result. Example for help
# help
Help:
i2c [-read] [-write] -a/ddress <value> -r/egister <value> [-v/alue <value>] [-l/ength <1>] [-o/utput <b>]
Access I2C
beep [-m/idi-id <60>] [-l/ength <200>]
Beep with build-in DAC synthesizer
help
Show this screen
Standard POST file upload. Attention, only one upload at once supported or you may get corrupt files!
Specifies the target file path.
Enable to allow overwriting files
Skip bytes until [start]
Upload file to sd card.
Upload file to flash