Page 1 of 1

Using whitelist with resolvable random address

Posted: Tue Jul 24, 2018 8:39 am
by Anh-Minh
Hello,

I am working on a BLE device ( ESP32 ) with a pairing process, which allows only previously bonded device to connect back using C++ BLE library. For that, i use whitelisting to memorize the address, and only advertise to these addresses. The problem i have, is that the address of Android and iOs are randomly generated, and changes, so the device cannot advertise to previously address.

How can my ESP32 memorize these random addresses, using whitelist, to run properly ?

Thank you

Re: Using whitelist with resolvable random address

Posted: Wed Jul 25, 2018 2:01 am
by hassan789
why can't you whitelist a custom UUID?

Re: Using whitelist with resolvable random address

Posted: Wed Jul 25, 2018 1:11 pm
by Anh-Minh
why can't you whitelist a custom UUID?
I didn't know it was possible ? How can i do that ?

Re: Using whitelist with resolvable random address

Posted: Wed Jul 25, 2018 2:04 pm
by hassan789
You can see the UUID on scanning, just like you can see the mac.

Re: Using whitelist with resolvable random address

Posted: Fri Jul 27, 2018 8:40 am
by Anh-Minh
hassan789 wrote:You can see the UUID on scanning, just like you can see the mac.
Yes, but i want to filter my advertising from the server side, and not my scanning.

Re: Using whitelist with resolvable random address

Posted: Sat Jul 28, 2018 12:32 am
by hassan789
you can not filter on advertisement, since it is a broadcast.

Re: Using whitelist with resolvable random address

Posted: Mon May 27, 2019 11:26 pm
by simfero
Anh-Minh, did you ever resolve this issue? Looks like there's a bug/limitation in ESP32 that doesn't allow whitelisting resolvable random addresses used by most modern smartphones.