leaps_stats_get

获取统计数据。


输入
  • ()

输出

统计数据(按顺序)

类型

大小(字节)

名称

uint32_t

4

正常运行时间

uint32_t

4

memfree

浮动

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]

示例

TLV 请求

类型

长度

0x96

0x00

类型0x96表示命令leaps_stats_get

TLV 响应

类型

长度

价值

类型

长度

价值

统计数据(204字节)

0x40

0x01

0x00

0x80

0xCC

0xBE 0x0D 0x00 …. 0x00

类型0x40表示状态代码类型0x80表示统计信息