-
Notifications
You must be signed in to change notification settings - Fork 160
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
The connection of the device is lost when the mobile APP is connected (MEGH-4593) #261
Comments
Hi @perseverance51 , |
I tested all of the following apps: ESP_RainMaker_2.10.1, 2.8.0, and ESP_BLE_Prov_2.1.0. I also tested the ESP RainMaker routine burning with the Arduino IDE and connected to the mobile APP. |
@shukur-alom , your query has been answered here. Just as an additional note, please avoid asking questions on issues unrelated to yours. This specific issue is about provisioning itself failing that too with esp-idf. Your issue is about device not reconnecting after losing Wi-Fi, that too (most probably) with Arduino. |
@perseverance51 , can you enable additional debug logs using idf.py menuconfig and retry? Component Config --> Log Output --> Default Log Verbosity --> Debug Component Config --> Bluetooth --> NimBLE Options --> NimBLE Host log verbosity --> Debug Logs Meanwhile, what is your phone model and Android version? Have you tried with a different phone? |
@shahpiyushv I can connect to esp32 using other Bluetooth debugging apps. When I disconnected the ESP32 ble device and went back to the ESP RainMaker APP interface to try to connect to esp32, I was able to pull up the connection and successfully connect to the device. I'm not sure if it's because the third-party Bluetooth APP debug assistant successfully logged in or something. |
The same thing happens when you add a new esp32 Bluetooth device, so as long as the connected device has been successfully connected before and then re-paired, it won't be disconnected again.
` |
@perseverance51 , we have never seen this issue and can't even reproduce and so, it is hard to debug. Have you tried changing either the phone or the board? |
Answers checklist.
IDF / ESP32-Arduino version.
ESP-IDF v4.4.4-dirty
Operating System used.
Windows
How did you build your project?
Command line with idf.py
Development Kit.
ESP-IDF4.4
What is the expected behavior?
The APP searches for the ESPThe sample project of esp-rainmaker\examples\switch compiled by espidf 4.4 was uploaded to the esp32 devkit v1 device. After searching for the Bluetooth device of ESP32, the mobile APP clicked Connect, but the device disappeared immediately.32 Bluetooth device, clicks Connect, and the device disappears again.
What is the actual behavior?
The APP searches for the ESP32 Bluetooth device, clicks Connect, and the device disappears again.
Steps to reproduce.
When you search for an esp32 Bluetooth device, click on the connected device and it disappears。
Debug Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: