Hi,
could you please advise us on how to set a static MAC address for the nRF52 series? We haven't been able to find it in the documentation. And it seems that default is that it changes randomly after each startup.
Thanks,
Lukas
Hi,
could you please advise us on how to set a static MAC address for the nRF52 series? We haven't been able to find it in the documentation. And it seems that default is that it changes randomly after each startup.
Thanks,
Lukas
Have you tried to just create a const bt_addr_le_t address and pass that to bt_set_id_addr() before calling bt_enable()?
Well, we have been able to get it working by commenting out some code in Zephyr. However, as you might feel this is not the best way.
Have you tried to just create a const bt_addr_le_t address and pass that to bt_set_id_addr() before calling bt_enable()?
This is related to our previous question. Seems like it should work this way. But do we really need to create our own address? Wouldn't it make sense to use and store the generated one? Should be more robust.
Hi,
Typically you can use the DEVICEADDR[0..1] in FICR for this:
https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ficr.html?cp=4_2_0_12_0_13#register.DEVICEADDR-0
It is not possible to change this address, however it is randomly generated in our production with the sole intent to be used for random static address in BLE.
Best regards,
Kenneth