h2zero / NimBLE-Arduino

A fork of the NimBLE library structured for compilation with Arduino, for use with ESP32, nRF5x.
https://h2zero.github.io/NimBLE-Arduino/
Apache License 2.0
672 stars 138 forks source link

ESP32 (any) + whitelisting working example?? #555

Closed sanastasiou closed 1 year ago

sanastasiou commented 1 year ago

Hi everyone, I have tried countless configurations, hacks, scoured the interwebs and every possible example of code I could think of.

I just cannot get whitelisted bonded devices to work with setScanFilter and ESP32 C3 device..

I have found several open bugs regarding this matter, so I am tending to believe this functionality is not available for these devices.

That said, if anyone has a working example of whitelisted devices I would be happy to compensate you for your efforts.

Best Regards

h2zero commented 1 year ago

Are the devices you're bonded with using a random address type?

sanastasiou commented 1 year ago

Yes, android and iPhone devices. I guess there is a bug in the ESP32 backend which means this functionality does not work at all right?

h2zero commented 1 year ago

Yes, the esp32 controller does not support whitelisting random addresses

sanastasiou commented 1 year ago

@h2zero thanks for the response.

Would you happen to know an ECU that does support this?

Best Regards

h2zero commented 1 year ago

Any of the Nordic BLE chips support this and can be used with this library.