Can not find the mac adress related information from the PS or RM doc. Need your help!
Can not find the mac adress related information from the PS or RM doc. Need your help!
How about using:
uint64_t deviceId = ((uint64_t)NRF_FICR->DEVICEID[1] << 32) | ((uint64_t)NRF_FICR->DEVICEID[0]);
Is it deprecated, or is it some other address? In my all applications I am using this method, and the address is different than address returned by sd_ble_gap_address_get()
How about using:
uint64_t deviceId = ((uint64_t)NRF_FICR->DEVICEID[1] << 32) | ((uint64_t)NRF_FICR->DEVICEID[0]);
Is it deprecated, or is it some other address? In my all applications I am using this method, and the address is different than address returned by sd_ble_gap_address_get()
Because sd_ble_gap_address_get() read from NRF_FICR->DEVICEADDR, if you change to
uint64_t deviceId = ((uint64_t)NRF_FICR->DEVICEADDR[1] << 32) | 0xC00000000000 | ((uint64_t)NRF_FICR->DEVICEADDR[0]);
You will get the same data as sd_ble_gap_address_get().