ESP32-BLE-Mouse icon indicating copy to clipboard operation
ESP32-BLE-Mouse copied to clipboard

Connection fail after IOS restore

Open hkg4788 opened this issue 3 years ago • 1 comments

Not sure this is BLE mouse library issue. Seem like ESP32 core bug.

I am using same ESP32 board with 3 three IOS device with no problem. After I restore IOS device A, ESP32 cannot connect anymore. However, device B and C still working.

Then, I use "pio run --target erase" the clear the ESP32 and re-upload the program. Device A start working again.

Seem like ESP32 core library cannot register new key (this key change after IOS restore), if the device address have registered already.

Any though on how to solve this issue? How can I clear the registered bond data OR limit the max bond device to 1 (auto de-bond every time).

hkg4788 avatar Mar 09 '21 06:03 hkg4788

The BLE code really is mostly copy pasted from examples I found on the Internet. I've never really looked into the details of how it all works, so I don't really know how to address this issue. It is possible that this happens because of a bug in the HID libraries.

T-vK avatar Mar 09 '21 23:03 T-vK