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 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 チャネル 2、3、5 は DW1000 ボードでのみサポートされ、UWB チャネル 5、9 は DW3000 ボードでのみサポートされます)
rf_compliance: '0' | ‘1’ | ‘2’ (RF 準拠オプション、0 = FCC/ETSI、1 = ETSI + 10dB、2 = ARIB)
pcode: '9' | '10' | '11' | '12' (Tx/Rx プリアンブル コード、これはオプションです。ユーザーが入力しない場合は、以下に指定されているデフォルト値が使用されます。)
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
注釈
チャネル 2 とチャネル 3 は``0 = FCC/ETSI``のみをサポートします
ARIB はチャネル 9 でのみサポートされます。
例
TLV 要求 |
||
|---|---|---|
タイプ |
長さ |
値 |
バイト0:
byte 1: pcode |
||
0x8A |
0x02 |
0x29 0x0B |
タイプ 0x8A (138 dec) はコマンド leaps_uwb_rf_cpl_set を意味します
TLV回复 |
||
|---|---|---|
タイプ |
長さ |
値 |
0x40 |
0x01 |
0x00 |