B4J Question SerialConnected

racleta31

Member
Hello,

I am using jSerial to connect my computer to a device via bluetooth(with a mapped COM, with Outgoing direction) and it would help me to have a function similar to the B4A Serial Event : Connected(Success as Boolean) with the same boolean and so, where I could write something like

Sub Serial_Connected(Success as Boolean)
If(Success)
...
Else
xui.MsgboxAsync(LastException.Message , "Error")
End If
End Sub

Is there any way to do this?
 
Top