Hi, All
I want to know can I read a primary MAC address when I already set a secondary MAC address and the connection is active?
I set a secondary MAC address for peripheral and make central establish link with this address (ex. 0x050403020100)
When both device are connect and bond success, I want to let both device exchange the primary MAC address in both sides.
And add the primary MAC address in white list, next time the central will connect to primary MAC address, not the secondary address.
How to read the local primary MAC address? is there any function to do that?
BDADDR is an address variable, but it means if I set a secondary address in initialized, the BDADDR will be the secondary address? or it just stuck on primary address?
Thanks