Our website is under construction. Please stay tuned!

dwm_usr_data_read

Reads user data from the node. The new data causes the setting of a dedicated flag in the status and also causes the generation of an event in user applications (see ).

void dwm_usr_data_read(uint8_t*, uint8_t*)
Parameters
  • input – (none)

  • output – err_code, data, len

  • data – ? 1-34 bytes ? (the user data)

  • len – ? 1 byte ? (length of the data)

C code example

uint8_t data[DWM_USR_DATA_LEN_MAX];
uint8_t len;
len = DWM_USR_DATA_LEN_MAX;
dwm_usr_data_read(data, &len);

SPI/UART example

TLV request

type

length

0x19

0x00

Type 0x19 means command dwm_usr_data_read

TLV response

type

length

Value (see error codes)

type

length

value

0x40

0x01

0x00

0x4B

0x22

max 34 bytes

0x01 0x02 0x03 … 0x23 0x22

Type 0x4B means user data