Basic Commands

In This Guide

you'll find a list of basic commands available for GrowSpace RTLS devices, along with explanations of how each command works and sample outputs. The commands covered here are commonly used during operation—for checking device status, updating settings, and performing resets—and should be entered at the dwm> prompt.


Command List

Commands
Description

si

Display system information

nmg

Check current UWB mode

reset

Reboot the device

frst

Perform factory reset

la

View list of connected anchors

nis

Set Pan ID


si – Display system information

Displays the current system status of the device. You can view various details 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: tn (act,twr,np,le)
[000937.130 INF] cfg: ... label=GR1C52
[000937.140 INF] ble: addr=C2:62:1A:EF:42:9C

The values for panid, mode, and label are commonly referenced when checking device configuration.


nmg – Check current UWB mode

A simple command to check the role of the device.

Example Output:

dwm> nmg
mode: tn (act,twr,np,le)
  • tn: Tag mode

  • an (act,-): Anchor mode

  • an (pasv,-): Listener mode


reset – Reboot the device

Reboots the device. The configuration values are retained, and you can enter commands immediately after the reboot.

Example Output:

dwm> reset

DWM1001 TWR Real Time Location System
...
dwm>

frst – Perform factory reset

Restores the device to its factory default settings. Most settings, including network information, will be reset.

However, the following items will remain unchanged:

  • UWB ID (label)

  • Listener mode (mode)

Example Output:

dwm> frst
UWBLabelDismatching..Now Set Label Data
...
dwm> OK

⚠️ The label and mode values are not reset even after a factory reset.


la – View list of connected anchors

Displays a list of anchors currently communicating with the device. For each anchor, you can check the UWB ID, coordinates, and connection status.

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 can be found in the id=... field, and the position coordinates are shown in the pos=... field.


nis – Set Pan ID

Changes the device’s Pan ID. All devices must use the same Pan ID to communicate properly.

Example Use:

dwm> nis x0002

⚠️ The Pan ID must be entered as a 4-digit hexadecimal value (e.g., x0001). After changing it, use the si command to verify that the new value has been applied.

Last updated