Graynomad:
I just went ahead and threw a very basic one together with a start/length/checksum.
Is the data in binary format? If so how do you detect the start of a frame?
Rob
Just a 0 byte right now but I'm planning to change it to something less likely, a random number between 1 and 255.
start byte
length (2 byte int)
data (arbitrary)
checksum (2 byte int, fletcher-16)
end byte
Might put markers inbetween length/data/checksum for quicker identification of malformed data