I have posted this under General Discussion because I don't believe that it is an AI issue. However, there may, or may not, be an AI solution, so here goes:
I have an AI app that communicates with an ESP32 via Bluetooth.
So far, so good. Everything works fine.
A few weeks ago I had to update the OS on my phone (that is a completely different story, that I won't get into here), suffice to say that I changed the OS from stock Android 5.1.1 to Lineage 14.1 (Android 7.1.2). The update went okay and everything works as expected, that is except for a small "glitch" in my AI app.
The problem is:
The app connects to the ESP32 without problems.
The app is fully functional with no problems.
However, if the app is closed down, or the Bluetooth on the phone is disrupted then the app cannot reconnect to the ESP32 unless the ESP32 is reset.
Before changing the phone's OS, the app could reconnect with the ESP32 without having to reset it. It is as if some part of the "old" Bluetooth connection is remaining active and stopping a new connection from being made.
I was wondering if there is anything I can do in AI to "flush" the "old" connection?
..Or any other suggestions would be welcomed.
Thanks