Please note that the Chinese and Japanese versions are currently being updated and are not yet complete. Stay tuned for the final versions!

dwm_panid_set

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

void dwm_panid_set(uint16_t)
Parameters
  • input – 16-bit unsigned integer (the UWB panid)

  • outputStatus 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 Status code of the previous command