Android Question (Solved) BLE Auto-Reconexion

f0raster0

Well-Known Member
Licensed User
Longtime User
Hello Team,

I'm looking for examples or ideas on how to implement automatic reconnection to a BLE device once it's been connected.
Essentially, I'm interested in a solution where if the connection is lost momentarily, such as when walking away briefly, it can be automatically reconect?

Based in this example:

thank you in advance
 
Solution
Something like:
B4X:
Sub Manager_Disconnected
    Log("Disconnected")
    Sleep(1000)
     StartScan 'code to start the scanning + connection process
End Sub
Top