cancel
Showing results for 
Search instead for 
Did you mean: 

Bluenrg-ms static random address resets after calling aci_gap_set_direct_connectable

blil jahov
Associate II

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

1 REPLY 1
rds-tmeyer
Associate II

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