Hello, well I use the BLE manager to connect to my device, I am connected with success but if I plug the device (cause a disconnect) I have'nt a message to say "You are disconnect".
Sub Manager_StateChanged (State As Int)
'Log("DANS STARTER StateChanged")
Select State
Case manager.STATE_POWERED_OFF
currentStateText = "POWERED OFF"
Case manager.STATE_POWERED_ON
currentStateText = "POWERED ON"
Case manager.STATE_UNSUPPORTED
currentStateText = "UNSUPPORTED"
End Select
currentState = State
CallSub(page_creation_compte, "StateModification")
End Sub
I use this to check but I would like to check my state everywhere in my app. It's clear or not ? Cause maybe I forget something.
Thanks =)