It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community.
I have noticed that it works a few times, the process I do is connect and disconnect a few times and there comes a time that the application is destroyed and closes, the code I have tried to make modifications to see if I can correct this problem without success Previously, with previous versions of makeroid, this phenomenon did not happen to me with the same code.
In the bluetooth scan I have detected that you send the scan order but it never ends and launch the after scanning, instead if I debug through the companion if it does, the truth is that if you can give me a clue it would help me a lot .
why are there these white blocks in the screenshot?
how do you start the scan?
and why is the AfterScanning event empty?
are you not only connecting and disconnecting, but also trying to scan continuously and after a while you get issues?
Taifun
PS: sorry, I never used the BluetoothAdmin component… I have my own bluetooth extension…
The scan blocks are empty because it was to indicate which blocks I used, I had to remove them from the program because when I had them implemented it did not return anything (it only happens in this latest version of kodular) I will use the activity startet to make a call to the menu of the bluetooth mobile to perform the scan. I’m going to keep looking at the program. If I am able to solve the problem of connections disconnections, can you think of something that I could try?
When you do a scan and then repeatedly connect / disconnect, can it cause problems?