leaps_uwb_rf_cpl_set
Sets UWB RF compliance together with the UWB channel. If UWB configuration parameters like e.g. Tx power etc. are set using the leaps_uwb_cfg_set, the UWB RF compliance is automatically set to “custom”. Reset is needed for the configuration to take effect. The configuration is stored in the non volatile memory. Not all channels are supported for all boards. ARIB RF compliance is supported only for UWB channel 9.
uwb_channel: ‘2’ | ‘3’ | ‘5’ | ‘9’ (UWB channel 2,3,5 is supported only for DW1000 boards, UWB channel 5,9 is supported only for DW3000 boards)
rf_compliance: ‘0’ | ‘1’ | ‘2’ (RF compliance option, 0 = FCC/ETSI, 1 = ETSI + 10dB, 2 = ARIB, ARIB is supported only for channel 9)
pcode: ‘9’ | ‘10’ | ‘11’ | ‘12’ (Tx/Rx Preamble Code, this is optional. If the user does not provide an input, the default value specified below will be used.)
Channel 2: Tx/Rx Preamble Code = 11
Channel 3: Tx/Rx Preamble Code = 12
Channel 5: Tx/Rx Preamble Code = 9
Channel 9: Tx/Rx Preamble Code = 11
Example
TLV Request |
||
---|---|---|
Type |
Length |
Value |
(byte 0) uwb_channel
(byte 1) rf_compliance
|
||
0x8A |
0x02 |
0x09 0x02 |
Type 0x8A (138 dec) means command leaps_uwb_rf_cpl_set
Type |
Length |
Value |
---|---|---|
0x40 |
0x01 |
0x00 |