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 **ASAP **but no later** **than tuesday, November 4.
Sorry for the time crunch but one coder is not delivering at all. If you would like to test the program yourself I can give you a user name and password to sets of Sun workstations that are connected to one another.
1) Complete and fully-functional working program(s) in executable form as well 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.