Hi!
I'm getting a string from a device that's connected on a serial-port that looks like this;
STX Text text text ... CR ETX BCC
Where STX=0x02, ETX=0x03, CR=0x0d and BCC is the checksum 0x00-0xFF.
The checksum should be calculated using XOR of everything exept STX and BCC.
But how should I...