Hi, I am designing communication architecture between two processors for my hobby project and they communicate using Serial Port with no buffers and so the code should process one byte at a time. The processors communicate using a pre-defined packet structure. For example it will have a start packet byte, end packet byte, sequence number, command, command parameters of length 'n' and CRC. I have written some code to process the packets and it is working fine. But it is not robust enough. Let's say if half of the packet is lost and the next packet started after that, it will lose the next packet e.t.c. Is there any algorithm for command processing. I guess network processors use these a lot. I would be really grateful if someone can me to the resources about sequential processing of network packets preferably with examples. I am uisng Stellaris LM3S processor and programming using C.