| 1 | = Serial Over IP = |
| 2 | |
| 3 | 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. |
| 4 | |
| 5 | [wiki:ser2net 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. |
| 6 | |
| 7 | == Gateworks Single Board Computers == |
| 8 | Gateworks offers powerful, flexible, low power ARM single board computers for transmitting data, audio, and video. |
| 9 | |
| 10 | Please see more information at [http://www.gateworks.com] |
| 11 | |
| 12 | |
| 13 | [[Image(gw5100realsmall.png,200px)]] |
| 14 | |
| 15 | == Configuring the Server == |
| 16 | |
| 17 | 1. Access the board through web GUI by entering its IP address in a browser. |
| 18 | |
| 19 | 2. Once logged into the board, go to the Services tab, then Serial Over IP. |
| 20 | |
| 21 | 3. 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.) |
| 22 | |
| 23 | 4. 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. |
| 24 | |
| 25 | 5. Select a desired port, baud rate, data bits, parity type, and stop bits. (These must match the client’s settings.) |
| 26 | |
| 27 | 6. Select the serial port device that will be used on this board. |
| 28 | |
| 29 | 7. Click on “Save & Apply” at the bottom of the screen. Serialoverip should now be running. |
| 30 | |
| 31 | === Example === |
| 32 | |
| 33 | [[Image(wiki:serialoverip:server.jpg)]] |
| 34 | |
| 35 | == Configuring the Client == |
| 36 | |
| 37 | 8. Access the next board’s web GUI and go to Serial Over IP as before. |
| 38 | |
| 39 | 9. 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 |
| 40 | |
| 41 | 10. Select the serial port device that will be used on this board. |
| 42 | |
| 43 | 11. All other fields should match the Server’s exactly. |
| 44 | |
| 45 | 12. Click on “Save & Apply” at the bottom of the screen. Serialoverip should now be running. |
| 46 | |
| 47 | === Example === |
| 48 | |
| 49 | [[Image(wiki:serialoverip:client.jpg)]] |