In This Article
This article introduces the basic commands available on GrowSpace RTLS devices, along with how each command works and example output.
It covers commands you’ll frequently use during operation — checking device status, changing settings, resetting, and more. Each command is entered at the dwm> prompt.
Command List
| Command | Description |
|---|---|
si | Print system information |
nmg | Check the current UWB mode |
reset | Reboot the device |
frst | Factory reset |
la | List connected anchors |
nis | Set the Pan ID |
si – Print System Information
Prints the current system status of the device.
You can check various information at once, including UWB settings, communication mode, device ID (Label), and BLE address.
Example Output:
dwm> si
[000937.110 INF] uwb0: panid=x0001 addr=xDECAE13A6BB01C52
[000937.120 INF] mode
[000937.140 INF] ble: addr=C2:62:1A:EF:42:9C
The
panid,mode, andlabelvalues are frequently referenced when checking device settings.
nmg – Check the Current UWB Mode
A simple command for checking the device’s role.
Example Output:
dwm> nmg
mode: tn (act,twr,np,le)
tn: Tag modean (act,-): Anchor modean (pasv,-): Listener mode
reset – Reboot the Device
Restarts the device.
Settings are retained, and you can enter commands immediately after rebooting.
Example Output:
dwm> reset
DWM1001 TWR Real Time Location System
...
dwm>
frst – Factory Reset
Resets the device to its factory shipping state.
Most settings, including network information, are reset, but the following items are retained:
- UWB ID (
label) - Device mode (
mode)
Example Output:
dwm> frst
UWBLabelDismatching..Now Set Label Data
...
dwm> OK
⚠️ Even after a factory reset, the
labelandmodevalues do not change.
la – List Connected Anchors
Prints the list of anchors currently communicating with the device.
You can check each anchor’s UWB ID, position coordinates, and communication status together.
Example Output:
dwm> la
[000139.430 INF] AN: cnt=3 seq=x03
[000139.430 INF] 0) id=0000000000001485 pos=-0.84:5.32:0.00
[000139.440 INF] 1) id=000000000000100C pos=7.58:2.02:0.00
[000139.450 INF] 2) id=0000000000001026 pos=7.58:5.28:0.00
The UWB ID appears in the
id=...field, and position coordinates can be found in thepos=...field.
nis – Set the Pan ID
Changes the device’s Pan ID.
All devices must use the same Pan ID for normal communication to work.
Usage Example:
dwm> nis x0002
⚠️ The Pan ID must be entered in 4-digit hexadecimal format (e.g., x0001).
After changing it, verify the change was applied using thesicommand.
