beautypg.com

2 tcp server mode, Tcp server mode – Robustel M1000 XP User Guide User Manual

Page 48

background image

Robustel GoRugged M1000 XP User Guide


RT_UG_M1000 XP_v.1.0.0

19.11.2013

47 / 57

Confidential

4.2.2 TCP Server Mode

In TCP Server mode, the serial port on the gateway is assigned a port number. The host computer initiates contact
with the gateway, establishes the connection, and receives data from the serial device.
As illustrated in the figure, data transmission proceeds as follows: The host requests a connection from the gateway,
which is configured for TCP Server mode. Once the connection is established, data can be transmitted between the
host and the gateway bidirectional.

Types of TCP Server Connection:
1. Fixed Public IP for the gateway.

If your cellular service provider offers a fixed public IP address after you connect to the cellular network, you can
access the gateway from a host PC using either a private IP or public IP.

2. Dynamic public IP with domain name for the gateway.

If your cellular service provider offers a dynamic public IP address after you connect to the cellular network, you
can use the DDNS function to get a domain name from the domain name server for the gateway. Then you can
access the gateway from a host PC using this domain name.

3. Connecting TCP client and TCP server within the same cellular service provider.

In order to connect properly, the IP addresses of the two gateway devices must belong to the same sub network.
To ensure that this is the case, use the same cellular ISP to connect the devices to the network. In addition, you
will need to request that the cellular ISP provide you with two private fixed IP addresses (e.g., 192.168.1.1 and
192.168.1.2).

Configuration and Operation:
1. Connect gateway to your PC properly.
2. Open the Modem configurator.
3. Turn to GPRS tap. Set APN, Username and Password. Then click “Write”.