Hi,
Please someone point me to the correct syntax of initializing the jSerial port without "Prefix"
in the b4j/b4a chat example I received the following error:
P.S.
I am not using the B4A app on the other side of the chat, but sending string or plain text through the serial port.
Please someone point me to the correct syntax of initializing the jSerial port without "Prefix"
in the b4j/b4a chat example I received the following error:
B4X:
astream.InitializePrefix(sp.GetInputStream, True, sp.GetOutputStream, "astream")
Program started.
java.lang.RuntimeException: Message size too large. Prefix mode can only work if both sides of the connection follow the 'prefix' protocol.
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AIN.run(AsyncStreams.java:205)
at java.lang.Thread.run(Thread.java:745)
Error: (RuntimeException) java.lang.RuntimeException: Message size too large. Prefix mode can only work if both sides of the connection follow the 'prefix' protocol.
Connection is broken.
P.S.
I am not using the B4A app on the other side of the chat, but sending string or plain text through the serial port.