**Simple for the experiecnced**
This should be a simple communications protocol to talk to a piece of (simulated) test equipment. To test the program, a pair of Sun workstations that have their serial port B’s connected using a null-modem cable will be used. On one machine, a simulator will run that is supplied as an attatchment, and on the other machine, the communications protocol will run. The program should take input from the keyboard and send one of four different messages. The program will also need to read the response message from the simulator and display the results. It should open serial port B for both read and write, set the modes to nonblocking, noncontrolling tty, raw mode, and 9600 baud. The response from the simulatorshould be read, one character at a time, and collected in a queue. Once the end of message character has been received (**0x8e**), the message should be checked for correct format and for a correct checksum. When the program sends messages, they should also be correctly formatted and have a proper checksum.
Both the simulatior and more detailed instructions are attatched.
I will need the source code for testing **NO LATER** than Thursday, October 30 but preferably would like it by Tuesday, October 28.
1) Complete and fully-functional working program as complete source code of all work done.
Needs to be written in C, compile in gcc and run on a pair of Sun workstations in linux.