Serial Over IP
Serial Over IP allows the input and output of a serial port to be transferred through UDP/IP. On one end a board must be configured as a server and on the other end a board must be configured as a client. Both ends use the server's IP as the Host IP address. The only thing that should be different between the boards is the "Server/Client" field and possibly the "Device" field. The server must start running first and will wait to receive a packet from the client.
Ser2net is similar to serialoverip but does not require a board running ser2net on both ends, just one end. The serial port can be accessed through telnet and tcp sessions from any machine.
Gateworks Single Board Computers
Gateworks offers powerful, flexible, low power ARM single board computers for transmitting data, audio, and video.
Please see more information at http://www.gateworks.com
Configuring the Server
- Access the board through web GUI by entering its IP address in a browser.
- Once logged into the board, go to the Services tab, then Serial Over IP.
- Select “serialoverip” in the first field. (If there are no processes present or if you want to run multiple simultaneously, simply click on “Add” at the bottom left of the page.)
- This is going to be the server so the Server/Client field should be set to “Server” and the Host IP field should be set to the client board’s IP address. In this example the server is 192.168.2.1 thus the client needs to be a different IP such as 192.168.2.2.
- Select a desired port, baud rate, data bits, parity type, and stop bits. (These must match the client’s settings.)
- Select the serial port device that will be used on this board.
- Click on “Save & Apply” at the bottom of the screen. Serialoverip should now be running.
Example
Configuring the Client
- Access the next board’s web GUI and go to Serial Over IP as before.
- Change the Server/Client field to “Client” and set the Host IP to the IP address of the Server (the board configured just previous to this one). In this example the IP is 192.168.2.1
- Select the serial port device that will be used on this board.
- All other fields should match the Server’s exactly.
- Click on “Save & Apply” at the bottom of the screen. Serialoverip should now be running.
Example
Attachments (3)
- client.jpg (139.4 KB ) - added by 7 years ago.
- gw5100realsmall.png (35.3 KB ) - added by 7 years ago.
- server.jpg (123.9 KB ) - added by 7 years ago.
Download all attachments as: .zip