Our website is under construction. Please stay tuned!

leaps_status_get

Get system status. Status flags that can be enabled to set the CORE_INT pin are cleared after the call. The setting of the CORE_INT pin can be configured by leaps_int_cfg_set.


Input
  • (none)

Output
  • Status Code

  • status: loc_ready, uwbmac_joined, bh_data_ready, bh_initialized, bh_status_changed, uwb_scan_ready, uwb_usr_data_ready, uwb_usr_data_sent, fwup_in_progress, proxy_pos_ready, ble_usr_data_ready, ble_usr_data_sent, ble_conn_state, distance_alarm_th_1,distance_alarm_th_2

  • loc_ready: ‘0’ | ‘1’ (new location data are ready)

  • uwbmac_joined: ‘0’ | ‘1’ (node is connected to UWB network)

  • bh_data_ready: ‘0’ | ‘1’ (UWB MAC backhaul data ready)

  • bh_status_changed: ‘0’ | ‘1’ (UWB MAC status has changed, used in backhaul)

  • bh_initialized: ‘0’ | ‘1’ (node has initialized route via UWB backhaul)

  • uwb_scan_ready: ‘0’ | ‘1’ (UWB scan results are ready)

  • uwb_usr_data_ready: ‘0’ | ‘1’ (User data over UWB received)

  • uwb_usr_data_sent: ‘0’ | ‘1’ (User data over UWB sent)

  • fwup_in_progress: ‘0’ | ‘1’ (Firmware update is in progress)

  • proxy_pos_ready: ‘0’ | ‘1’ (proxy positions are ready, NOT SUPPORTED IN USER APPLICATION)

  • ble_usr_data_ready: ‘0’ | ‘1’ (User data over BLE received, NOT SUPPORTED IN USER APPLICATION)

  • ble_usr_data_sent: ‘0’ | ‘1’ (User data over BLE sent, NOT SUPPORTED IN USER APPLICATION)

  • ble_conn_state: ‘0’ | ‘1’ (NOT SUPPORTED IN USER APPLICATION)

  • distance_alarm_th_1: ‘0’ | ‘1’ (distance alarm for threshold 1)

  • distance_alarm_th_2: ‘0’ | ‘1’ (distance alarm for threshold 2)


Example

TLV request

Type

Length

0x32

0x00

Type 0x32 means command leaps_status_get

TLV response

Type

Length

Value

Type

Length

Value

(bit 0) loc_ready
(bit 1) uwbmac_joined
(bit 2) bh_status_changed
(bit 3) bh_data_ready
(bit 4) bh_initialized
(bit 5) uwb_scan_ready
(bit 6) uwb_usr_data_ready
(bit 7) uwb_usr_data_sent
(bit 8) fwup_in_progress
(bit 9) proxy_pos_ready
(bit 10) ble_usr_data_ready
(bit 11) ble_usr_data_sent
(bit 12) ble_conn_state
(bit 13) distance_alarm_th_1
(bit 14) distance_alarm_th_2
(bit 15) reserved

0x40

0x01

0x00

0x5A

0x02

0x01

0x00

Type 0x5A means status

Type 0x40 means status code