-
Notifications
You must be signed in to change notification settings - Fork 10
Command tool Basic usage
Matthieu Antoine edited this page Oct 15, 2020
·
2 revisions
- The commands are case-insensitive, so
getversionis the same asGetVersion. - You can create alias to simply commands, such as
alias 'toto= WifiPassiveScan B 0x421 beacon 20 10 110 complete'. - You can find commands using command
find, such as:
>> find eui
- GetChipEUI: Get the modem Chip EUI
- GetJoinEUI: Get the modem Join EUI
- SetJoinEUI: Set the modem Join EUI
- GetDeviceEUI: Get the modem Device EUI
- SetDeviceEUI: Set the modem Device EUI- To list all available commands:
>> help
- ...
- ...Below shortcuts are available:
Ctrl + a Go to the beginning of the line (Home)
Ctrl + e Go to the End of the line (End)
Ctrl + p Previous command (Up arrow)
Ctrl + n Next command (Down arrow)
Ctrl + w Delete word before cursorThe terminal has command alias feature that allows to register alias for commands and arguments. Note that the aliases are stored in volatile memory. Therefore resetting the Nucleo board erase the aliases defined.
At boot the alias help is available for list_programs command.
>> alias
...>> alias 'myalias=mycmd myarg1 myarg2'>> unalias myalias