HD33[L]M.GSM
- 13 -
V1.10
11
GPRS TCP/IP CONNECTION
Through GPRS TCP/IP protocol, it is possible to interact with the data logger from a remote PC
with an Internet connection.
The connection can be of two types:
1)
Data Logger = Client
,
PC = Server
The data logger acts as TCP client and requests the connection to the PC, the PC acts as
TCP server and waits for the connection request. The server IP address (PC or Router)
must be public and can be either static or dynamic; if the IP address is dynamic, it is
convenient to register the server to a DDNS (Dynamic Domain Name System) service.
2)
Data Logger = Server
,
PC = Client
The PC acts as TCP client and requests the connection to the data logger, the data logger
acts as TCP server and waits for the connection request. The server IP address (data
logger) must be public and static.
Connection Data Logger = Client , PC = Server
1.
Open a port (port forwarding) in the Modem/Router through which your PC connects to
Internet (follow the instructions of your Modem/Router).
2.
Connect the data logger to a PC USB port and perform the connection procedure with the
HD35AP-S software.
3.
In the HD35AP-S software select
Instruments setup >> GSM options >> GPRS TCP/IP client
settings
and set the server IP address or domain name and port number (number of the port
opened in the Modem/Router).
4.
Disconnect the data logger from the USB port.
5.
In the HD35AP-S software select
Tools >> Type of connection
, select the
TCP server
option
and set the number of the port opened in the Modem/Router.
6.
In the HD35AP-S software, select the
Connect
icon.
7.
Send to the data logger the SMS command
TCP-CLIENT-ON
.
If the connection is not established within 30 minutes after sending the SMS command TCP-
CLIENT-ON, the command must be sent again.
Alternatively, the server IP address or domain name and port number can be set in the data
logger without connecting the data logger to the PC and without the HD35AP-S software by
using the SMS commands
TCP-SERVER-ADDRESS
and
TCP-SERVER-PORT
.
Connection Data Logger = Server , PC = Client
1.
Open a listening port in the data logger
by using the SMS command
TCP-LISTEN-PORT
(for example, TCP-LISTEN-PORT=2020).
2.
Send to the data logger the SMS command
TCP-SERVER-ON
.
3.
The data logger replies with a first SMS to confirm that the command has been accepted.
Wait for a second SMS with the confirmation that the
TCP server
functionality has been
activated and with the IP address (and port number) assigned to the data logger.
4.
In the HD35AP-S software select
Tools >> Type of connection
, select the
TCP client
option
and set the IP address and port number of the datalogger.
5.
In the HD35AP-S software, select the
Connect
icon.
If the connection is not established within 1 hour after sending the SMS command TCP-
SERVER-ON, the command must be sent again.
Summary of Contents for HD33[L]M.GSM
Page 19: ......