wiki:serialoverip

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

  1. Access the board through web GUI by entering its IP address in a browser.
  1. Once logged into the board, go to the Services tab, then Serial Over IP.
  1. 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.)
  1. 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.
  1. Select a desired port, baud rate, data bits, parity type, and stop bits. (These must match the client’s settings.)
  1. Select the serial port device that will be used on this board.
  1. Click on “Save & Apply” at the bottom of the screen. Serialoverip should now be running.

Example

Configuring the Client

  1. Access the next board’s web GUI and go to Serial Over IP as before.
  1. 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
  1. Select the serial port device that will be used on this board.
  1. All other fields should match the Server’s exactly.
  1. Click on “Save & Apply” at the bottom of the screen. Serialoverip should now be running.

Example

Last modified 6 months ago Last modified on 12/16/16 09:26:57

Attachments (4)

Download all attachments as: .zip