Refuse BLE connection if the phone is not in bonding list

kevinlam
Posts: 7
Joined: Mon Jul 06, 2020 3:24 am

Refuse BLE connection if the phone is not in bonding list

Postby kevinlam » Wed Sep 02, 2020 6:05 am

Hello,

Is there a way to refuse BLE connection if the phone is not in existing bonding list in ESP32?

My idea is, to limit only 1 phone can bond and connect to ESP32 and don't want to use passkey in my application.

Thanks,
Kevin

kevinlam
Posts: 7
Joined: Mon Jul 06, 2020 3:24 am

Re: Refuse BLE connection if the phone is not in bonding list

Postby kevinlam » Fri Sep 04, 2020 7:23 am

I have tried to use whitelist to refuse the bonded device, but it seems has a bug and someone posted the related issue on github,

https://github.com/espressif/esp-idf/issues/2262

do you have any workaround right now?

Who is online

Users browsing this forum: Baidu [Spider] and 196 guests