Our website is under construction. Please stay tuned!

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:

leaps> si

[001762.590 INF] sys: fw2 fw_ver=x01020001 cfg_ver=x00010700

[001762.590 INF] uwb0: panid=x1234 addr=xDECADF01465011E4

[001762.590 INF] mode: ani (act,real)

[001762.600 INF] uwbmac: connected

[001762.600 INF] uwbmac: bh connected

[001762.610 INF] cfg: sync=1 fwup=0 ble=1 leds=1 init=1 uab=1 bh=0
upd_rate_stat=64 label=DW11E4

[001762.620 INF] enc: off

[001762.630 INF] ble: addr=CB:65:C2:DD:D3:D4

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)