When We Try To connect Bluetooth Device using Bluetooth Client . until getting successful connection app freezes. and We will be prompted wait and close by android. So i Make this extension from some combination of sources. and it worked for me. If any One need it you can test and use in your project.
No, absolutely not. I never had your "error message" while connecting to a Bluetooth device. You or others would have to answer this, but are there also drawbacks using an asynchronous method to connect to an bluetooth device?
At the moment I and others are testing an extension MicroBlocks Test/Demo App that makes it possible to connect to a microcontroller like micro:bit, calliope mini, ESP32, Raspberry Pi Pico W, etc etc that support BLE and is supported by MicroBlocks. That makes working with BLE very easy when working with microcontrollers.
I am just wondering if your code would be useful with this extension. That is why I was asking.