Open perseverance51 opened 1 year ago
Hi @perseverance51 , What is the android app version ? Is it possible to share android app logs ?
Hi @perseverance51 , What is the android app version ? Is it possible to share android app logs ?
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.
`
Below is the phone and Bluetooth information used
@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。![Screenshot_2023-04-21-13-28-53](https://user-images.githubusercontent.com/34802513/233548556-1d52a334-b303-4aef-a3aa-b56ef459cd63.png)
Debug Logs.
More Information.
No response