PSEAD Member Licensed User Longtime User Jun 2, 2019 #1 Sending serial data from a micro or on a serial port, there would be problems using prefix mode if the device didn't receive the first part of the message. (The micro may be streaming before the app starts) Is it possible to add in a SOB (start of block - 02) or other char into the prefix to assist synchronizing the receiving end with the sending one.
Sending serial data from a micro or on a serial port, there would be problems using prefix mode if the device didn't receive the first part of the message. (The micro may be streaming before the app starts) Is it possible to add in a SOB (start of block - 02) or other char into the prefix to assist synchronizing the receiving end with the sending one.
Erel B4X founder Staff member Licensed User Longtime User Jun 3, 2019 #2 I don't recommend you to use prefix mode with such connections. Use BytesBuilder with your own protocol. It should be quite simple.
I don't recommend you to use prefix mode with such connections. Use BytesBuilder with your own protocol. It should be quite simple.
PSEAD Member Licensed User Longtime User Jun 5, 2019 #3 Something like this : Attachments AsyncStreamsBytes.bas AsyncStreamsBytes.bas 2.9 KB · Views: 559