Hello Sir,
The MAC address is stored into itoo.
Next, I press Start button(GREEN).
In Android 12, when start button is pressed, it connects (Connected) after 3 seconds app sends data RELAY_ON (SendOnClock is 3000), i.e procSendOnClock clock runs after 3 seconds. (ProcessStopClock = 3000 true) once the data is sent, after 3 seconds procProcessStopClock clock executes and disconnects from ESP32.
In android 14, when start button is pressed, it connects ESP32 (Connected) after 3 seconds app sends data RELAY_ON, i.e procSendOnClock clock runs. once the data is sent, after 3 seconds procProcessStopClock clock executes (Till here everything works fine) but BluetoothLE1.disconnect does not disconnect from the connected ESP32 module.
I genuinely asked help. because they have developed the extension. I waited for more than 10 days. but did not get the reply. and yeah, I don't expect any help now on. Don't worry. that's why I attached both arduino and aia files. The aia file is borrowed from some other person and I modified according to my need. If anyone want to check they can. If you want you can also try. I sincerely try to solve this issue. So that it can help me and others.