GL100 @Track Air Interface Protocol
4.
Develop User Guide
4.1. Register
4.1.1. Connection mode
The @Tracker Air Interface supports SMS and GPRS data communication via the GSM network
and can be configured to use one or the other exclusively or automatically switch between the two
by the parameter <
report mode
>
of
AT+GTSRI
. For instance:
If the <
report mode
> is set as 0 (Default on GPRS), the terminal is able to receive messages via
GPRS (in long-connect mode) or SMS and the terminal will respond via GPRS whenever possible;
however, if a GSM network is valid but the terminal fails to send a message to the backend server
via GPRS, the terminal will revert to SMS.
If the <
report mode
> is set as 1 (Force on GPRS), the terminal is able to receive messages via
GPRS or SMS, but the terminal will use only GPRS to respond.
If <
report mode
> is set as 2 (Force on SMS), then the terminal will communicate exclusively via
SMS.
If GPRS is enabled via the appropriate report mode setting, then the GPRS connection parameters
are used to establish GPRS sessions. The @Track Protocol supports UDP and TCP transport
protocols.
For TCP transport, the @Track Protocol provides two kinds of session activation modes:
short-connect mode (<
active session
> = 0) and long-connect mode (<
active session
> = 1).
If short-connect mode is used, the terminal tries to connect to the backend server every time when
it is required to send data and will shut down the connection when the terminal finishes sending
data.
If long-connect mode is set, the terminal connects to the backend server and maintains the
connection.
The following lists the details and examples of these connection modes.
¾
TCP Short-connect Mode
<
active session
> is set as 0 and <
report mode
> must be set as 0 or 1 in the
AT+GTSRI
command.
In this mode, the terminal will establish a socket with the backend server for every message.
If <
report mode
> is set as 0 (Default on GPRS), the terminal will use the secondary backend
server and SMS gate for backup when the main server cannot be
accessed.
TRACGL100AN002
- 29 -
Quectel
Confidential