-
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 stop advertising (ELx400) (IDFGH-6727) #8356
Comments
The issue happened again after a short time:
Who wrote ELx400? |
I found ELx400 in libbtdm_app.a. |
@xiewenxiang please help to check |
I had the same issue, in a esp32 esp-wroom using esp-idf v4.3.2. The devices was working fine for a week and after this message prompt in the console the advertising stopped. Please help us with this issue with the ELx400. |
Can someone help with this issue? |
I disabled "Software controls WiFi/Bluetooth coexistence" in the sdkconfig and the issue has been fixed. |
But then you do not have WiFi, do not? |
I have WiFi in station mode and BLE at the same time. |
Hi @ffamar @AngelVersa , disabled "Software controls WiFi/Bluetooth coexistence" in the sdkconfig may not be the correct solution but if you are stuck and helps you to move on as of now go with it. Software controls WiFi/Bluetooth coexistence = Handle coex by SW ways in case priority and all. Could you please tell me the steps to reproduce the issue? if it is with a phone with the model or some details of the issue. Thanks, |
Hi Satish, My scenario is:
ELx400 is printed after an indefinite time, sometime immediately after boot, sometime after 2 days. I sarted fromt ble_spp_server example and I added wifi station connection. Thanks. |
I will give a try, thanks
Hi Satish, My setup is: The issue is the same than @ffamar. After an indefinite time (between a couple of hours to days) the ELx400 message appears. When the ELx400 message appears, the esp32 advertising disappears. This can happens on devices that never got connected by the smartphone. The only way I found to solve the problem when it appears is to reboot the esp32. Thanks, |
Hi @ffamar , In your log, I still see your point to the older BT controller compile version [6a07b06]. It is supposed to be BT controller compile version 5688ed5. Could you please try your scenario on the latest BT controller compile version and let me know if you have an identical issue? Thanks, |
Hi @AngelVersa , Thanks, |
Hi @SatishSolankeEsp , I am on it right now, I will give you feedback as soon as posible, thanks for your time. |
Hi Satish, Last question for you, is it better to set CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE or not? Thank you for your time. |
Hi @ffamar , Thanks, |
Hi @ffamar @AngelVersa , |
I found some issues trying to update the SDK (MQTTs and wifi most of them), but now I think that now is fixed. I left one device running and logging all the weekend with the 4.3.3 SDK version and the coexistence enabled. The ELx400 message didn't appear, but I want to wait another week more before give the solution as valid. |
Hi Satish, |
Hi @SatishSolankeEsp, during the firmware update regression tests I encountered a serious issue when CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE = y. esp_ota_begin called with large image size (1263952) causes a WDT reset. This is a log with CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE is not set, esp_ota_begin ends succesfully in 4.4 s
This is a log with CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE=y, WDT reset.
In this case if I disable WD esp_ota_begin never end and nothing else is printed. Thanks for your help. |
Hi @SatishSolankeEsp, I executed the same test using esp idf 4.4.2 and I got the same result.
Thanks for your help. |
Hi,
I developed a project BLE + Wifi in station mode connected to mqtt server.
It works fine but after about 24 hours the ble stop advertising.
Below the last logs I see.
The problem only affects BLE, Wifi and Mqtt continue to work.
When the problem occurs, I always see ELx400.
My configuration:
ESP32 WROVER-B with 16MB flash
ESP-IDF 4.4
Thanks for help.
The text was updated successfully, but these errors were encountered: