-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stops working after reconnect (windows only) #328
Comments
i have the same issue. looking into a fix. |
any solution for this problem? i also have it on windows and android |
Same here with iOS and macOS. Any solution? |
The same thing happens wiht both of my androids, after rebooting the esp32 it says it is conected in the phone but doesnt work, i have to manually unpair and pair again and then it works. |
I also have the same problem. If I remove the device from the blue tooth settings of my computer, then re-add the device while it's running, it will play/pause music and type works. If I then reset or power off and back on the chip (Xiao ESP32c6) the device is reconnected in the bluetooth panel in windows but the play/pause doesn't work until I delete it from bluetooth settings and then reconnect. |
This is resolved in ESP32-BLE-Keyboard v0.3.2-beta |
At first I thought it was due to my code, so I tested it with an absolute minimal configuration: same result.
Setup: Seed Studio XIAO ESP32C3 with button connected to D0<->GND
Arduino IDE with esp32 2.0.17
On Windows 10/11, the device is detected and can be paired.
After pairing, everything works perfectly. When you press the button, "i" characters are typed into Notepad.
When you restart the ESP, the Windows laptop, or even just the Bluetooth on the laptop, the paired device reconnects, but no letters are typed into Notepad anymore. Something is happening though, as the cursor briefly stops blinking.
This issue doesn't occur on iOS, Android, ChromeOS, or Linux.
I even tested it with a live system on the same hardware where it wasn't working under Windows:
With Ubuntu, there's no problem at all - after resetting the ESP, it reconnects immediately and you can type letters again.
If I remove the device under Windows and pair it again, it works again - until the next reconnection.
Any ideas? Or has anyone experienced the same problem?
The Code I use for testing.
The text was updated successfully, but these errors were encountered: