Hello all, i have a Linvor bluetooth Module that i have been using for a while, it has been working great with a program written in B4A, today i started doing some data acquisition and noticed that i was not receiving the full message data on my phone, i was receiving broken messages, so I decided to try to use InitializePrefix, now the problem is that when i start the program now it won't work, i get this message i the filtered logs.
Can anyone, maybe Erel can help me figure out what this means, the only thing i changed was
to this
I don't understand what the difference is, any help guys will be greatly appreciated.
Thanks,
Walter
java.lang.OutOfMemoryError
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AIN.run(AsyncStreams.java:172)
at java.lang.Thread.run(Thread.java:841)
** Activity (chatactivity) Pause, UserClosed = true **
Can anyone, maybe Erel can help me figure out what this means, the only thing i changed was
B4X:
AStream.Initialize(Main.Serial1.InputStream, Main.Serial1.OutputStream, "AStreams")
B4X:
AStream.InitializePrefix(Main.serial1.InputStream, True, Main.serial1.OutputStream, "Astreams")
I don't understand what the difference is, any help guys will be greatly appreciated.
Thanks,
Walter