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

How to get own private address with softdevice v3.0.0

With softdevice version 2.0.0, the sd_ble_gap_address_set is used to set the address to one of the four address types, and sd_ble_gap_address_get is used to get our own current BT address. This would work even when the address type is random resolvable and random non-resolvable

However, with softdevice version 3.0.0, sd_ble_gap_privacy_set is used to set the address if it is resolvable or non-resolvable, while sd_ble_gap_addr_set and sd_ble_gap_addr_get are used to set/get address when it is public or random static. My question is: Is there a way to get our current address if it is random resolvable or random non-resolvable?

Related