leaps_int_cfg_get
Read configuration flags that, if set, enable the setting of a dedicated GPIO pin (CORE_INT) in case of an event. This call is available only on UART/SPI interfaces.
(none)
spi_data_ready: ‘0’ | ‘1’ (new SPI data ready event , 0=disable, 1=enable)
loc_ready: ‘0’ | ‘1’ (new location data ready event, 0=disable, 1=enable)
bh_status_changed: ‘0’ | ‘1’ (UWBMAC status changed, 0=disable, 1=enable)
bh_data_ready: ‘0’ | ‘1’ (UWBMAC backhaul data ready, 0=disable, 1=enable)
bh_initialized_changed: ‘0’ | ‘1’ (UWBMAC route configured, 0=disable, 1=enable)
uwb_scan_ready: ‘0’ | ‘1’ (UWB scan result is available)
uwb_usr_data_ready: ‘0’ | ‘1’ (event when new user data is received over UWBMAC, 0=disable, 1=enable)
uwbmac_joined_changed: ‘0’ | ‘1’ (UWBMAC joined event, 0=disable, 1=enable)
uwb_usr_data_sent: ‘0’ | ‘1’ (user data transmission completed over UWBMAC, 0=disable, 1=enable)
proxy_pos_ready: ‘0’ | ‘1’ (event when proxy positions are ready, 0=disable, 1=enable)
ble_usr_data_ready: ‘0’ | ‘1’ (event when user data isreceived on BLE, 0=disable, 1=enable)
ble_usr_data_sent: ‘0’ | ‘1’ (event when user data over BLE are sent, 0=disable, 1=enable)
ble_conn_state_changed: ‘0’ | ‘1’ (event when BLE connection state change, 0=disable, 1=enable)
distance_alarm_th_1: ‘0’ | ‘1’ (event when distance alarm occur for threshold 1, 0=disable, 1=enable)
distance_alarm_th_2: ‘0’ | ‘1’ (event when distance alarm occur for threshold 2, 0=disable, 1=enable)
Example
TLV Request |
|
---|---|
Type |
Length |
0x35 |
0x00 |
Type 0x35 means command leaps_int_cfg_get
TLV response |
|||||
---|---|---|---|---|---|
Type |
Length |
Value |
Type |
Length |
Value |
(bit 15) res erved
(bit 14) distance_alarm_th_2
(bit 13) distance_alarm_th_1
(bit 12) ble_conn_state_changed
(bit 11) ble_usr_data_sent
(bit 10) ble_usr_data_ready
(bit 9) proxy_pos_ready
(bit 8) uwb_usr_data_sent
(bit 7) uwbmac_joined_changed
(bit 6) uwb_usr_data_ready
(bit 5) uwb_scan_ready
(bit 4) bh_initialized_changed
(bit 3) bh_data_ready
(bit 2) bh _status_changed
(bit 1) spi_data_ready
(bit 0) loc_ready
|
|||||
0x40 |
0x01 |
0x00 |
0x47 |
0x02 |
0x0E 0x00 |
Type 0x47 means interrupt configuration