60#define NORDIC_SEMI_VENDOR_OUI 0xF4CE36
65 uint8_t device_address[8];
66 uint32_t device_address_low;
73 device_address[0] = (NORDIC_SEMI_VENDOR_OUI) >> 16 & 0xFF;
74 device_address[1] = (NORDIC_SEMI_VENDOR_OUI) >> 8 & 0xFF;
75 device_address[2] = NORDIC_SEMI_VENDOR_OUI & 0xFF;
77 device_address[3] = nrf_ficr_deviceid_get(NRF_FICR, 1) & 0xFF;
78 device_address_low = nrf_ficr_deviceid_get(NRF_FICR, 0);
79#elif defined(NRF_FICR_S)
83 device_address[3] = 0;
84 device_address_low = 0;
87 memcpy(&device_address[4], &device_address_low,
sizeof(device_address_low));
void populate_link_address(void)
Populates the link address using factory information.
linkaddr_t linkaddr_node_addr
The link-layer address of the node.
Header file for the link-layer address representation.
Link address implementation for the nRF.