help
: Show a list of all possible commands with descriptionsclear
: Clear terminal screen using ANSI commands (only working when using an ANSI compatible terminal)echo
: Echo the parameter stringshistory
: Show the recent command historymultiline_mode
: Switch multiline mode on or off. When it is on, lines get break into a second line, if it gets too long.env
: List all environment variablesdeclare
: Change the value of an environment variable (syntax:declare VARIABLE Value
ordeclare VARIABLE "Long Value"
)
sysinfo
: Prints info about the chip model, revision, ESP-IDF version, EFuse MAC, flash and PSRAMrestart
: Restarts the systemmeminfo
: Show informations about used and free Heapdate
: Shows and set the current system time. Change time withdate -s "2022-07-13 22:47:00"
. Timezone can be set by changing theTZ
env variable (e.g.declare TZ CET-1
).
ipconfig
: Shows information about WiFi connectionping [HOST]
: Pings a hostname. You can change the number of pings done with-n
parameter. Use-n 0
for infinite pinging. You can stop the ping byStrg + C
orStrg + D
.
This functions allows you to navigate through and edit files in ESP-IDFs Virtual Filesystem. Things likes SPIFF, SDCards, some hardware and more are getting mounted into VFS with different prefixes. The following commands allow an unified access on it.
pwd
: Show the current working directory (the directory we are currently in)cd [PATH]
: Change the current directoryls [PATH]
: List the contents of the current or given directorycat [FILES...]
: Show the content of the given filesrm [FILE]
: Delete the given filermdir [DIR]
: Delete the given directormv [ORIGIN] [TARGET]
: Moves/Rename the file to new name/posiioncp [ORIGIN] [TARGET]
: Copies the contents of origin to target fileedit [FILE]
: Opens a file editor with a visual editor. UseStrg + S
to save,Strg + Q
to quit andStrg + F
to search in file.
The commands allow you to read and change the states of the ESPs GPIO pins. They are similar to the arduino included functions:
pinMode [PIN] [MODE]
: Change the pinMode of an GPIOdigitalRead [PIN]
: Reads the state of an digital GPIOdigitalWrite [PIN] [LEVEL]
: Changes the state of an digital GPIOanalogRead [PIN]
: Reads the voltage applied to an analog GPIO in millivolts