T-vK / ESP32-BLE-Keyboard

Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)
2.47k stars 415 forks source link

EP32-C3, doesn't reconnect after rebood - Android #314

Open solilu7 opened 3 months ago

solilu7 commented 3 months ago

Hi, I've EP32-C3 boards, with some Andorid devices (10 12 and 13 version, all chinese brand, oukitel, ulefone, hugerock) i have this behavior:

I connect Esp32 board to smatphone searching a new device, it connects. Then i switch-off and then switch-on (or simply reboot) Esp32 board, on the smatphone ESP-32 appears on "device cennected" section just for an instant, then disappears (obviusly it is not connected). if i want reconnect i have to repeat all procedure (searching ecc).

i use: -ESP32 BLE Keyboard @ 0.3.2 -already modified row 130 of BleKeyboard.cpp in _pSecurity->setAuthenticationMode(ESP_LE_AUTH_BOND); (also tried using NIMBLE, same behavior)

hilman2 commented 1 month ago

Did you find a solotion? I have the same problem with win10/11 (works with ios, android, chromeos, linux and my LG tv)