2019-01-18 03:59 AM
Hi,
I'm using bluenrg-ms, stack version 7.2c.
My application requires the BLE to have static random address.
Setting the address using the command hci_le_set_random_address() is working, when I start advertising with aci_gap_set_discoverable() everything is working and I am able to see the right address in my BLE sniffer.
But, when I try start advertising with the command aci_gap_set_direct_connectable(), I get completely other address and not the one I configured in hci_le_set_random_address.
The argument's I'm using for aci_gap_set_direct_connectable are:
own address type = random
initiator address type = public
Thanks
2021-12-27 07:18 AM
Have you been able to solve your problem? I'm seeing a similar issue where the random static address set manually is not advertised. Instead the stack uses it's own address which is generated at first boot, like if the hci_le_set_random_address call had no effect...