Connected Event
Fired immediately after a connection to a remote device completes (or fails).
Syntax
Sub bleclientcontrol_Connected(StatusCode As Integer, Description As String)
Remarks
If the connection is made successfully, StatusCode is 0 and Description is "OK".
If the connection fails, StatusCode has the error code returned by the Bluetooth stack. Description contains a description of this code.
Refer to the Connect method for more information.