I am reading data (ASCII string ) from the serial port that often gets broekn up. What I mean is this -
The sting has a start and end character to deliminate the entire string -
<sasrwaskdmswriuwriwrwer> where there is a fixed number of charcters.
However, the string often arrives in pieces. There may be <sasrwask that arrives, followed soon
after by the rest (i.e. dmswriuwriwrwer>).
I need to assemble the string back together and then bring it into my app. (VB). I assume I need to keep the parts
in a buffer and then assemble them to make up the proper string.
Can anyone provide me with some hints on how to do this. I have examined the VBTerm sample
but not sure if it can assemble the parts of the string.