GL100 @Track Air Interface Protocol
3.2. Command And Acknowledgement
3.2.1. Backend Server Register Information
The command
AT+GTSRI
is used to configure the GPRS parameters and server information of
the terminal. It is also used to configure the report mode and connection mode between the
backend server and the terminal. When the terminal is configured correctly, it should be able to
report data to the backend server.
¾
AT+GTSRI=
Example:
AT+GTSRI=gl100,0,1,cmnet,,,124.79.182.171,7001,+8613888888888,20090101000000
Parameter
Length(byte)
Range/format
Default value
password 4~8
‘0’-‘9’,’a’-‘z’,’A’-‘Z’
gl100
report mode
1
0|1|2
0
active session
1
0|1|2
0
apn <=40
apn user name
<=20
‘0’-‘9’,’a’-‘z’,’A’-‘Z’
apn user password
<=20 ‘0’-‘9’,’a’-‘z’,’A’-‘Z’
main server ip
<=15
main server port
<=5
main sms gateway
<=20
send time
14
YYYYMMDDHHMMSS
<
password
>: The valid character of password is ‘0’-9’, ‘a’-‘z’, ‘A’-‘Z’. The default value is
“gl100”.
<
report mode
>: Supports three report modes as following:
0: Default on GPRS. Use GPRS as default and SMS for backup when it is failed to
establish a connection with the backend server based on GPRS.
1: Force on GPRS. Only use the GPRS service.
2: Force on SMS. Only use the SMS for transmitting.
<
active session
>:
0: TCP short-connect mode. The connection is based on TCP protocol. The terminal
connects to the backend server every time it needs to send data and will shut down
the connection when the terminal finishes sending data.
1: TCP long-connect mode. The connection is based on TCP protocol. The terminal
connects to the backend server and maintains the connection using the heart beat data.
Please note that in this mode the backend server should respond to the heart beat data
from the terminals.
2: UDP mode. The terminal will send data to the backend server by UDP protocol.
TRACGL100AN002
- 9 -
Quectel
Confidential