-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
ESP32 C3/S3 BLE doesn't work properly compared to ESP32 S1 #7364
Comments
I have the similar issue. the T-vK/ESP32-BLE-Keyboard sketch works fine on one board, but won't work on other boards. I can find the device name on PC, but can't pair. |
Does the problem still exists with actual core 2.0.7? |
Sorry for the late reply. I tried 2.0.8 out and I get the same message with the example sketch above when trying to connect to it.
Also neither does the T-vK/ESP32-BLE-Keyboard or Mouse/Gamepad libraries work with the ESP32-C3 or S3. Only with the original ESP32. I know that classic is missing with the newer mcus but the BLE stuff should still work right? |
I got the same error, in the environment : vscode plo specifically manifested as a bluetooth mouse can be used, but the keyboard and the gamepad keep flashing links |
Maybe those issues will be covered by #7867 |
I can test out those fixes when they are merged and testable :) |
I still get the same error messages, but now the keyboard library, which wasn't updated since 2021, works. The only thing that needs to be changed is the AuthenticationMode to ESP_LE_AUTH_BOND from ESP_LE_AUTH_REQ_SC_MITM_BOND . I tried this change before too, though back then it didn't work. But now a year later and with arduino-esp32 v2.0.14 it seems to work just fine :) |
Any news on this? seems to be not fixed. |
I'll reopen this issue the link it to the NimBLE refactoring effort that is right now under development #9878 |
Board
ESP32-C3-DevKitM-1
Device Description
Nothing, just the board itself
Hardware Configuration
It's just creating a BLE Server like in the arduino examples
Version
v2.0.5
IDE Name
PlatformIO
Operating System
Windows 10
Flash frequency
40 Mhz
PSRAM enabled
no
Upload speed
115200
Description
It seems like BLE is kind of broken on the ESP32 C3&S3 compared to the ESP32 OG.
When trying to connect to the device, for once only my phone is able to see the ESP32 C3 not my PC even though I have a Bluetooth 5 card.
In addition to that the ESP32 C3 spits out multiple errors and doesn't connect properly.
The errors are all related to the pairing security:
Library like ESP32 BLEKeyboard or ESP32 BLE Gamepad don't work at all on the ESP32 C3 and S3.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: