Forums - BLE central Access Address

2 posts / 0 new
Last post
BLE central Access Address
sayu.sekhar
Join Date: 4 Jun 16
Posts: 3
Posted: Mon, 2016-08-08 03:02

Hi,

We are using the CSR101x eval board in central mode for some proof of concept demonstration. While testing, we observed that the BLE acces address for the CSR101x did not change. When we had two evl boards powered up, both of them had the same access address.

Please let me know if there;s a way to randomize the BLE address when the role is BLE central.

 

Regards,

Sayu Sekhar.

  • Up0
  • Down0
cbs
Profile picture
Join Date: 4 Mar 15
Location: IoT consultant, Cambridgeshire, UK
Posts: 21
Posted: Thu, 2016-08-11 03:50

There are two types of address: Public and Random.

  • * The Public address is set in the Configuration Store (you might have a .keyr file in your project? It will be there) and hard coded into the firmware image you build.
  • * The Random address may be changed by GapSetRandomAddress() or SMPrivacyRegenerateAddress()

 

For the purposes of your testing it probably won't matter that your Central and Peripheral have the same address. Problems will start if you introduce a third device.

When you go into production you will need to configure a unique Public address and some other items such as security keys into each device. There is a command-line tool to do this.

Best Regards,

Chris

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.