Our website is under construction. Please stay tuned!

leaps_uwb_cfg_get

Gets UWB configuration parameters.


Input
  • (none)

Output
  • Status Code

  • preamble_code: ‘9’ | ‘10’ | ‘11’ | ‘12’ (UWB preamble code)

  • pg_delay: ? 1 byte ? (Transmitter Calibrat Pulse Generator Delay value)

  • channel: ‘2’ | ‘3’ | ‘5’ | ‘9’ (UWB channel)

  • lna_enable: ‘0’ | ‘1’

  • pa_enable: ‘0’ | ‘1’

  • rf1_enable: ‘0’ | ‘1’

  • rf2_enable: ‘0’ | ‘1’

  • tx_power: ? 4 bytes ? (Units of transmission power control)

  • rf_compliance: ‘0’ | ‘1’ | ‘2’ (RF compliance option, 0: FCC/ETSI, 1: ETSI + 10dB, 2: ARIB, 3: Custom)

  • pg_delay_comp: ? 1 byte ? (Transmitter Calibrati Pulse Generator Delay value, Compensated)

  • tx_power_comp: ? 4 bytes ? (Units of transmission power control, Compensated)


Example

TLV Request

Type

Length

0x18

0x00

Type 0x18 (24 dec) means command leaps_uwb_cfg_get

TLV response

Type

Length

Value

Type

Length

Value

(1st byte) preamble_code
(2nd byte) pg_delay
(3rd byte) reserved
(4th byte, bit 0) lna_enable
(4th byte, bit 1) pa_enable
(4th byte, bit 2) rf1_enable
(4th byte, bit 3) rf2_enable
(4th byte, bits 4-8) reserved
(5t h-8th byte) tx_power
(9th byte) rf_compliance
(10th byte) pg_dela_comp
(11th -12th byte) reserved
(13th -16th byte) tx_power_comp

0x40

0x01

0x00

0x4F

0x10

0x09 0x34 0x05 0x03 0xfd 0xfd 0xfd 0xfd 0x00 0x34 0x00 0x00 0xfd 0xfd 0xfd 0xfd

Type 0x4F means UWB configuration