GL300 @Tracker Air Interface Protocol
3.2.17. Data transfer between UART and backend server
The AT+GTDAT command is used to transfer the data between UART and the backend server.
AT+GTDAT=
Example:
AT+GTDAT=gl300,0,,data needs to be sent,0,,,,0016$
AT+GTDAT=gl300,1,,config command to the CAN bus device,1,,,,0016$
Parameter Length (byte) Range/Format Default
Password 4 – 6 ‘0’ – ‘9’, ‘a’ – ‘z’, ‘A’ – ‘Z’ gl300
Command Type 1 0|1 0
Reserved 0
Data <=100 ASCII code
Need ack 1 0|1 0
Reserved 0
Reserved 0
Reserved 0
Serial number 4 0000 – FFFF
Tail character 1 $ $
<Command Type>: A numeric to indicate the direction of the transferred data.
0: The data should be transferred from UART to the backend server.
1: The data should be transferred from the backend server to UART.
<Data>: The data to be transferred. It should be printable ASCII string.
<Need ack>: A numeric to indicate whether the device should reply +ACK message to the
backend server.
0: Do not send +ACK:GTDAT to the backend server.
1: Send +ACK:GTDAT to the backend server.
The acknowledgment message of the AT+GTDAT command:
+ACK:GTDAT
Example:
+ACK:GTDAT,1A0102,135790246811220,,0011,20101029085505,0028$
Parameter Length (byte) Range/Format Default
Protocol version 6 XX0000 – XXFFFF,
X∈{'A'-'Z','0'-'9'}
Unique ID 15 IMEI
Device name 20
Serial number 4 0000 – FFFF
Send time 14 YYYYMMDDHHMMSS
Count number 4 0000 – FFFF
Tail character 1 $ $
TRACGL300AN001 - 40 -