2022-01-31 12:22 PM
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?
2022-02-16 01:53 AM
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 :
Regards