at firmware 2.2.0, when running unlock and then help, you get:
The following commands are available:
Telnet commands:
help Displays all available commands or individual help on each command
CPU Control:
serialread Print the device serial number
trace trace_. (trace 10)
stoptrace stoptrace
bootdisk reboot into recovery segment USB disk
datadisk reboot into data segment USB disk
factoryreset factory reset
formatdata format data disk
settime sets the RTC. format is ISO8601 plus weekday (1=mon) e.g.: 2018-03-20T19:58:29Z 2
gettime reads the RTC
vbat get battery voltage
rawvbat get raw battery adc value
batpct get battery percentage
temp get estimated ambient temperature
dcache dcache <on/off>: turn dcache on or off
icache icache <on/off>: turn icache on or off
Runtime control:
echo echo (on|off): turn console echo on or off
buttons Test buttons & crank
tunebuttons tunebuttons
btn btn : simulate a button press. +a/-a/a for down/up/both
changecrank changecrank +-
dockcrank simulates crank docking
enablecrank Reenables crank updates
disablecrank Disables crank updates
accel simulate accelerometer change
screen Dump framebuffer data (400x240 bits)
bitmap Send bitmap to screen (followed by 400x240 bits)
controller start or stop controller mode
eval execute a compiled Lua function
run run : Run the named program
luatrace Get a Lua stack trace
stats Display runtime stats
autolock autolock <always|onBattery>
version Display build target and SDK version
memstats memstats
hibernate hibernate
Stream:
stream stream <enable|disable|poke>
mute mute <on|off>
ESP functions:
espreset reset the ESP chip
espoff turn off the ESP
espbootlog get the ESP startup log
espfile espfile
: add the given file to the upload list. If is added then the file is assumed to be compressed.
espflash espflash [0|1] send the files listed with the espfile command to the ESP flash.
espbaud espbaud [cts]
esp esp : Forward a command to the ESP firmware, read until keypress
Firmware Update:
fwup fwup [bundle_path]
some commands are missing, such as sysdisk, to name one. these changes are most likely amplified in the new 3.0.2 version, so i will check that later
at firmware 2.2.0, when running unlock and then help, you get:
The following commands are available:
: add the given file to the upload list. If is added then the file is assumed to be compressed.Telnet commands:
help Displays all available commands or individual help on each command
CPU Control:
serialread Print the device serial number
trace trace_. (trace 10)
stoptrace stoptrace
bootdisk reboot into recovery segment USB disk
datadisk reboot into data segment USB disk
factoryreset factory reset
formatdata format data disk
settime sets the RTC. format is ISO8601 plus weekday (1=mon) e.g.: 2018-03-20T19:58:29Z 2
gettime reads the RTC
vbat get battery voltage
rawvbat get raw battery adc value
batpct get battery percentage
temp get estimated ambient temperature
dcache dcache <on/off>: turn dcache on or off
icache icache <on/off>: turn icache on or off
Runtime control:
echo echo (on|off): turn console echo on or off
buttons Test buttons & crank
tunebuttons tunebuttons
btn btn : simulate a button press. +a/-a/a for down/up/both
changecrank changecrank +-
dockcrank simulates crank docking
enablecrank Reenables crank updates
disablecrank Disables crank updates
accel simulate accelerometer change
screen Dump framebuffer data (400x240 bits)
bitmap Send bitmap to screen (followed by 400x240 bits)
controller start or stop controller mode
eval execute a compiled Lua function
run run : Run the named program
luatrace Get a Lua stack trace
stats Display runtime stats
autolock autolock <always|onBattery>
version Display build target and SDK version
memstats memstats
hibernate hibernate
Stream:
stream stream <enable|disable|poke>
mute mute <on|off>
ESP functions:
espreset reset the ESP chip
espoff turn off the ESP
espbootlog get the ESP startup log
espfile espfile
espflash espflash [0|1] send the files listed with the espfile command to the ESP flash.
espbaud espbaud [cts]
esp esp : Forward a command to the ESP firmware, read until keypress
Firmware Update:
fwup fwup [bundle_path]
some commands are missing, such as sysdisk, to name one. these changes are most likely amplified in the new 3.0.2 version, so i will check that later