Serial tunnel using UDP broadcast with XPort-WiPort-CoBox

I need to make a serial tunnel connection from one XPort to multiple XPorts, can I do this with the UDP protocol?


Any combination of CoBos-based device servers may be used to implement this procedure. The example configuration below uses XPorts. Your configuration will appear as below:



+------+        +-----+               +-----+       +------+
|Serial|        |XPort|    Ethernet   |XPort|       |Serial|
|Device|--------| #1  |======++=======| #2  |-------|Device|
+------+        +-----+      ||       +-----+       +------+
             192.168.5.10    ||    192.168.5.11
                             ||
                             ||
                             ||       +-----+       +------+
                             ||       |XPort|       |Serial|
                             ++=======| #3  |-------|Device|
                             ||       +-----+       +------+
                             ||    192.168.5.12
                             ||
                             ||
                             ||       +-----+       +------+
                             ||       |XPort|       |Serial|
                             ++=======| #4  |-------|Device|
                                      +-----+       +------+
                                   192.168.5.13


The settings necessary for this configuration to automatically establish this connection are as follows. Note the reference to the XPorts by their number. You will also need to insure that the port parameters such as speed, number of bits, flow control etc. are correct on the XPort for the serial device.

XPort #1
IP address - 192.168.5.10
Port No - 10001
Connect Mode - CC
Datagram Type - 01
Remote IP Address - 192.168.5.255
Remote Port - 10001

XPort #2
IP address - 192.168.5.11
Port No - 10001
Connect Mode - CC
Datagram Type - 01
Remote IP - 192.168.5.10
Remote Port - 10001

XPort #3
IP address - 192.168.5.12
Port No - 10001
Connect Mode - CC
Datagram Type - 01
Remote IP - 192.168.5.10
Remote Port - 10001

XPort #4
IP address - 192.168.5.13
Port No - 10001
Connect Mode - CC
Datagram Type - 01
Remote IP - 192.168.5.10
Remote Port - 10001

Similar configurations will be used on other slaves. This will point XPort #1 to all addresses in its subnet, the other XPorts will communicate only to XPort #1. This connection passes data only, status signals such as dsr/dtr/cts/rts are not passed between the XPorts.



[Originally Published On: 08/31/2004 05:36 AM]