Using whitelist with resolvable random address

Anh-Minh
Posts: 13
Joined: Wed May 16, 2018 3:21 pm

Using whitelist with resolvable random address

Postby Anh-Minh » Tue Jul 24, 2018 8:39 am

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

User avatar
hassan789
Posts: 156
Joined: Thu Jun 29, 2017 2:15 am

Re: Using whitelist with resolvable random address

Postby hassan789 » Wed Jul 25, 2018 2:01 am

why can't you whitelist a custom UUID?

Anh-Minh
Posts: 13
Joined: Wed May 16, 2018 3:21 pm

Re: Using whitelist with resolvable random address

Postby Anh-Minh » Wed Jul 25, 2018 1:11 pm

why can't you whitelist a custom UUID?
I didn't know it was possible ? How can i do that ?

User avatar
hassan789
Posts: 156
Joined: Thu Jun 29, 2017 2:15 am

Re: Using whitelist with resolvable random address

Postby hassan789 » Wed Jul 25, 2018 2:04 pm

You can see the UUID on scanning, just like you can see the mac.

Anh-Minh
Posts: 13
Joined: Wed May 16, 2018 3:21 pm

Re: Using whitelist with resolvable random address

Postby Anh-Minh » Fri Jul 27, 2018 8:40 am

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.

User avatar
hassan789
Posts: 156
Joined: Thu Jun 29, 2017 2:15 am

Re: Using whitelist with resolvable random address

Postby hassan789 » Sat Jul 28, 2018 12:32 am

you can not filter on advertisement, since it is a broadcast.

simfero
Posts: 2
Joined: Mon May 27, 2019 11:23 pm

Re: Using whitelist with resolvable random address

Postby simfero » Mon May 27, 2019 11:26 pm

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.

Who is online

Users browsing this forum: Google [Bot] and 59 guests