2.2. Remote CLI support
TCP server also provides full functional Command Line Interface to the authorized TCP client. It means
using the TCP server it is possible to configure and control the radio modem through the internet (by TCP
client terminal at side of DTE). Configuration files upload/download and firmware image upgrading
operations are also supported by remote CLI feature provided by TCP server. The CLI is shared with
authorized TCP client when the unit is in command mode.
The RTN command is used to configure, control and monitor the TCP server. To start the TCP server after
next boots automatically the RTN auto running feature can be used (refer to RTN AUTORUN command's
description). It means that BOOT command issued by Remote CLI will not disconnect the Remote CLI
permanently if the unit is configured to start TCP server automatically after next boot. The client terminal
can connect to the TCP server again after unit's rebooting.
Example 1 of TCP server configuration – RTN corrections uploading:
Let's assume we need to upload RTN corrections (taken from UART) to authorized TCP client
using TCP server:
• Server should be running on the 3615 port of assigned IP address (IP address is assigned by
GPRS network);
• Login – user;
• Password – pswd.
The following is the step by step configuration of HPT404BT with GSM to configure and run
described TCP server:
Select TCP server as an active RTN service
Set the host port on which the server should be run
Set the login and password which are used for TCP client's authorization RTN LOGIN user
Set data routing type to "GSMGPRS<->UART"
Start/run the configured TCP server
The execution of "RTN CONNECT 1" command starts TCP server and shows the progress of
starting process.
The following is the reported progress when the TCP server is run successfully:
RTN CONNECT 1
Connecting..........
Initializing GSM module..................
PIN code authentication..
Network registration..........
Activating GPRS context..........
Starting server..
Server is running
At this point the server is running and waits for authorized TCP client. Now the unit should be
switched to data mode to start RTN corrections uploading when the TCP client is connected and
authorized.
www.javad.com
Internet services
RTN TYPE 2
RTN HOSTPORT 3615
RTN PASSWORD pswd
DPORT ROUTE 4
RTN CONNECT 1
TCP server
27
Need help?
Do you have a question about the HPT404BT and is the answer not in the manual?