theslanderer
Newbie level 3
I'm about to begin writing a driver for a microcontroller than will be sending various sensor data values to a PC over a virtual serial port, which will be running a program written in C/java/processing.
However, I'm looking for some good references on the correct way to implement communication protocols, so I can be able to differentiate data bytes and command bytes send to the PC, as well as be able to handle the occasional dropped byte. If anyone has any good books or articles they can recommend, I'd be grateful.
However, I'm looking for some good references on the correct way to implement communication protocols, so I can be able to differentiate data bytes and command bytes send to the PC, as well as be able to handle the occasional dropped byte. If anyone has any good books or articles they can recommend, I'd be grateful.