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

Central - use public address

Hi. I'm new to Nordic BLE devices. Using the nrf51-DK. I have a peripheral device (non-Nordic) which I want to connect to from a Nordic central (S130) using the public address. It seems that by default the address used by the central is the random one. Is this possible? How can I do this? Thanks.

Parents Reply
  • If you set the address type to BLE_GAP_ADDR_TYPE_RANDOM_STATIC, the address will be constant but not entirely unique, as it is randomly generated during production. However, with 2^46 combinations of addresses, the chance of getting two devices with the same address is practically zero. As long as you do not call sd_ble_gap_address_set() anywhere in your code, this is the default behaviour of the softdevice, so you should not have to change anything. The FICR registers cannot be changed, meaning your device will keep the same address for its whole lifetime.

Children
No Data
Related