This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BD_ADDR changes and multiple BD_ADDR

I have a question about BD_ADDR.

SDK: 15.3.0
example: ble_app_multirole_lesc (I changed the source from the sample)
device: EYSHJNZWZ (nRF52832)

1) Is it possible to change BD_ADDR?
How can I change it if possible?
2) Is it possible to have multiple BD_ADDRs?
(For example, one at the central and one at the peripheral)
If possible, please tell me how.

Parents Reply
  • Hi,

    All nordic examples use the softdevice for BLE communication. So if you don't want to use the default BT address that is programmed in the chip, then the application (even bootloader) need to set a new address using sd_ble_gap_addr_set(). You can write custom BT address to the UICR, and then the application (even bootloader) can check if there is a cusom BT address in UICR, and if there is, then it can call sd_ble_gap_addr_set() to set the custom BT address.

    Kenneth

Children
No Data
Related