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?
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...
(one would even ask why do you need this feature...)
Hi endnode, thank you for your reply. Sorry I didn't meant to specify an address. I meant how to prevent BLE randomly changing AA on the same BLE link. I know that for a BLE link, a random AA will be assigned. That is fine. However, I hope such random AA doesn't change from time to time for the same link.
It is fine to get one AA for the same link.
I am using nRF52840, and nRFD51 dongle.
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).