- Sun Aug 19, 2012 6:25 pm
#148716
Hi, I find my self having problems when I have to write software for communication protocols. I was wondering if anyone had any tutorials or tips for writing such things. The language would be C. I was trying to write one for an RFID module that we use here at work. They lay out the comms in the manual, but don't give any source code. It says stuff like, the master sends the slave 2 bytes, and listens for and answer, which is a good answer or an error, or no message. I'm just using a finite state machine, but maybe there's better ways of doing it with extra functions for ACK and NACK.
Me.
Me.