69 uint8_t device_address[8];
70 uint32_t device_address_low;
77 device_address[0] = (NORDIC_SEMI_VENDOR_OUI) >> 16 & 0xFF;
78 device_address[1] = (NORDIC_SEMI_VENDOR_OUI) >> 8 & 0xFF;
79 device_address[2] = NORDIC_SEMI_VENDOR_OUI & 0xFF;
81 device_address[3] = nrf_ficr_deviceid_get(NRF_FICR, 1) & 0xFF;
82 device_address_low = nrf_ficr_deviceid_get(NRF_FICR, 0);
83#elif defined(NRF_FICR_S)
90#ifndef NRF_TRUSTZONE_NONSECURE
91 device_address[3] = nrf_ficr_deviceid_get(NRF_FICR_S, 1) & 0xFF;
92 device_address_low = nrf_ficr_deviceid_get(NRF_FICR_S, 0);
96 if(tz_radio_get_device_id(&id0, &id1)) {
97 device_address[3] = id1 & 0xFF;
98 device_address_low = id0;
100 device_address[3] = 0;
101 device_address_low = 0;
107 memcpy(&device_address[4], &device_address_low,
sizeof(device_address_low));