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)

  • outputStatus 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