Connect Tech Blue Heat/Net User’s Manual
Revision 0.13
51
Figure 13: Raw TCP Client configuration
Checking your Raw TCP/IP settings on the Blue Heat/Net
You can check your Raw TCP Client and/or Server settings once you have completed
configuration through the WCM. To do so, open a Telnet session with your Blue Heat/Net and
type
ps
at the command prompt. This will display a list of programs currently running.
Raw TCP Server listing
You should see information similar to the following:
<numbers> raw_pdata 2 _ 0
In this case, the 2 refers to serial port 2, the 0 refers to the fact that the server is using the Blue
Heat/Net default port for that serial port (49157 for serial port 2).
By contrast:
<numbers> raw_pdata 3 _ 4000
uses serial port 3 and listening for a TCP connection
on port 4000.
Raw TCP Client listing
You should see information similar to the following:
<numbers> raw_pdata 4 www.connecttech.com 80
In this case, the 4 refers to serial port 4. It's connecting to www.connecttech.com on port 80.
Connecting Two Blue Heat/Nets together using standard TCP
You can directly connect two Blue Heat/Net devices by configuring a serial port on one to Raw
TCP Server, and a serial port on the second to Raw TCP Client. Serial data received by one Blue
Heat/Net can then be sent through a network or the internet to the second Blue Heat/Net’s serial
port. The serial ports operate independently of each other, and can be configured individually for
baud rate and electrical interface.
Configure a serial port on one Blue Heat/Net in Raw TCP Server mode (see above) and note
your TCP settings (the Blue Heat/Net’s IP address and the TCP Port you provided.)
Configure a serial port on the second Blue Heat/Net in Raw TCP Client mode (see above) and
input the settings used for the Raw TCP Server mode.
Reboot both Blue Heat/Nets. You should be able to exchange data between the two serial ports,
regardless of the serial port settings on either unit. This will extend the range of the serial
devices to anywhere that can be connected via TCP/IP, including the internet.