Our website is under construction. Please stay tuned!

dwm_uwb_preamble_code_get internal

Reads the UWB preamble code.

void dwm_uwb_preamble_code_get(uint8_t *preamble_code)
Parameters
  • input – (none)

  • output – err_code, preamble_code

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

C code example

uint8_t preamble_code;
dwm_uwb_preamble_code_get(&preamble_code);

SPI/UART example

TLV request

type

length

0x1F

0x00

Type 0x1F means command dwm_uwb_preamble_code_get

TLV response

type

Length

Value (see error codes)

type

Length

value

0x40

0x01

0x00

0X5B

0x01

preamble code: 9, 10,11,12

0x0A

Type 0x5B means UWB preamble code