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 – Status 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