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

Unique access address BLE - uart ble example

Hi Folks, I am playing with uart ble example described in this link (devzone.nordicsemi.com/tutori...).

I would like to make BLE uses a unique AA (Access Address) rather than a random AA. Could you please advice me how to do it?

Thank you.

Parents
  • There is no way to set Access Address if you use Nordic BLE stack (Soft Device) I'm afraid. If this is even allowed by BT SIG spec you will need to use other stack or develop it on your own...

  • There should be no change in Access Address during existence of one link (so from CONNECT_REQ to LL_TERMINATE or timeout on LL). Or am I wrong and you see changes in AA? However for every next link it will again be randomly set by Master/Central (even if both devices - identified by MAC - are the same). But that's OK, Access Address is simple mechanism how to avoid confusion among many co-existent links in 37 data channels of the spectrum. So as long as each connection is identified by "unique" (probability of collision on 6-byte random number is astronomically small) AA it will work. Probably enlightening us about true problem you are trying to solve would help us and save lot of time to everybody (as usually when people describe symptoms and products of their assumptions instead of raw initial idea/problem).

Reply
  • There should be no change in Access Address during existence of one link (so from CONNECT_REQ to LL_TERMINATE or timeout on LL). Or am I wrong and you see changes in AA? However for every next link it will again be randomly set by Master/Central (even if both devices - identified by MAC - are the same). But that's OK, Access Address is simple mechanism how to avoid confusion among many co-existent links in 37 data channels of the spectrum. So as long as each connection is identified by "unique" (probability of collision on 6-byte random number is astronomically small) AA it will work. Probably enlightening us about true problem you are trying to solve would help us and save lot of time to everybody (as usually when people describe symptoms and products of their assumptions instead of raw initial idea/problem).

Children
No Data
Related