Issue with BLE extension in Android 15

Hello everyone, my name is Massimo, and I’ve created a control unit that performs a series of operations both remotely (via SMS) and locally (via BLE).
I have a OnePlus 12, and until Android 14, everything worked perfectly: the Bluetooth connection was fast and error-free.
Since upgrading to Android 15, the connection happens instantly, but the app takes a few seconds to recognize it, resulting in an attempt to connect to a device that is already connected. On Android 14, the LED would stop blinking (connected status), and the app would simultaneously emit the connection sound while displaying the signal strength I implemented in my app.
On Android 15, the connection occurs instantly, but the app takes a "long" time to recognize it, often causing a connection error. I’m attaching two videos showing the behavior of the Bluetooth module and the app on both Android 14 and 15. Thank you all for your attention.


Which version of the BLE extension are you using?

2024.08.22

I noticed that in the "connected" function of the BLE extension, it enters twice. I added a counter: "if connected, label text (0) +1," and when it connects, it goes from 0 to 2. There is an abnormal behavior with Android 15.

help me please :frowning:

Hello everyone, my name is Massimo, and I’ve created a control unit that performs a series of operations both remotely (via SMS) and locally (via BLE).
I have a OnePlus 12, and until Android 14, everything worked perfectly: the Bluetooth connection was fast and error-free.
Since upgrading to Android 15, the connection happens instantly, but the app takes a few seconds to recognize it, resulting in an attempt to connect to a device that is already connected. On Android 14, the LED would stop blinking (connected status), and the app would simultaneously emit the connection sound while displaying the signal strength I implemented in my app.
On Android 15, the connection occurs instantly, but the app takes a "long" time to recognize it, often causing a connection error. I’m attaching two videos showing the behavior of the Bluetooth module and the app on both Android 14 and 15. Thank you all for your attention.