-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
[Bug]: Reconnecting to already paired controller after startup does not work reliably #106
Comments
How are you reconnecting it ? And what does it mean "not reliable establish" ? And when you have the chance, attach the logs |
hello ricardo. i have the same problem as bbsan2k on my gbahd. the problem is not the 8bitdo but also other controllers. if i pair a controller with the esp then it takes up to 2 seconds. after that i can use the controller normally and it runs stable. but if i then restart the controller and try to connect then it either takes a very long time or is not found at all. so i currently have to pair the controller again most of the time. |
@john3dc any chance that you can provide the info I mentioned here: #106 (comment) ? ty |
hello ricardo. sorry for the delay. we had to activate the log in the firmware first. Tested: 8Bitdo SNES30 GamePad pairing allways works stable (8bitdo: holding select):
controlled disconnection (8bitdo: holding start):
mostly the reconnect fail (8bitdo: Press Start):
another example for fail:
sometime we get a connection (8bitdo: Press Start):
|
I didn't know that 8BitDo controllers support "reconnect" by just pressing Start. I don't have the SNES30 Gamepad, but I'll try to reproduce it with my other 8Bitdo controllers |
Hi, I have the same issue with the Xbox Wireless controller (3 button). Pairing works 100% of the time. However, when I press the Xbox button to turn the controller on, it automatically reconnects, If I hold in the Xbox button to turn off the controller, it disconnects fine and reconnects when turned on again. The problem is now that the controller turns itself off when not in use after a while to save battery and in this case the controller disconnects, but then I get: When the controller disconnects due to battery saver: On trying to reconnect by turning the controller on: I am using it in Arduino IDE with a custom made ESP32 board, but similar to a Wemos D1 mini setup. |
from @john3dc logs, I see I had to add that hack to improve connections on some devices. I can try removing it and see what happens. In any case, make sure that your sketch DOES NOT have this line: this will prevent re-connections after a reboot |
What happened?
When trying to reconnect after startup using an 8BitDo SF30Pro, the connection does not reliably establish. This also happens with other Controllers.
This is happening on 3.10.3, Arduino, 2 GamePads enabled in config.
On 8BitDo I‘m trying to reconnect by pressing the start button.
Bluepad32 Version
3.10.3
Bluepad32 version custom
No response
Bluepad32 Platform
Arduino ESP-IDF
Platform version
No response
Controller
8BitDo SF30 Pro
Microcontroller
ESP32
Microcontroller board
ESP32-S3-WROOM1 DevKit from Lolin. This is the store URL: https://example.com
OS
None
Relevant log output
No response
Relevant sketch
No response
The text was updated successfully, but these errors were encountered: