leaps_cfg_get

Get current configuration options of the node.


Input
  • (none)

Output
  • initiator: ? 1-bit ? (‘0’ | ‘1’ - Initiator role enable)

  • bridge: ? 1-bit ? (‘0’ | ‘1’ - Bridge role enable)

  • enc_en: ? 1-bit ? (‘0’ | ‘1’ - encryption enable)

  • led_en: ? 1-bit ? (‘0’ | ‘1’ - general purpose LEDs enable)

  • ble_en: ? 1-bit ? (‘0’ | ‘1’ - BLE enable)

  • uwb_mode: ? 2-bits ? (0-off, 1-passive, 2-active)

  • fw_update_en: ? 1-bit ? (‘0’ | ‘1’- Firmware update enable)

  • stnry_en: ? 1-bit ? (‘0’ | ‘1’ Stationary detection enabled, if enabled, the stationary update rate is used instead of normal update rate if node is not moving)

  • meas_mode: ? 2-bits ? (‘0’ | ‘1’ | ‘2’ | ‘3’ , 0 - Two way ranging, 1 - UL-TDoA, 2 - DL-TDoA, 3 - reserved)

  • low_power_en: ? 1-bit ? (‘0’ | ‘1’ Low-power mode enable)

  • loc_engine_en: ? 1-bit ? (‘0’ | ‘1’ 0 means do not use internal Location Engine, 1 means internal Location Engine)

  • profile_id: ? 3-bits ? (ID of the profile)

  • clock_reference: ? 1-bit ? (enables clock reference on the node)

  • uwb_act_ble: ? 1-bit ? (uwb activation over ble status on the node)


Note

uwb_bh_routing: Available only when the firmware is compiled with UWB routing backhaul:

Value : ‘0’ | ‘1’ | ‘2’:

  • 0- OFF - anchor will not become a routing anchor

  • 1- ON - anchor will be preferred by the routing algorithm to be chosen as a routing anchor

  • 2- AUTO - Whether anchor becomes routing or not depends entirely on the routing algorithm


Example

TLV Request

Type

Length

0x08

0x00

Type 0x08 means command leaps_cfg_get

TLV response

Type

Length

Value

Type

Length

Value

(bit 7) low_power_en
(bit 6) loc_engine_en
(bit 5) enc_en
(bit 4) led_en
(bit 3) ble_en
(bit 2) fw_update_en
(bits 0-1) uwb_mode:
0 - OFFLINE,
1 - PASSIVE,
2 - ACTIVE
(bits 6-7) uwb_bh_routing:
0 - OFF,
1 - ON,
2 - AUTO
(bit 5) mode:
0 - tag
1 - anchor
(bit 4) initiator
(bit 3) bridge
(bit 2) stnry_en
(bits 0-1) meas_mode:
0 - TWR,
1 - UL-TDoA
2 - DL-TDoA
3 reserved
(bits 0-2) profile id
(bit 3) clock reference
(bit 4) uwb_act_ble

0x40

0x01

0x00

0x46

0x03

0x1C

0x20

0x02

Type 0x40 means status code

Type 0x46 means node configuration