Get BT MAC addr in zephyr


Tommy Lin (林志聰) <Tommy.Lin@...>
 

Hi Zephyr,

We use Nordic 51824 with Zephyr 1.13 version.

By default, the Nordic BLE address is derived from the NRF_FICR->DEVICEADDR[] register.

We use “bluetoothctl show” and can get a random mac address.

1.I don’t know if the random mac address is from NRF_FICR->DEVICEADDR[] register ?

2.Every time , the mac address will be different value , if I delete /var/lib/Bluetooth/static-xx:xx:xx:xx:xx:xx folder and then reboot device.

 I expect the random mac address from NRF_FICR->DEVICEADDR[] register should be fixed , am I right ?

 

 

 

Thanks

Tommy

Join devel@lists.zephyrproject.org to automatically receive all group messages.