Serial-IP
This example showcases the functionaly of a serial-to-IP converter. Any messages that come in to the serial port are sent over TCP to the remote server/client.
It consists of two files:
conftest.py
- Implements a fixture that returns a SerialInterface()
interface and a fixture that returns a TCPServer()
.
test_serial_ip.py
- Contains a test that sends a message over serial to the DUT and receives the same message back from the DUT over TCP.