SYS


reset

Reboot the system.

Example:

leaps> reset

/\* node resets and boots in binary mode \*/

frst

Factory reset.

Example:

leaps> frst

si

System info

Example 1:

TN device with UWB profile 0, 1, 2, 3, or 5:

leaps> si
[044308.333 INF] sys: main main_ver=x02060001 cfg_ver=x01040000
[044308.338 INF] uwb: panid=x1234(sys_cfg=x1235) panid_mask=xFF00 addr=xDECA51BFD455DC01
[044308.357 INF] mode: tn (act,twr,np,le)
[044308.357 INF] uwbmac: connected
[044308.358 INF] uwbmac: bh connected
[045074.636 INF] cfg: sync=1 fwup=1 ble=1 leds=1 le=1 lp=0 uab=1 stat_det=1 (sens=2)
mode=0 upd_rate_norm=1 upd_rate_stat=1 label=IDDC01

[044308.378 INF] enc: off
[044308.378 INF] ble: addr=CF:B8:04:78:6D:B6

Note

panid=x1234 : the TN’s current PANID.
sys_cfg=1235: the TN’s system configuration PANID.

Example 2:

For other cases, such as non-TN devices or TN with UWB profiles 4 or 7:

leaps> si
[044087.398 INF] sys: main main_ver=x02060001 cfg_ver=x01040000
[044087.403 INF] uwb: panid=x1234 panid_mask=xFF00 addr=xDECA277C96905105
[044087.422 INF] mode: ani (act,real)
[044087.422 INF] uwbmac: connected
[044087.423 INF] uwbmac: bh connected
[044087.423 INF] cfg: sync=1 fwup=1 ble=1 leds=1 init=1 uab=1 bh=auto
bh_stat=off cr=0 upd_rate_stat=30 label=ID5105

[044087.442 INF] enc: off
[044087.443 INF] ble: addr=EA:E3:24:93:DD:50

f

Show free memory on the heap.

Example:

leaps> f

[000014.560 INF] mem: free=3888 alloc=9184 tot=13072

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 events increments this counter

ble_dis_ok

Each BLE disconnect events increments this counter

ble_err

Number that identifies last internal BLE error

api_err

Number that identifies last internal API error

api_err_cnt

Counter of errors on API

api_dl_cnt

Number of received backhaul DownLink packets via API (BN only)

uwb0_intr

Number of interrupts from the DW1000

uwb0_rst

Number of attempts to reset the DW1000 to recover from error

uwb0_bpc: 1

Number of bandwidth/temperature compensation

rx_ok

Number of enabling the reception on time

rx_err

Number of failures to enable the reception on time

tx_err

Number of failures to enable the transmission on time

tx_errx

Number of errors related with the TX buffer

bcn_tx_ok

Number of transmitted beacons

bcn_tx_err

Number of failures during transmission of beacons

bcn_rx_ok

Number of received beacons

alma_tx_ok

Number of transmitted almanacs

alma_tx_err

Number of failures during transmission of almanacs

alma_rx_ok

Number of received almanacs

cl_rx_ok

Number of received cluster join

cl_tx_ok

Number of transmitted cluster join

cl_coll

Number of detected cluster collisions

fwup_tx_ok

Number of transmitted firmware update frames

fwup_tx_err

Number of failures to transmit firmware update frames

fwup_rx_ok

Number of received firmware update frames

svc_tx_ok

Number of transmitted service frames

svc_tx_err

Number of failures to transmit service frames

svc_rx_ok

Number of received service frames

clk_sync

Number of times the node has synchronized

bh_rt

Number of times the AN was routing during routing table switch

bh_nort

Number of times the AN was not routing during routing table switch

bh_ev

Number of events sent to the DWM Kernel Module

bh_buf_lost[0]

Number of lost buffers ready for the Kernel Module

bh_buf_lost[1]

Number of lost buffers ready for the Kernel Module

bh_tx_err

Number of failures to transmit backhaul frames

bh_dl_err

Number of failures during processing of downlink backhaul frames

bh_dl_ok

Number of received downlink backhaul frames

bh_ul_err

Number of failures during processing of uplink backhaul frames

bh_ul_ok

Number of received uplink backhaul frames

fwdl_tx_err

Number of failures during sending downlink data to the edge nodes

fwdl_iot_ok

Number of sent downlink data to the edge nodes

fwul_loc_ok

Number of received uplink location data from the edge nodes

fwul_iot_ok

Number of received uplink IoT data from the edge nodes

ul_tx_err

Number of failures during sending uplink data from the edge node

dl_iot_ok

Number of sent downlink data to the edge node

ul_loc_ok

Number of receive uplink location data from the edge node

ul_iot_ok

Number of received uplink IoT data from the edge nodes

enc_err

Number of encryption errors

reinit

Number of node reinitialization

twr_ok

Number of succeeded TWR cycle

twr_err

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:

leaps> 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:

leaps> stc
stc: ok

rbv

Read battery voltage

Example:

leaps> rbv
No battery

rcs

Read charger status

Example:

leaps> rcs
No battery

ut

Show device uptime.

Example:

leaps> ut

[000003.680 INF] uptime: 00:07:49.210 0 days (469210 ms)