Our website is under construction. Please stay tuned!

UWBMAC


nmg

Gets node mode info.

Example:

dwm> nmg
mode: tn (act,twr,np,nole)

nmo

Enables passive offline option and resets the node.

Example:

dwm> nmo
/* press enter twice to switch to shell mode after reset */
 PANS PRO Real Time Location System
 Copyright :  2016-2021 LEAPS and Decawave/Qorvo
 License   :  Please visit https://www.leapslabs.com/pans-pro-license
 Compiled  :  Apr 13 2021 14:50:42
 Help      :  ? or help

 dwm> nmg
 mode: tn (off,twr,np,nole)

nmp

Enables active offline option and resets the node.

Example:

dwm> nmp
/* press enter twice to switch to shell mode after reset*/
 PANS PRO Real Time Location System
 Copyright :  2016-2021 LEAPS and Decawave/Qorvo
 License   :  Please visit https://www.leapslabs.com/pans-pro-license
 Compiled  :  Apr 13 2021 14:50:42
 Help      :  ? or help
dwm> nmg
mode: tn (pasv,twr,np,nole)

nma

Configures node to as anchor, active and resets the node.

Example:

dwm> nma
/* press Enter twice */
 PANS PRO Real Time Location System
 Copyright :  2016-2021 LEAPS and Decawave/Qorvo
 License   :  Please visit https://www.leapslabs.com/pans-pro-license
 Compiled  :  Apr 13 2021 14:50:42
 Help      :  ? or help
dwm> nmg
mode: an (act,-,-)

nmi

Configures node to as anchor - initiator, active and resets the node.

Example:

dwm> nmi
/* press enter twice */
 PANS PRO Real Time Location System
 Copyright :  2016-2021 LEAPS and Decawave/Qorvo
 License   :  Please visit https://www.leapslabs.com/pans-pro-license
 Compiled  :  Apr 13 2021 14:50:42
 Help      :  ? or help
dwm> nmg
mode: ain (act,real,-)

nmt

Configures node to as tag, active and resets the node.

Example:

dwm> nmt
/* press enter twice */
 PANS PRO Real Time Location System
 Copyright :  2016-2021 LEAPS and Decawave/Qorvo
 License   :  Please visit https://www.leapslabs.com/pans-pro-license
 Compiled  :  Apr 13 2021 14:50:42
 Help      :  ? or help
dwm> nmg
mode: tn (act,twr,np,le)

nmtl

Configures node to as tag, active, low-power and resets the node.

Example:

dwm> nmtl
/* press enter twice */
 PANS PRO Real Time Location System
 Copyright :  2016-2021 LEAPS and Decawave/Qorvo
 License   :  Please visit https://www.leapslabs.com/pans-pro-license
 Compiled  :  Apr 13 2021 14:50:42
 Help      :  ? or help
dwm> nmg
mode: tn (act,twr,lp,le)

nmb

Sets mode to BN


la

Shows anchor list (the output can slightly differ based on node type).

Example:

la
[007582.110 INF] AN: cnt=5 seq=x15
[007582.110 INF]    0) id=DECAA6429C750997 seat=0 idl=1 seens=90 rssi=-79 fl=0001
[007582.120 INF]    1) id=DECA5AA932A3D482 seat=1 idl=1 seens=35 rssi=-79 fl=0001
[007582.120 INF]    2) id=DECAA19F7B23CAAB seat=2 idl=1 seens=21 rssi=-79 fl=0001
[007582.130 INF]    3) id=DECA97E24B94C5B7 seat=3 idl=0 seens=254 rssi=-79 fl=0001
[007582.140 INF]    4) id=DECA1DAB42E4C62F seat=4 idl=1 seens=47 rssi=-79 fl=0001

lb

Shows BN list

Example:

> lb
[007922.440 INF] BN: cnt=2 seq=x01
[007922.440 INF]     0) id=DECAAE5D14830CB2 seat=1 seens=0 rssi=-127
[007922.450 INF]     1) id=0000000000000D35 seat=2 seens=170 rssi=-82
[007922.450 INF]

lr

Lists routes [Available only when the firmware is compiled with UWB routing backhaul]

Example:

lr
[007019.790 INF] bh : cnt=9 sf=259 seq=xBB    bn    |   ul_loc   ul_iot |   dl_iot
[007019.800 INF]  0) x0997 : x0997 -> x0D35 : x0D35 |   544062   545237 |       39
[007019.810 INF]  1) xC5B7 : xC5B7 -> x0D35 : x0D35 |   536665   537756 |        2
[007019.810 INF]  2)   -   :
[007019.820 INF]  3)   -   :
[007019.820 INF]  4)   -   :
[007019.820 INF]  5)   -   :
[007019.820 INF]  6)   -   :
[007019.830 INF]  7)   -   :
[007019.830 INF]  8)   -   :
[007019.830 INF]

lrn

Lists next routes [Available only when the firmware is compiled with UWB routing backhaul]

Example:

dwm> lrn
[007021.610 INF] bhn: cnt=9 sf=278 seq=xBB    bn    |   ul_loc   ul_iot |   dl_iot
[007021.610 INF]  0) x0997 : x0997 -> x0D35 : x0D35 |        0        0 |        0
[007021.620 INF]  1) xC5B7 : xC5B7 -> x0D35 : x0D35 |        0        0 |        0
[007021.630 INF]  2)   -   :
[007021.630 INF]  3)   -   :
[007021.630 INF]  4)   -   :
[007021.640 INF]  5)   -   :
[007021.640 INF]  6)   -   :
[007021.640 INF]  7)   -   :
[007021.650 INF]  8)   -   :
[007021.650 INF]

nis

Set Network ID

Example:

dwm> nis 0xabcd
nis: ok

nls

Sets node label


stg

Displays Statistics

Statistic

Description

uptime

System time since restart in seconds

rtc_drift

Estimated RTC drift against the UWB network clock (used during production)

ble_con_ok

Each BLE connect event increments this counter

ble_dis_ok

Each BLE disconnect event increments this counter

ble_err

Number that identifies the last internal BLE error

api_err

Number that identifies the last internal API error

api_err_cnt

Counter of errors on API

api_dl_cnt

The number of received backhaul DownLink packets via API (BN only)

uwb0_intr

The number of interrupts from the DW1000

uwb0_rst

The number of attempts to reset the DW1000 to recover from error

uwb0_bpc: 1

The number of bandwidth/temperature compensation

rx_ok

The number of enabling the reception on time

rx_err

The number of failures to enable the reception on time

tx_err

The number of failures to enable the transmission on time

tx_errx

The number of errors related to the TX buffer

bcn_tx_ok

The number of transmitted beacons

bcn_tx_err

The number of failures during transmission of beacons

bcn_rx_ok

The number of received beacons

alma_tx_ok

The number of transmitted almanacs

alma_tx_err

The number of failures during transmission of almanacs

alma_rx_ok

The number of received almanacs

cl_rx_ok

The number of received cluster join

cl_tx_ok

The number of transmitted cluster join

cl_coll

The number of detected cluster collisions

fwup_tx_ok

The number of transmitted firmware update frames

fwup_tx_err

The number of failures to transmit firmware update frames

fwup_rx_ok

The number of received firmware update frames

svc_tx_ok

The number of transmitted service frames

svc_tx_err

The number of failures to transmit service frames

svc_rx_ok

The number of received service frames

clk_sync

The number of times the node has synchronized

bh_rt

The number of times the AN was routing during the routing table switch

bh_nort

The number of times the AN was not routing during the routing table switch

bh_ev

The number of events sent to the DWM Kernel Module

bh_buf_lost[0]

The number of lost buffers ready for the Kernel Module

bh_buf_lost[1]

The number of lost buffers ready for the Kernel Module

bh_tx_err

The number of failures to transmit backhaul frames

bh_dl_err

The number of failures during processing of downlink backhaul frames

bh_dl_ok

The number of received downlink backhaul frames

bh_ul_err

The number of failures during processing of uplink backhaul frames

bh_ul_ok

The number of received uplink backhaul frames

fw_dl_tx_err

The number of failures during sending downlink data to the edge nodes

fw_dl_iot_ok

The number of sent downlink data to the edge nodes

fw_ul_loc_ok

The number of received uplink location data from the edge nodes

fw_ul_iot_ok

The number of received uplink IoT data from the edge nodes

ul_tx_err

The number of failures during sending uplink data from the edge node

dl_iot_ok

The number of sent downlink data to the edge node

ul_loc_ok

The number of received uplink location data from the edge node

ul_iot_ok

The number of received uplink IoT data from the edge nodes

enc_err

The number of encryption errors

reinit

The number of node reinitialization

twr_ok

The number of succeeded TWR cycle

twr_err

The number of failed TWR cycle

res[0] x00000000

Reserved

res[1] x00000000

Reserved

res[2] x00000000

Reserved

res[3] x00000000

Reserved

res[4] x00000000

Reserved

res[5] x00000000

Reserved

Example:

dwm> stg
uptime: 6146
rtc_drift: 0.000000
ble_con_ok: 0
ble_dis_ok: 0
ble_err: 0
api_err: 0
api_err_cnt: 0
api_dl_cnt: 0
uwb0_intr: 3927517
uwb0_rst: 0
uwb0_bpc: 0
rx_ok: 3863996
rx_err: 4
tx_err: 0
tx_errx: 0
bcn_tx_ok: 61332
bcn_tx_err: 0
bcn_rx_ok: 61320
alma_tx_ok: 1095
alma_tx_err: 0
alma_rx_ok: 0
cl_rx_ok: 0
cl_tx_ok: 1
cl_coll: 0
fwup_tx_ok: 0
fwup_tx_err: 0
fwup_rx_ok: 0
svc_tx_ok: 0
svc_tx_err: 0
svc_rx_ok: 0
clk_sync: 0
bh_rt: 0
bh_nort: 0
bh_ev: 0
bh_buf_lost[0]: 0
bh_buf_lost[1]: 0
bh_tx_err: 0
bh_dl_err: 0
bh_dl_ok: 0
bh_ul_err: 0
bh_ul_ok: 0
fw_dl_tx_err: 0
fw_dl_iot_ok: 0
fw_ul_loc_ok: 0
fw_ul_iot_ok: 0
ul_tx_err: 0
dl_iot_ok: 0
ul_loc_ok: 0
ul_iot_ok: 1096
enc_err: 0
reinit: 1
twr_ok: 0
twr_err: 0
res[0]: 0 x00000000
res[1]: 0 x00000000
res[2]: 0 x00000000
res[3]: 0 x00000000
res[4]: 0 x00000000
res[5]: 0 x00000000
tot_err: 4

stc

Clears statistics.

Example:

dwm> stc

udi

Toggles displaying of IoT data received via backhaul.

Example:

dwm> udi
dl: show on
dl: len=8: 01 23 45 67 89 AB CD EF

uui

Sends IoT data via backhaul.

Example:

dwm> uui
usage: uui <hex_string> [cnt]
dwm> uui 11223344 100
ul: len=4 cnt=100 rv=4:  11 22 33 44