![]() You are going to need three terminals, one for setting up socat connection of the applications and the other two in order to run the executables of thoose applications. In order to compile and run this task you have to build it first, so use the command cmake -B "filename". In order to run executables server and client you have to specify the exactly SerialPort(ttyFile) you want to open. Furthermore in src directory there are the two basic functions server and client. Also in there provided explainations for both them. In toptions directory you will find the header file and the application that implements the existing functions. Reading and writing by both of apps is from tty-like files.Genaraly it is an "AT-Command based Server" and a "Cli-enabled client" where the exchanged payload is ASCII string. ![]() Server waits for commands and sends back the appropriate responses. The solution of this task consist of two different applications server and client that communicate via a serial port connection through socat.
0 Comments
Leave a Reply. |