-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
BLE connectivity problem ESP-IDF-3.3.1 (IDFGH-2609) #4689
Comments
We have exactly the same issue. It also happens with the Samsung Galaxy Note10+ |
Hello, we have solved this problem before and the backport to release/v3.3 is in process. Thank you for your report. Please wait for our update. |
@andrew-krv @Ben139348 are you using Android 10 OS on your devices? |
Yes, we are. Issue seems to be reproducible only using Galaxy S10 or Galaxy Note 10 (any of their variation) and Android 10. |
We have just flashed to the latest version on release/v3.3 and are no longer seeing this specific issue on our Galaxy S10+ devices running Android 10, but on one of the two (seemingly identical) devices we are finding that a similar but different issue has surfaced. More often than not after a certain number of other messages have been exchanged, the mobile app that is connecting to the ESP32 will send a message but will never get a response (the BLE connection stays intact though). To complicate debugging this issue, when we have the ESP32 print all sent/received messages to the console, the issue disappears. We are thinking it might have something to do with message timing on the ESP32 side, but will need to do additional testing to confirm. Still no issue with other Android or iOS devices that we've tested with though. @andrew-krv and @Ben139348, we'd love to hear if the latest version fixes your original issues and if you come across anything similar to what I've mentioned above. Thanks! |
@rjcasson Thank you for your information. We have indeed backported the solution in release / v3.3. We did not encounter the new issue you mentioned. If you have a way to reproduce the problem, please let me know. Thank you. |
@rjcasson issue seems to be fixed with latest release/v3.3 branch, currently works on our device. |
@andrew-krv Glad to know that your issue is resolved @GYC-Espressif Thanks for the support. Feel free to reopen if the issue still happens. Thanks. |
Environment
Problem Description
Hi, I have faced BLE disconnection problem while sending data to device from Samsung Galaxy S10. This smartphone definitely does something different, compared to other smartphones, but I guess it could be handled. Bluedroid Bluetooth stack is being used. Problem is easy to reproduce using example from ESP-IDF v3.3.1 (GATT_SERVICE_TABLE_DEMO) and there is no such such problem with the same example provided in ESP-IDF v4.0-rc or master. Also there is no such problem using NimBLE (I have tried to create the same behaviour app, but with new stack).
Expected Behavior
Actual Behavior
Steps to reproduce
Code to reproduce this issue
ESP-IDF v3.3.1 - GATT_SERVICE_TABLE_DEMO example
Debug Logs (nrfConnect)
Log text - failed sending
Log text - expected behaviour while sending
The text was updated successfully, but these errors were encountered: