Our website is under construction. Please stay tuned!

dwm_panid_set

Sets the UWB network identifier for the node. The ID is stored in non-volatile memory.

void dwm_panid_set(uint16_t)
Parameters
  • input – ? 2-byte unsigned integer ? (the UWB panid)

  • output – err_code

C code example

dwm_panid_set(0xABCD);

SPI/UART example

TLV request

type

length

value

0x2E

0x02

pan ID in little endian

0xCD 0xAB

Type 0x2E means command dwm_panid_set

TLV response

type

length

value (see error codes)

0x40

0x01

0x00

Type 0x40 means err_code of the previous command