GL100 @Track Air Interface Protocol
Example:
Set the function key mode as “Geo-Fence in current position”.
AT+GTSFR=gl100,1,1,
2
,0,0,0,0,5,0,20080102112233
The configuration is done when the backend server receives the following message:
+ACK:GTSFR,357344020001500,20080102112233,20090112104725,000a,0102100203
Press the function key twice in 2 seconds to enable or disable the status of Geo-Fence 0.
Then the
+RESP:GTGEO
message will be sent to the backend server:
+RESP:GTGEO,357344020001500,
1
,20090202085415,000a,0102100203
In the above command “
1”
means the status of Geo-Fence 0 has been enabled.
And then the terminal will report the following message to indicate whether it is successful to get
the current position as the center of Geo-Fence 0 if the status of Geo-Fence 0 was enabled by this
operation.
+RESP:GTGCR,357344020001500,
1
,1,
121.387152
,
31.171803
,
100
,
2
,
3
,20091022081314,0460,00
00,1806,2602,00,0014,0102080202
1
means it is successful to get the current GPS position.
121.387152
is the longitude of the current
position and
31.171803
is the latitude of the current position.
100
is the radius of Geo-Fence 0.
2
means the terminal will check the relationship between the position of the terminal and Geo-Fence
0 every
2
minutes.
3
means that the terminal will report alarm message when the terminal enters or
exits Geo-Fence 0.
Note
:
Please refer to the chapter 5 for the details to check whether it is successful to get the current GPS
position according the LED variety.
4.6. Position delay settings
To improve the accuracy of GPS fixing, it is useful to wait for a period of time after GPS fixing
succeed and then get the result of GPS fixing. And GL100 provides to set the time to wait
according to the value of
<position delay>
in the command
AT+GTSFR
. Theoretically speaking,
the greater
<position delay>
is, the higher the accuracy is, but it will increase power consumption.
Here is an example to set the position as the result of GPS fixing.
Example:
Set to use the 10th position as the result of GPS fixing.
AT+GTSFR=gl100,1,1,2,
10
,0,0,0,5,0,20091116112233
10
means to let GL100 wait for
10
seconds after GPS fixing succeed.
The configuration is done when the backend server receives the following message:
+ACK:GTSFR,357344020001500,20091116112233,20091116112325,000a,0102100203
TRACGL100AN002
- 40 -
Confidential