0

Unique access address BLE - uart ble example

Ali97 gravatar image

asked 2017-12-16 04:59:24 +0100

Hi Folks, I am playing with uart ble example described in this link (https://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.

edit retag flag offensive close delete report spam

1 answer

Sort by » oldest newest most voted
0
endnode gravatar image

answered 2017-12-16 17:00:35 +0100

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...

edit flag offensive delete publish link more

Comments

(one would even ask why do you need this feature...)

endnode ( 2017-12-16 17:01:14 +0100 )editconvert to answer

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.

Ali97 ( 2017-12-16 17:35:42 +0100 )editconvert to answer
1

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).

endnode ( 2017-12-17 10:28:50 +0100 )editconvert to answer

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

User menu

    or sign up

Recent questions

Question Tools

2 followers

Stats

Asked: 2017-12-16 04:59:24 +0100

Seen: 32 times

Last updated: des. 16 '17