-
-
Couldn't load subscription status.
- Fork 189
Description
So I already posted to one issue here I think, but I am not sure anymore if it is the same problem.
I am trying for days now to get my android phone to reconnect to the ESP32, after it or the phone were rebooted or got out of range from another.
I tried with different service UUIDs and Characteristics and everything I could find here in the issues.
I now enabled verbose logging and the weird thing is, I can connect exactly one time to the esp, thats working (kind of) fine and I can see the connect in the log.
If I now reboot the ESP or the Phone, I don't even see a connection try in the log.
Even if I hit connect on the phone, nothing, neither the phone nor the ESP show any sign of trying to connect to each other.
Now I though, well maybe it's the phone (Nothing Phone 1), so I tried with the old phone (OnePlus 7t) and .... exactly the same thing.
Am I missing something here? Can someone with knowledge about this help?
I am currently playing around with the Server and Secure Server examples, but because it basically never changed I cannot really provide anymore code.
Can someone tell me what I would need to do with the code examples to make it work?
As a side note:
No I wouldn't really need to connect to the ESP for my usecase, but because of Androids battery management it is way easier to autostart you app with the Broadcast receiver of device connect instead of scanning for yourself, and it is way more efficient.