dwm_uwb_preamble_code_set internal
Sets the UWB preamble code. This call requires a reset for a new configuration to take effect (dwm_reset).
-
void dwm_uwb_preamble_code_set(uint16_t)
- Parameters
input – ‘9’ | ‘10’ | ‘11’ | ‘12’ (UWB preamble code)
output – err_code
C code example
dwm_uwb_preamble_code_set(DWM_UWB_PREAMBLE_CODE_9);
SPI/UART example
TLV request |
||
---|---|---|
type |
length |
value |
0x1E |
0x01 |
0x09 |
Type 0x1E means command dwm_uwb_preamble_code_set
TLV response |
||
---|---|---|
type |
length |
value (see error codes) |
0x40 |
0x01 |
0x00 |