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

Hello Everyboby, I want to know how to configure can use Public address for advertising when using nRF connect APP? Now, I just can use Random address for advertising, please see the screenshot from my Andriod phone. Thanks.

Hello Everyboby,

I want to know how to configure can use Public address for advertising when using nRF connect APP? Now, I just can use Random address for advertising, please see the screenshot from my Andriod phone.

Thanks.

Parents
  • Hi Bart, 

    You would need to change your device BLE address. To do that, you need to call sd_ble_gap_addr_set() before you advertise. Using the function you can set your address to a public address, check ble_gap_addr_t structure. 

    Note that you would need to follow the format of BD_ADDR to use as a public address. Please refer to Section 1.2.1 in Bluetooth Core Spec v5.0. You would need to own a company ID registered here

Reply
  • Hi Bart, 

    You would need to change your device BLE address. To do that, you need to call sd_ble_gap_addr_set() before you advertise. Using the function you can set your address to a public address, check ble_gap_addr_t structure. 

    Note that you would need to follow the format of BD_ADDR to use as a public address. Please refer to Section 1.2.1 in Bluetooth Core Spec v5.0. You would need to own a company ID registered here

Children
No Data
Related