# Basic Commands

### In This Guide&#x20;

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

<table><thead><tr><th width="191.60003662109375">Commands</th><th>Description</th></tr></thead><tbody><tr><td><code>si</code></td><td>Display system information</td></tr><tr><td><code>nmg</code></td><td>Check current UWB mode</td></tr><tr><td><code>reset</code></td><td>Reboot the device</td></tr><tr><td><code>frst</code></td><td>Perform factory reset</td></tr><tr><td><code>la</code></td><td>View list of connected anchors</td></tr><tr><td><code>nis</code></td><td>Set Pan ID</td></tr></tbody></table>

***

### `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:

```javascript
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:

```javascript
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:

```javascript
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:

```javascript
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:

```javascript
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:

```javascript
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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://freegrow-1.gitbook.io/product-docs-en/en-creator-kit-q1/learn-more/basic-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
