leaps_stats_get

Get statistics.


Input
  • (none)

Output

Statistics (in order)

Type

Size (bytes)

Name

uint32_t

4

uptime

uint32_t

4

memfree

float

4

drift_avg_rtc

int16_t

2

mcu_temp

uint8_t

1

api_err_cnt

uint8_t

1

api_dl_cnt

uint16_t

2

ble_con_ok

uint16_t

2

ble_dis_ok

uint16_t

2

ble_err

uint16_t

2

clk_sync

uint32_t

4

uwb_intr

uint16_t

2

uwb_rst

uint16_t

2

uwb_bpc

uint32_t

4

rx_ok

uint32_t

4

rx_err

uint32_t

4

tx_err

uint16_t

2

tx_errx

uint16_t

2

reinit

uint32_t

4

alma_tx_ok

uint32_t

4

alma_rx_ok

uint16_t

2

alma_tx_err

uint16_t

2

bcn_tx_err

uint32_t

4

bcn_tx_ok

uint32_t

4

bcn_rx_ok

uint16_t

2

cl_tx_ok

uint16_t

2

cl_rx_ok

uint16_t

2

cl_coll

uint16_t

2

fwup_tx_ok

uint16_t

2

fwup_tx_err

uint16_t

2

fwup_rx_ok

uint16_t

2

svc_tx_err

uint16_t

2

svc_tx_ok

uint16_t

2

svc_rx_ok

uint16_t

2

bh_ev

uint32_t

4

bh_rt

uint32_t

4

bh_nort

uint16_t

2

bh_buf_lost[0]

uint16_t

2

bh_buf_lost[1]

uint32_t

4

bh_tx_err

uint32_t

4

bh_dl_err

uint32_t

4

bh_dl_ok

uint32_t

4

bh_ul_err

uint32_t

4

bh_ul_ok

uint32_t

4

fw_dl_tx_err

uint32_t

4

fw_dl_iot_ok

uint32_t

4

fw_ul_loc_ok

uint32_t

4

fw_ul_iot_ok

uint32_t

4

ul_tx_err

uint32_t

4

dl_iot_ok

uint32_t

4

ul_loc_ok

uint32_t

4

ul_iot_ok

uint32_t

4

enc_err

uint32_t

4

ani_ses_err

uint32_t

4

tdoa_ok

uint32_t

4

tdoa_err

uint32_t

4

twr_ok

uint32_t

4

twr_err

uint32_t

4

le_err

int32_t

4

res[0]

int32_t

4

res[1]

int32_t

4

res[2]

int32_t

4

res[3]

int32_t

4

res[4]

int32_t

4

res[5]

Example

TLV Request

Type

Length

0x96

0x00

Type 0x96 means command leaps_stats_get

TLV response

Type

Length

Value

Type

Length

Value

Statistics (204 byte)

0x40

0x01

0x00

0x80

0xCC

0xBE 0x0D 0x00 …. 0x00

Type 0x40 means status code Type 0x80 means statistics