cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect with LE privacy on and advertising for 15 minutes?

BStic.2
Senior

Ok, I set up a random static address and I also enabled LE privacy with GAP init. Everything seems to work fine unless I let the device advertise for 15 minutes (with a random resolvable address). After 15 minutes, I can still see the advertisements, but when I try to connect, the connection is rejected with "unable to establish connection". It happens every time. This seems to correspond with the random resolvable address rolling to a new one. Do I need to restart advertising every 15 minutes?

1 REPLY 1
Remy ISSALYS
ST Employee

Hello,

Yes 15 minutes, it's the default time before the controller generated a new resolvable private address. So, after this timeout, you need to restart advertising. You can change this timeout with this function: hci_le_set_resolvable_private_address_timeout.

See the following extract of AN5270 :

0693W00000JQ088QAD.png

Regards