53 memcpy(dst, &ieee_addr_hc[8 - len], len);
67 for(i = 0; i < 8; i++) {
70 location = (uint8_t *)IEEE_ADDR_LOCATION_SECONDARY;
79 for(i = 0; i < len; i++) {
80 dst[i] = location[len - 1 - i];
85 dst[len - 1] = IEEE_ADDR_NODE_ID & 0xFF;
86 dst[len - 2] = IEEE_ADDR_NODE_ID >> 8;
Header file for the link-layer address representation
#define IEEE_ADDR_LOCATION_SECONDARY
Secondary IEEE address location.
void ieee_addr_cpy_to(uint8_t *dst, uint8_t len)
Copy the node's IEEE address to a destination memory area.
#define IEEE_ADDR_CONF_ADDRESS
The hardcoded IEEE address to be used when IEEE_ADDR_CONF_HARDCODED is defined as 1...
Header file with register and macro declarations for the cc26xx IEEE address driver.
#define IEEE_ADDR_LOCATION_PRIMARY
Primary IEEE address location.
#define IEEE_ADDR_CONF_HARDCODED
Location of the IEEE address 0 => Read from InfoPage, 1 => Use a hardcoded address, configured by IEEE_ADDR_CONF_ADDRESS.