UWB Q1

UWB Device Basic Commands: List and Usage

A list of the basic commands used at the dwm> prompt of GrowSpace UWB devices (si, nmg, reset, frst, la, nis), with what they do and example output.

About this article

This article lists the basic commands available on GrowSpace RTLS devices, with how each command works and example output.
It covers commands often used during operation, such as checking device status, changing settings and resetting. Enter each command at the dwm> prompt.


UWB serial command list

CommandDescription
siPrint system information
nmgCheck the current UWB mode
resetReboot the device
frstFactory reset
laList linked anchors
nisSet the Pan ID

si – print system information

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

The panid, mode and label values are often used 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)

reset – reboot the device

Restarts the device.
Settings are kept, and you can enter commands again right after the reboot.

Example output:

dwm> reset

(restart message)
...
dwm>

frst – factory reset

Resets the device to its factory state.
Most settings, including network information, are reset. The following items are kept:

Example output:

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

⚠️ The label and mode values do not change after a reset.


la – list linked anchors

Prints the list of anchors currently communicating with the device.
You can also check each anchor's UWB ID, position coordinates and communication 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 is in the id=... part, and the position coordinates are in the pos=... field.


nis – set the Pan ID

Changes the device's Pan ID.
All devices must use the same Pan ID to communicate correctly.

Example usage:

dwm> nis x0002

⚠️ Always enter the Pan ID as a 4-digit hexadecimal value (e.g. x0001).
After changing it, check with the si command that it has been applied.