Our website is under construction. Please stay tuned!

dwm_label_read

Reads the node label.

void dwm_label_read(uint8_t, uint8_t)
Parameters
  • input – (none)

  • output – err_code, data, len

  • data – ? 0-16 bytes ? (the label)

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

C code example

uint8_t label[DWM_LABEL_LEN_MAX];
uint8_t len;
len: DWM_LABEL_LEN_MAX;
dwm_label_read(label, &len);

SPI/UART example

TLV request

type

length

0x1C

0x00

Type 0x1C means command dwm_label_read

TLV response

type

length

value (see error codes)

type

length

value

0x40

0x01

0x00

0x4C

0x10

max 16 bytes

0x01 0x02 0x03 … 0x0F 0x10

Type 0x4C means label