Hi,
I have a bluetooth device that makes a scan.
The app is waiting for the scan to finish.
When the connection is broken, the app keeps waiting.
How can I stop the wait for?
Cenny
I have a bluetooth device that makes a scan.
B4X:
btGo_Click
Wait For(StartScan) Complete (Result As Object)[
...
Sub StartScan As ResumableSub
For i = StartAt To EndAt Step Stap
Module1.SendTrimValue(i)
servosetting=i
lblServoSettings.Text=i
Sleep(interval*1000)
Next
Return Null
End Sub
When the connection is broken, the app keeps waiting.
How can I stop the wait for?
Cenny