seskindell Active Member Licensed User Longtime User Apr 18, 2014 #1 "java.io.IOException: read failed, socket might closed or timeout, read ret: -1" Then trying to connect to a
"java.io.IOException: read failed, socket might closed or timeout, read ret: -1" Then trying to connect to a
seskindell Active Member Licensed User Longtime User Apr 18, 2014 #2 Seems to connect: Serial1.Connect(PairedDevices.Get(l.Get(res))) when executing the command: textreader1.Initialize(Serial1.InputStream) I get the error: "An error has occurred in sub:java.lang.NullPointerExecption" Please help
Seems to connect: Serial1.Connect(PairedDevices.Get(l.Get(res))) when executing the command: textreader1.Initialize(Serial1.InputStream) I get the error: "An error has occurred in sub:java.lang.NullPointerExecption" Please help
Erel B4X founder Staff member Licensed User Longtime User Apr 19, 2014 #3 Can you post the full error message from the logs? Note that you should use AsyncStreams with Serial connections.
Can you post the full error message from the logs? Note that you should use AsyncStreams with Serial connections.