I need to develop a custom protocol GUI in c#, which involves creating sync byte, header, and payload and crc for the data to be sent. This will be sent over RS232 to the device. This is a PC to device protocol mostly commands and i need to keep tab on sequence number for each command etc.
i am pretty much new to c#. I would like to get some pointers on the state machine implementation. thanks in advance