Skip to content

IOT Node - LoRaWAN - Console Commands

The serial console interactive menu system of the IoT Node - LoRaWAN an intuitive, dynamic and flexible methodology to interact with the system configuration.While extremely capable, when performing common admin or debugging tasks the menu system is an impediment to the desired operation. A fast, interactive solution is needed.

To provide rapid access to common administration and debugging commands, the IoT Node - LoRaWAN firmware provides a set of commands that are entered directly into the console. Starting with a "!" (bang), these commands are referred to as Console Commands or Bang Commands.

Available Commands

The following commands are available:

Command Description
!reset-device-forced Resets the device (clears settings and restarts the device) without a prompt
!reset-device Resets the device (clears settings and restarts the device) with a [Yes/No] prompt
!clear-settings Clears the on-device saved settings with a [Yes/No] prompt
!clear-settings-forced Clears the on-device saved settings without a prompt
!restart Restarts the device with a [Yes/No] prompt
!restart-forced Restarts the device without a prompt
!log-rate Outputs the current log-rate of the device (milliseconds between logging transactions)
!log-rate-toggle Toggle the on/off state of the log rate data recording by the system. This value is not persisted to on-board settings unless the settings are saved.
!devices Lists the currently connected devices
!save-settings Saves the current system settings to the preference system
!verbose Toggles Verbose output/message mode. This value is not persistent
!heap Outputs the current statistics of the system heap memory
!log-now Trigger a data logging event
!lora-status Display the status and settings of the LoRaWAN
!about Outputs the full About page of the Node Board
!version Outputs the firmware version
!help Outputs the available ! commands

Command Usage

To use a Bang Command, connect to the target IoT Node - LoRaWAN device via a serial console. and enter the command, starting with a ! symbol Entering any other character will launch the standard DataLogger IoT menu system. When the ! symbol is pressed, a prompt > should appear.

Note: Since most Bang Commands are not interactive, they also enable commanding by another device, such as a computer attached to the IoT Node board.