[nRF Connect SDK] Program custom bt mac with nrfjprog or other tool.

Target nRF52832(nrf52dk_nrf52832)
SDK NCS v2.0.0

Hello.

We are preparing new project with nrf52832. It works as beacon (not connectable)
I want nrf52832 have own BT mac address as well as UUID for advertising.
Can I program such information with nrfjprog or something?
If it is possible, please let me have any example.

Thanks in advance.

Parents
  • Hi,

    It depends on the application that is running on your nRF52. In many cases you would have to actually configure the application, but let's say that your application is reading one of the UICR registers at startup and setting the BLE MAC address equal to whatever that is set there, then yes you can write to the UICR register with nrfjprog and then make the BLE device advertise with this address. 

    regards

    Jared 

Reply
  • Hi,

    It depends on the application that is running on your nRF52. In many cases you would have to actually configure the application, but let's say that your application is reading one of the UICR registers at startup and setting the BLE MAC address equal to whatever that is set there, then yes you can write to the UICR register with nrfjprog and then make the BLE device advertise with this address. 

    regards

    Jared 

Children
Related