Bluetooth reconnect issue

SimonVs
Posts: 7
Joined: Wed Oct 21, 2020 6:25 am

Bluetooth reconnect issue

Postby SimonVs » Tue Oct 05, 2021 9:59 am

Hello,

I am able to connect to the ESP using the a2p example. It is also possible to reconnect to it, even when it is not discoverable.
So far that is ok.

But when i remove all bonded devices using: 'esp_bt_gap_remove_bond_device(dev_list)', my mobile phone is still able to reconnect to the ESP. (the ESP is in connectable mode, not discovery mode) After the remove, i check how many bonded devices the ESP has, and it returns zero.
So this is a bug in the bluetooth stack, it should check somewhere if the bluetooth device which wonts to connect is in the bonded devices list.
(strange thing to note: when i try the same thing with my computer and a bluetooth dongle, it works as expected)

Someone knows how to overcome this?

Thanks in advance!

Who is online

Users browsing this forum: No registered users and 97 guests