Create a mock hardware simulator that simulates the behavior of the physical device. In this scope, the mock hardware simulator will act as a socket server and will listen for commands from the client base driver.
Beej Network guide: https://beej.us/guide/bgnet/pdf/bgnet_a4_c_1.pdf
Todo:
- Create a mock device class
- Instantiate a server socket in the constructor, includes: open socket, socket binding, socket listen
- Create a superloop that listens for commands, and send ACK back to client
Create a mock hardware simulator that simulates the behavior of the physical device. In this scope, the mock hardware simulator will act as a socket server and will listen for commands from the client base driver.
Beej Network guide: https://beej.us/guide/bgnet/pdf/bgnet_a4_c_1.pdf
Todo: