dwm_label_read
Reads the node label.
-
void dwm_label_read(uint8_t, uint8_t)
- Parameters
input – (none)
output – Status 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