Sie sind auf Seite 1von 52

micro loci

∞ THE PERSONAL LOCATION SERVICES COMPANY ∞


2

Index
1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
1.1 Scope of this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..4
1.2 Reference documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Terms and abbreviation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4
2. System Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3. Command Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1 Downlink commands: The commands from platform to micro loci terminal. . . . 6
3.1.1 Server Register Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1.2 Base Equipment Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
3.1.3 Fixed Timing Report Information . . . . . . . . . . . . . . . . . . . . . . . ….. . .. 11
3.1.4 Safe Zone Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
3.1.5 Real Time Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
3.1.6 Special Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
3.2 Uplink command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
3.2.1 Alarm Message Response To Server . . . . . . . . . . . . . . . . . . . . . . . . .18
3.2.2 Indicate Message Send To Server . . . . . . . . . . . . . . . . . . . . . . . .. . . .23
3.2.3 Heart Beat Data for GPRS active session . . . . . . . . . . . . . . . . . .. . . . .28
4. Develop User Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
4.1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
4.1.1 Connection protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
4.1.1.1 TCP mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
4.1.1.1.1 TCP Continuous Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
4.1.1.1.2 TCP Reconnect Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
4.1.1.2 UDP mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
4.1.1.3 Force On SMS Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
4.1.2 Server Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
4.1.2.1 Set the IP address and port number of Main Server . . . . . . . . . . . . .32
4.1.2.2 Set the phone number of main SMS gate . . . . . . . . . . . . . . . . . . . .32
4.1.2.3 Set the IP address and port number of second server . . . . . . . . . . . .33
4.1.3 Set APN parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
4.1.4 Set the nick name
4.2 Location by call.35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
4.3 Fixed Timing Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
4.4 Geofence Alarm Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
4.5 Keypad Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
4.5.1 Power key Setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
4.5.2 Function Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
4.5.2.1 Function Key Enable/Disable . . . . . . . . . . . . . . . . . . . . . . . . . . .38
4.5.2.2 Geo-fence Mode of Function Key . . . . . . . . . . . . . . . . . . . . . . . 39

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
3

5.5.2.2 SOS Mode of Function Key . . . . . . . . . . . . . . . . . . . . . . . . . . . … .40


4.6 Movement Detect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
4.7 Over Speed Alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
4.8 Power Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.8.1 Power Low Alarm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.8.2 Charge Status Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.8.2 Full Power Up When Charge. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.9 Real time Operate on micro loci terminal. . . . . . . . . . . . . . . . . . . . . . . . . . . .
44 4.9.1 Get the Latest Successful GPS Fixing Time. . . . . . . . . . . . . . . . . . . . .44
4.9.2 Real time Locate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
4.9.3 Get All Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
4.9.4 Reboot the micro loci terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.9.5 Reset to Factory Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47 .46
4.9.6 Get the ICCID of SIM card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
4.9.7 Get GSM signal level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
4.9.8 Get Firmware Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.9.9 Get Hardware Version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
4.9.9 Get the Battery Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
4.10 Buffer Report Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
5. Led Indication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
Annex 1: Commands Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
4

1. Overview
1.1 Scope of This Document
This document is written for the software engineer to develop the tracking
platform base on micro loci tracking protocol. The micro loci tracking protocol is
specific by SIMCOM.

1.2 Reference documents

1.3 Terms and Abbreviation


GSM : Global System for Mobile Communications
GPRS : General Packet Radio Service
TCP : Transmission Control Protocol
UDP : User Datagram Protocol
APN : Access Point Network

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
5

2. System Architecture

The platform can be accessed by many micro loci terminals. It should have the
following abilities:
(1) The platform should be able to access the internet and listen to the connection to
micro loci terminal. It should be able to receive/send data with micro loci terminal.

(2) The platform should be able to support TCP or UDP connect with micro loci
terminal.
(3) The platform should be able to receive/send SMS.

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
6

3. Command Description
3.1 Downlink commands: The commands from platform to
micro loci terminal

7.1.1 3.1.1 Server Register Information


The command “AT+GTSRI” is used to configure the GPRS parameters and server information of
micro loci terminal. It is also used to configure the report mode and connection mode between
platform and micro loci terminal. When the micro loci terminal is configured correctly, it
should be able to report data to the platform.
AT+GTSRI

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
7

Password: The valid character of password is „0‟-„9‟-„a‟-„z‟-„A‟-„Z‟ . The default value is


“gl100”. Report mode: Support 3 report modes described as following.

0: Default on GPRS: Use GPRS as default. Use SMS for backup when GPRS network
is not available.
1: Force on GPRS
3: Force on SMS

Connection mode:
0: “TCP reconnect mode” The connection is based on TCP protocol. The micro loci
terminal will try to connect to the platform every time when it wants to send data
and it will shut down the connection when the terminal finishes data sending.
1: “TCP Continuous Mode” The connection is based on TCP protocol. The micro
loci terminal will connect to the platform and maintain the connection.
2: “UDP mode” The micro loci terminal will send data to the platform by UDP
protocol
Main server IP: Example as 192.117.16.7.
Main server PORT: The valid value is 0-65535.
Main SMS gateway: The correct format is (National code)+(Area Code)+(Phone number),
Example as +8602158301576. Short code is also supported.
The response command of “AT+GTSRI”
+ACK:GTSRI

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI


GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015
Length(byte) Range
Phone: (213) 489-3019 Fax: (213) 489-3062 Default
Parameter www.gtxcorp.com
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
8

Unique ID: The Unique ID of micro loci terminal is IMEI code of terminal.
Send time: The send time in “AT+GTSRI” command.
ACK time: The local time of the data sending.
Count Num: The self-added sequence number will be put into every ACK
commands. The count is beginning at 0000 and it will return to 0000 when gets to
FFFF.

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
9

7.1.2 3.1.2 Base Equipment Information

The “AT+GTBEI” command is used to configure the base equipment information of micro
loci terminal. It is also used to configure parameters of the second server.

AT+GTBEI

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Password: The valid character of password is „0‟,„9‟,„a‟,„z‟,„A‟,„Z‟ . The default value is
Second server IP,
“gl100” <=15
Reserved:
Second server Reserved
port, for future use.
<=5
Reserved:
Second Reserved<=20
SMS gateway, for future use.
Location by call: Base on the configuration the micro loci terminal will act as following steps
Send timeit receive an14
when incoming call. YYYYMMDDHHMMSS
0: Disconnect the call
1: Report the position and the incoming phone number to the platform.
ParameterPlease referLength(byte) Rangefor report format.
to the GTLBC command Default
Main server IP: Example as 192.117.16.7.
+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
Main server PORT: The valid value is 0-65535.
Unique ID, 15 IMEI gl100
Main SMS gateway: The Main SMS gateway which is used to receive the SMS from micro
Send
locitime,
terminal. 14 YYYYMMDDHHMMSS
ACK time 14 YYYYMMDDHHMMSS
Count Num 4 0000-FFFF
Length(byte) Range
Parameter GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015
Phone: (213) 489-3019 Fax: (213) 489-3062
Default
AT+GTTRI= AT+GTTRI=
www.gtxcorp.com AT+GTTRI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
10

The response command of AT+GTBEI

+ACK:GTBEI
Example:
+ACK:GTBEI,135790246811220, 20090101000000, 20090101000002, 11FO

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Second server IP, <=15
Unique
Second ID:port,
server The Unique
<=5 ID of micro loci terminal is IMEI
Send time: The send time in “AT+GTBEI” command.
Second SMS gateway, <=20
ACK time: The local time of the data sending.
SendCount
time Num: The self-added
14 sequence YYYYMMDDHHMMSS
number will be put into every ACK
command. The count is beginning at 0000 and it will return to 0000 when gets to
FFFF.
Parameter Length(byte) Range Default
+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
Unique ID, 15 IMEI gl100
Send time, 14 YYYYMMDDHHMMSS
ACK time 14 YYYYMMDDHHMMSS
Count Num 4 0000-FFFF
Length(byte) Range
Parameter
Default
AT+GTTRI= AT+GTTRI= AT+GTTRI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Begin Time, 4 0000-2359 0000
GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015
End Time, 4 0000-2359 Fax: (213) 489-3062
Phone: (213) 489-3019 0000
www.gtxcorp.com
Send Interval, 3 0-999 (Minute) 0
Fix Interval, 4 0-9999 (Second) 0
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
11

7.1.3 3.1.3 Fixed Timing Report Information


The “AT+GTTRI” is used to configure the parameters of scheduled fix timing report.

AT+GTTRI:gl100,100,2300,5,60,20090101000000

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Password:
Location byThe valid character
call, 1 of password is „0‟-„9‟-„a‟-„z‟-„A‟-„Z‟
0|1 . The default value
0 is “spark nano”
Second server
Begin Time: IP,start time
The <=15of scheduled fix timing report. The valid format is HHMM. The value range
ofSecond
HH is 00-23.
serverThe value <=5
port, range of MM is 00-59.
End time: The end time
Second SMS gateway, <=20 of scheduled fix timing report. The valid format is same as Begin Time.
Send Interval: The send interval of scheduled fix timing report. The value range is 000-999 and the unit
is Send time
minute. 14 YYYYMMDDHHMMSS
Fix Interval: The check interval of GPS-Value range is 0000-9999 and the unit is second.
The “AT+GTTRI” is used to configure the parameters of scheduled fix timing
report.
Parameter Length(byte) Range Default
+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
+ACK:GTTRI: 135790246811220, 20090101000000, 20090101000002,11F0
Unique ID, 15 IMEI gl100
Send time, 14 YYYYMMDDHHMMSS
Parameter
ACK time Length(byte)
14 Range
YYYYMMDDHHMMSS Default Value

Count Num
+ACK:GTSRI, 4 0000-FFFF
+ACK:GTSRI +ACK:GTSRI
Length(byte) Range
Parameter
Unique ID, 15 IMEI
Default
AT+GTTRI= Length(byte) AT+GTTRI=
Range AT+GTTRI=
Default
Parameter
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
AT+GTBEI= 0 AT+GTBEI=
Begin Time, 4 0000-2359 0000
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
End Time, GTX 4
Corp 117 W. 0000-2359
9th Street # 1214 Los Angeles, CA 90015 0000
Reserved, <=8 Phone: (213) 489-3019 Fax: (213) 489-3062
Send Interval, 3 0-999 (Minute)
www.gtxcorp.com 0
Reserved, <=15
Fix Interval, 4 0-9999 (Second) 0
Location by call, 1 0|1 0
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
12

Unique ID: The Unique ID of micro loci terminal is IMEI


Send time: The send time in “AT+GTTRI” command.
ACK time: The local time of the data sending.
Count Num: The self-added sequence number will be put into every ACK
command. The count is beginning at 0000 and it will return to 0000 when gets to
FFFF.

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
13

7.1.4 3.1.4 Safe Zone Information

Command “AT+GTSZI” is used to configure the parameters of Geo-Fence.


AT+GTSZI
Example:
AT+GTSZI=gl100,1,121.412248,31.187891,1000,10,20090101000000
AT+GTSZI=gl100,1,121.412248,31.187891,1000,10, 20090101000000
Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Password:
Second serverThe IP,
valid character
<=15 of password is „0‟-„9‟-„a‟-„z‟-„A‟-„Z‟ . The default value is “gl100”
ID (Zone ID): 0,1,2,3,4.
Second server port, <=5
Longitude: The Longitude of a point which is defined as the centre of Geo-fence circle region. The
Second
format SMS gateway, and
is (-)xxx.xxxxxx <=20
the value range is (-180.000000-180.000000). The unit is degree. West
longitude
Send time is defined as negative
14 and east longitude is defined as positive.
YYYYMMDDHHMMSS
Latitude: The Latitude of a point which is defined as the centre of Geo-fence circle region. The
format is (-)xx.xxxxxx and the value range is(-90.000000-90.000000). The unit is degree. South Latitude
is defined as negative and north Latitude is defined as positive.
Parameter
Radius: Length(byte)
The radius of Geo-fence Rangerange is (0-6000000) and the unitDefault
circle region. Value is meter.
+ACK:GTBEI,
Check interval: The interval of GPS checking for+ACK:GTBEI
safe zone alarm. +ACK:GTBEI
Unique ID,
AT+GTSZI Response 15 IMEI gl100
Send time, 14 YYYYMMDDHHMMSS
+ACK:GTSZI
ACK time 14 YYYYMMDDHHMMSS
Count Num 4 0000-FFFF
Length(byte) Range
Parameter
Default
AT+GTTRI= AT+GTTRI= AT+GTTRI=
Password, GTX 4 ~8
Corp „0‟Street
117 W. 9th -„9‟#,1214
„a‟ -„z‟ ,Los„A‟ -„Z‟ CA
Angeles, 90015 gl100
Phone: (213) 489-3019 Fax: (213) 489-3062
Begin Time, 4 0000-2359
www.gtxcorp.com 0000
End Time, 4 0000-2359 0000
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
14

Unique ID: The Unique ID of @Track terminal is IMEI


Zone ID: The index of safe zone. Valid value is 0,1,2,3,4
Send time: The send time in “AT+GTSZI” command.
ACK time: The local time of the data sending.
Count Num: The self-added sequence number will be put into every ACK command. The count is
Is beginning at 0000 and it will return to 0000 when gets to FFFF.

7.1.5 3.1.5 Real Time Operation


GTRTO command is used to get some information from the micro loci terminal. It is also used
to configure the over-speed alarm.

AT+GTRTO

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4 ~Warn
NOTE: Parameter <Speed 8 Enable> and <Speed„0‟Warn
-„9‟Value>
, „a‟ -„z‟ , „A‟
is only -„Z‟
valid gl100option” is 9.
when the “Command
Command option: Valid <=8
Reserved, value is 0-9, A, For the definition please refer to following.
Password: Valid character is „0‟ -„9‟,„a‟ -„z‟,„A‟ -„Z‟, Default value is “gl100”.
Reserved, <=15
0: Get the latest time of successful GPS fixing.
Location by call,
1: Require the1micro loci terminal to 0|1report current position immediately 0
2: Get the
Second server IP, current
<=15 configuration of micro loci terminal.
3: Reboot the micro loci terminal.
Second server port, <=5
Second SMS gateway, GTX<=20
Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015
Phone: (213) 489-3019 Fax: (213) 489-3062
Send time 14 YYYYMMDDHHMMSS
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
15

4: Reset all parameters to factory setting. Please note the following parameter will not be
reset: Report mode, Main server information (IP address, port, SMS gateway), GPRS
information (apn, apn username, apn password).
5: Get the ICCID of the SIM card which is inserted into the micro loci terminal.
6: Get the current GSM signal level of micro loci terminal.
7: Get the Software Version.
8: Get the Hardware Version.
9: Configure over speed alarm function.
A: Get the battery level of micro loci terminal
Over speed alarm enable: 0|1, Disable | Enable over speed alarm function. Please note this
parameter is only valid when the “Command option” is 9 Over Speed value: When the over speed
alarm function is enabled. The micro loci terminal will report to the platform when its speed is larger
than this value. Please note this parameter is only valid when the “Command option” is 9.

+ ACK:GTRTO
Example:
+ACK:GTRTO,135790246811220, SPEED,20090101000000, 20090101000002,11F0
Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Unique
Reserved,ID: The Unique ID of micro loci terminal is IMEI
<=15
Command option: (0: LGT, 1: RTL, 2: READ, 3: REBOOT, 4: RESET, 5: CID, 6: CSQ, 7: SWV
Location
8: HWV, by call, A: CBC).
9: SPEED, 1 0|1 4.9 for detail.
Please refer to chapter 0
Send time:
Second serverThe
IP,send time
<=15in “AT+GTRTO” command.
ACK time: The local time of the data sending.
Second
Count server
Num: Theport, <=5 sequence number will be put into every ACK command. The count is
self-added
beginning
Second SMS at 0000 and<=20
gateway, it will return to 0000 when gets to FFFF.
Send time 14 YYYYMMDDHHMMSS

Parameter Length(byte) Range Default


+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015
Unique ID, 15 IMEI
Phone: (213) 489-3019 Fax: (213) 489-3062 gl100
www.gtxcorp.com
Send time, 14 YYYYMMDDHHMMSS
ACK time 14 YYYYMMDDHHMMSS
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
16

7.1.6 3.1.6 Special Function


GTSFR command is used to configure some special function of micro loci terminal like
“Enable/Disable power key”, “The function of function key”, “Movement detect”, ”Enable /
disable full power up when charger connect”

AT+GTSFR

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Second server IP, <=15
Second server port, <=5
Second SMS gateway, <=20
Send time
Password:Valid 14 is „0‟-„9‟-„a‟-„z‟-„A‟-„Z‟,
character YYYYMMDDHHMMSS
Default value is “gl100”.
Power key enable: The terminal user can‟t power down the micro loci terminal by power key
when this parameter is set to 0
Parameter Length(byte) Range Default
Function key enable: The function is disabled when this parameter is set to 0
+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
Function key mode
Unique ID, 15 Please refer to chapter
0:Geo-Fence mode: IMEI 4.5.2.2 for detail. gl100
Send time, 14
1:SOS mode: Please YYYYMMDDHHMMSS
refer to GTSOS command for detail.
ACK time
Movement 14 Please refer to chapter
detect mode: YYYYMMDDHHMMSS
4.6 for detail.
Count Num speed: The4speed threshold of moment
Movement 0000-FFFF
detect.
Length(byte) Range
Parameter
Default
AT+GTTRI= GTX Corp 117 W.AT+GTTRI=
9th Street # 1214 Los Angeles, CA 90015 AT+GTTRI=
Phone: (213) 489-3019 Fax: (213) 489-3062
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟
www.gtxcorp.com
gl100
Begin Time, 4 0000-2359 0000
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
17

Movement distance: The distance threshold of moment detect

Movement send number: The report times before the micro loci terminal consider itself in non-
moving status.

Full Charge Boot: The micro loci will fully power on when this parameter is set to 1. Otherwise it
will only enter charge mode

AT+GTSFR Response

Example:ACK:GTSFR,13579024811220,
Example: 20090101000000, 20090101000002,11F0

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved,
Unique ID: The Unique ID <=8
of micro loci terminal is IMEI
Send time: The send time
Reserved, in “AT+GTSFR” command.
<=15
ACK time: The local time of the data sending.
Location by call, 1 0|1 0
Count Num: The self-added sequence number will be put into every ACK command. The count is
Second server
beginning at 0000IP, <=15
and it will return to 0000 when gets to FFFF.
Second server port, <=5
Second SMS gateway, <=20
Send time 14 YYYYMMDDHHMMSS

Parameter Length(byte) Range Default


+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
Unique ID, 15 IMEI gl100
Send time, 14 YYYYMMDDHHMMSS
ACK time 14 YYYYMMDDHHMMSS
Count Num GTX 4
Corp 0000-FFFF
117 W. 9th Street # 1214 Los Angeles, CA 90015
Length(byte) Range Fax: (213) 489-3062
Phone: (213) 489-3019
www.gtxcorp.com
Parameter
Default
AT+GTTRI= AT+GTTRI= AT+GTTRI=
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
18

7.2 3.2 Uplink Message


7.2.1 3.2.1 Alarm Message Response to Server

The position related message include (+RESP:GTSOS), (+RESP:GTSZI), (+RESP:GTRTL), (+RESP:GTEST),


(+RESP:GTLBC),( +RESP:GTTRIJ).
+RESP:GTSZI
+RESP:GTSOS
+RESP:GTRTL
+RESP:GTEST

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Second server IP, <=15
Second server port, <=5
Second SMS gateway, <=20
GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015
Send time 14 YYYYMMDDHHMMSS
Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com

Parameter Length(byte) Range Default


∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
19

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8 ID of micro loci terminal is IMEI Number of report message: Will
Unique ID: The Unique
Reserved, <=15
be 1 when response to GTSZI, GTSOS, GTRTL and GTEST.
Location by call, 1 0|1 0
Zone ID: Only valid when response to GTSZI. Indicate this message is report for which safe
Second server IP, <=15
zone.
Second server port, <=5
ZoneSMS
Second Alert: Only valid
gateway, <=20 when response to GTSZI . 0 means the micro loci terminal leave
Send time
the safe zone and 14 YYYYMMDDHHMMSS
1 means enter the safe zone.
GPS fix: 1: Successful GPS fixing, 0: Failed on GPS fixing.
Parameter
GPS accuracy: TheLength(byte) Range
HDOP defines in NEMA0183, Valid value is 0-50, SmallDefault
value means
+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
higher accuracy.
Unique ID, 15 IMEI gl100
Mobile Country Code (mcc): Algorism format, Valid value is 000-999.
Send time, 14 YYYYMMDDHHMMSS
ACKMobile
time Network Code 14 (mnc): Algorism format. The code of mobile network operator.
YYYYMMDDHHMMSS
Valid
Count Numvalue is 000-999.
4 0000-FFFF
Length(byte)
Location area code (LAC): hex format Range
Parameter
Cell ID (Cellid): hex format Default
AT+GTTRI= AT+GTTRI= AT+GTTRI=
TA: Timing advance, Reserved for future using.
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Count
Begin Time,Num: The self-added
4 sequence 0000-2359
number will be put into every command
0000 send to
Endplatform.
Time, The count
4 is beginning at 0000 and it will return to 0000 when0000
0000-2359 gets to FFFF.
Send Interval, 3 0-999 (Minute) 0
Fix Interval, 4 0-9999 (Second) 0
Send time 14 YYYYMMDDHHMMSSt

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Length(byte) Range
Parameter Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com Default
+ACK:GTTRI, +ACK:GTTRI +ACK:GTTRI
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
20

+RESP:GTLBC

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Second server IP, <=15
Second server port, <=5
Second SMS gateway, <=20
Send time 14 YYYYMMDDHHMMSS

Parameter Length(byte) Range Default


+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
Unique ID, 15 IMEI gl100
Send time,ID: The Unique
Unique 14 ID of micro loci terminal
YYYYMMDDHHMMSS
is IMEI
ACKCalling
time Number: The14 phone number of incoming call.
YYYYMMDDHHMMSS
GPS fix: 1: Successful GPS fixing; 0: Failed on GPS fixing.
Count Num 4 0000-FFFF
GPS accuracy: The HDOP defines in NMEA 0183, Valid value is 0-50. Small value means higher
accuracy. Length(byte) Range
Parameter
Mobile Country Code (mcc): Algorism format. Valid value is 000-999. Default
Mobile
AT+GTTRI= Network Code (mnc): Algorism format. The
AT+GTTRI= code of mobile network operator, Valid value is
AT+GTTRI=
000-999.
Password, 4 ~ 8 hex format
Location area code (LAC): „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
CellTime,
Begin ID (Cellid): hex format
4 0000-2359 0000
EndTA (Timing advance):
Time, 4 Reserved for future using.
0000-2359 0000
Count Num: The self-added sequence number will be put into every command send to platform. The
Send Interval,
count is beginning at3 0000 and it will return0-999
to 0000(Minute)
when gets to FFFF. 0
Fix Interval, 4 0-9999 (Second) 0
GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015
Send time 14 YYYYMMDDHHMMSSt
Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com

Length(byte) Range
Parameter
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
21

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
22

+RESP:GTTRI

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Second server IP, <=15
Second server port, <=5
Second SMS gateway, <=20
Send time 14 YYYYMMDDHHMMSS

Parameter Length(byte) Range Default


+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
Unique ID, 15 IMEI gl100
Send time, 14 YYYYMMDDHHMMSS
ACK timeID: The Unique14
Unique YYYYMMDDHHMMSS
ID of micro loci terminal is IMEI
Number:
Count NumIndicates how4 many position logs in this message.
0000-FFFF
GPS accuracy: The HDOP defines in NMEA0183,Valid value is 0-50, Small value means higher
Length(byte) Range
accuracy.
Parameter
Mobile Country Code (mcc): Algorism format, Valid value is 000-999. Default
Mobile Network Code (mnc): Algorism format.AT+GTTRI=
AT+GTTRI= The code of mobile network operator. Valid value is
AT+GTTRI=
000-999.
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Begin Time, GTX 4
Corp 0000-2359
117 W. 9th Street # 1214 Los Angeles, CA 90015 0000
Phone: (213) 489-3019 Fax: (213) 489-3062
End Time, 4 0000-2359
www.gtxcorp.com 0000
Send Interval, 3 0-999 (Minute) 0
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
23

Location area code LAC) : hex format Cell ID(


Cellid) : hex format TA: Timing advance, Reserved for future using.
Count Num: The self-added sequence number will be put into every command send to platform. The count is
beginning at 0000 and it will return to 0000 when gets to FFFF.

Note: Every position log will include the parameter from <Reserved> to <Send time>

7.2.2 3.2.2 Indicate Message Send to Server


+RESP:GTPNA
+RESP:GTPFA
+RESP:GTPLA
+RESP:GTBTC
+RESP:GTSTC
GTPNA: Power on report
GTPFA: Power down report
GTPLA: Power low report
GTBTC: Start charging report
GTSTC: Finish charging report
Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Second server IP, <=15
Unique ID: The Unique
Second server port, ID of micro loci terminal is IMEI
<=5
SecondNum:
Count SMS gateway, <=20 sequence number will be put into every command
The self-added
send
Send to platform. The 14
time count is beginning at YYYYMMDDHHMMSS
0000 and it will return to 0000 when
gets to FFFF.

Parameter Length(byte) Range Default


GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015
+ACK:GTBEI, +ACK:GTBEI
Phone: (213) 489-3019 Fax: (213) 489-3062 +ACK:GTBEI
www.gtxcorp.com
Unique ID, 15 IMEI gl100
Send time, 14 YYYYMMDDHHMMSS
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
24

+RESP: GTCID
+RESP: GTHWV
+RESP: GTLGT
+RESP: GTCBC
GTCID: Report the ICCID of SIM card which is inserted into the micro loci
terminal.
GTHWV: Report the hardware version
GTLGT: Report the latest successful GPS fixing time
GTCBC: Report the battery level. Unit: percent

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Second server IP, <=15
Second server port, <=5
Second SMS gateway, <=20
Unique ID: The Unique ID of micro loci terminal is IMEI Content : Report content
Send time 14 YYYYMMDDHHMMSS
Count Num: The self-added sequence number will be put into every command send
to platform. The count is beginning at 0000 and it will return to 0000 when gets to
Parameter Length(byte) Range Default
FFFF.
+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
Unique ID, 15 IMEI gl100
Send time, 14 YYYYMMDDHHMMSS
ACK time 14 YYYYMMDDHHMMSS
Count Num 4 0000-FFFF
Length(byte) Range
Parameter
Default
AT+GTTRI= GTX Corp 117 W. 9th Street # 1214
AT+GTTRI= Los Angeles, CA 90015 AT+GTTRI=
Phone: (213) 489-3019 Fax: (213) 489-3062
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟
www.gtxcorp.com gl100
Begin Time, 4 0000-2359 0000
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
25

+RESP:GTCSQ
+RESP: GTSWV
GTCSQ: Report GSM signal level
GTSWV: Report software version

Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Second server IP, <=15
When the Indicate symbol is “GTCSQ”,Content1 indicates <rssi>,Content2 indicates <ber>.
Second server port, <=5
<rssi>
Second SMS gateway, <=20
0: <-113(dBm)
1: -111(dBm)
Send time 14 YYYYMMDDHHMMSS
2…30: -109…-53(dBm)
31: >-51(dBm)
99: Unknown or none Length(byte)
Parameter Range Default
+ACK:GTBEI,
<ber> +ACK:GTBEI +ACK:GTBEI
0…7 It same
Unique ID, as RXQUAL, 15For RXQUAL please referIMEIto GSM standard GSM 05.08 8.2.4. gl100
99 Unknown or none
Send time, 14 YYYYMMDDHHMMSS
100
ACK time
When Indicate symbol14 is “GTSWV”, Content1 YYYYMMDDHHMMSS
indicates <Revision>, Content2 indicates
<SubEdition>.
Count Num 4 0000-FFFF
<Revision>is main software version
Length(byte) Range
<Sub Edition> is sub software version.
Parameter
Unique ID: The Unique ID of micro loci terminal is IMEI Default
AT+GTTRI=
Content1: The first part of report content. AT+GTTRI= AT+GTTRI=
Content2: The second part
Password, 4 ~ 8of report content. „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Count Num: The self-added sequence number will be put into every command send to platform.
Begin Time,is beginning 4at 0000 and it will return
The count 0000-2359
to 0000 when gets to FFFF. 0000
End Time, 4 0000-2359 0000
Send Interval, GTX 3
Corp 117 W. 9th Street(Minute)
0-999 # 1214 Los Angeles, CA 90015 0
Phone: (213) 489-3019 Fax: (213) 489-3062
Fix Interval, 4 0-9999 (Second)
www.gtxcorp.com 0
Send time 14 YYYYMMDDHHMMSSt
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
26

Read parameter
+RESP:GTALL
Example: +RESP:GTALL,135790246811220,simcom,116.228.221.61,7035,222.66.38.185,7035,
+8613122774662,+8615821660293,Geo,,,,,Area1,,,,,Area2,,,,,Area3,121.412248,31.187891,1,2,
Area4,,,,,0100,2359,15,60,1,1,0,1,1,80,100,5,0,1,100,20090101000000,11F0
Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved, <=15
Location by call, 1 0|1 0
Second server IP, <=15
Second server port, <=5
Second SMS gateway, <=20
Send time 14 YYYYMMDDHHMMSS

Parameter Length(byte) Range Default


+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
Unique ID, 15 IMEI gl100
Send time, 14 YYYYMMDDHHMMSS
ACK time 14 YYYYMMDDHHMMSS
Count Num 4 0000-FFFF
Length(byte) Range
Parameter
Default
AT+GTTRI= AT+GTTRI= AT+GTTRI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Begin Time, 4 0000-2359 0000
End Time, 4 0000-2359 0000
Send Interval, 3 Corp
GTX 117 W.0-999 (Minute)
9th Street # 1214 Los Angeles, CA 90015 0
Phone: (213) 489-3019 Fax: (213) 489-3062
Fix Interval, 4 0-9999 (Second)
www.gtxcorp.com
0
Send time 14 YYYYMMDDHHMMSSt
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
27

Count Num: The self-added sequence number will be put into every command send
to platform. The count is beginning at 0000 and it will return to 0000 when gets to
FFFF.

+RESP:GTGEO
Example:
Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved,
Unique <=8 ID of micro loci terminal is IMEI Active: 0 means disable Geo-
ID: The Unique
Reserved, <=15
fence and 1 means enable Geo-fence. Count Num: The self-added sequence
Location by call, 1 0|1 0
number
Second will
server IP,be put into every command send to platform. The count is beginning
<=15
at 0000
Second and
server it will<=5
port, return to 0000 when gets to FFFF.
Second SMS gateway, <=20
Send time 14 YYYYMMDDHHMMSS

Parameter Length(byte) Range Default


+ACK:GTBEI, +ACK:GTBEI +ACK:GTBEI
Unique ID, 15 IMEI gl100
Send time, 14 YYYYMMDDHHMMSS
ACK time 14 YYYYMMDDHHMMSS
Count Num 4 0000-FFFF
Length(byte) Range
Parameter GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015
Phone: (213) 489-3019 Fax: (213) 489-3062
Default
AT+GTTRI= AT+GTTRI=
www.gtxcorp.com AT+GTTRI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
28

7.2.3 3.2.3 Heart Beat Data for GPRS Active Session


The heart beat data from @Terminal to platform:
AT+GTHBD
Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI

Unique ID, 15 IMEI

Length(byte) Range Default


Parameter
AT+GTBEI= 0 AT+GTBEI=
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Reserved, <=8
Reserved,
Unique ID: The Unique ID <=15
of micro loci terminal is IMEI
Location by call, 1 0|1 0
Count Num: The self-added sequence number will be put into every command send to platform. The
Second server IP, <=15
count is beginning at 0000 and it will return to 0000 when gets to FFFF.
Second server port, <=5
The heart beat data from platform to @Terminal.
Second SMS gateway, <=20
+RESP:GTHBD
Send time 14 YYYYMMDDHHMMSS
Parameter Length(byte) Range Default Value

+ACK:GTSRI, +ACK:GTSRI +ACK:GTSRI


Parameter Length(byte) Range Default
Unique ID,
+ACK:GTBEI, 15 IMEI
+ACK:GTBEI +ACK:GTBEI
Unique ID, 15 IMEI gl100
Length(byte) Range Default
Parameter
Send time, 14 YYYYMMDDHHMMSS
AT+GTBEI= 0 AT+GTBEI=
ACK time 14 YYYYMMDDHHMMSS
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Count Num 4 0000-FFFF
Reserved, <=8
Length(byte) Range
Parameter
Reserved, <=15
Unique ID: The Unique ID of micro loci terminal is IMEI Default
Location
Count by call, 1
Num: The self-added sequence number will
AT+GTTRI= 0|1
be put into every command send to 0
AT+GTTRI= platform. The count
AT+GTTRI=
is beginning
Second at 0000
server IP, and it will
<=15 return to 0000 when gets to FFFF.
Password, 4~8 „0‟ -„9‟ , „a‟ -„z‟ , „A‟ -„Z‟ gl100
Second server port,
Begin Time, <=5
4 0000-2359 0000
Second SMS gateway, <=20
End Time, 4 0000-2359 0000
Send time
Send Interval, GTX 14
3Corp YYYYMMDDHHMMSS
0-999
117 W. 9th Street(Minute)
# 1214 Los Angeles, CA 90015 0
Phone: (213) 489-3019 Fax: (213) 489-3062
Fix Interval, 4 0-9999 (Second)
www.gtxcorp.com 0
Send time
Parameter 14
Length(byte) YYYYMMDDHHMMSSt
Range Default
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
29

4. Develop Guide
7.3 4.1 Register to Platform

The platform can configure the connection parameter by command “AT+GTSRI” and
“AT+GTBEI”. All functions of micro loci terminal are based on the connection.

7.3.1 4.1.1 Connection Mode


7.3.1.1 4.1.1.1 TCP Mode
7.3.1.1.1 4.1.1.1.1 TCP Continuous Mode

• Set connection mode to “TCP Continuous Mode” by command “AT+GTSRI” (Please refer to
chapter 3.1.1);
• In the “TCP Continuous Mode”, the micro loci terminal will connect to the platform by
TCP protocol after power on, maintain the connection and never disconnect by itself. If the
connection drops by the network, the micro loci terminal will try to connect again.
• In the “TCP Continuous Mode”, the micro loci terminal will check the connection status by
heartbeat data. (For heartbeat please refer to chapter 3.2.3).
• About the heart beat data: In the “TCP Continuous Mode”,the micro loci terminal will
send “AT+GTHBD” command to the platform every dedicated time period. (For
“AT+GTHBD” please refer to chapter 3.2.3). The platform shall reply with “+RESP:GTHBD”
command. If the micro loci terminal can‟ t get response from the platform, the
connection will be considered as dropped. (For “+RESP:GTHBD” please refer to chapter
3.2.3)
• The heart beat data only be used in “TCP Continuous Mode”.
• In “TCP Continuous Mode” all data will be sent by GPRS. Set “Report mode” to “Force
on SMS” will be un-useful.
• In “TCP Continuous Mode”, the micro loci terminal will not try to connect second
server or SMS gateway when main server can‟ t be accessed.

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
30

• Example:
Configure the micro loci terminal with:
AT+GTSRI= gl100,0,1,cmnet,cmnet,cmnet,116.228.221.61,4321,+8613888888888,
20080807100001

The configuration is done when the platform receives the following message.
+ACK:GTSRI,098765432123454,20080807100001,20090112104725,000a

Please note the boldfaced “1” in command “AT+GTSRI” means “TCP Continuous Mode”

7.3.1.1.2 4.1.1.1.2 TCP Reconnect Mode

• How about the reconnect?


• Set the “Connection Mode” to “TCP Reconnect Mode” by command AT+GTSRI (Please
refer to chapter 3.1.1).
• In “TCP Reconnect Mode” the micro loci terminal will establish a socket with the
platform for every message.
• In “TCP Reconnect Mode” the report mode can be set to “Default on GPRS” or “Force
on GPRS”. If the report mode is set to” Force on SMS”, the setting of “TCP Reconnect Mode”
on connection mode will be ignored and all report message will be sent by SMS.
• If the connection mode is set to “TCP Reconnect Mode” and the report mode is
“Default on GPRS”. When main server can‟ t be accessed the micro loci terminal will use
second server and SMS gate for backup.
• If the connection mode is set to “TCP Reconnect Mode” and the report mode is “Force
on GPRS”. The micro loci terminal will only use second server for backup. SMS gate will not
be used.
• Example Configure the micro loci terminal with command:
AT+GTSRI=gl100,0,0,cmnet,cmnet,cmnet,116.228.221.61,4321,+8613888888888,
20080807100001
The configuration is done when the platform receives the following message.
+ACK:GTSRI,098765432123454,20080807100001,20090112104725,000a

Please note the boldfaced “0” means “TCP Reconnect Mode”.

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
31

7.3.1.2 4.1.1.2 UDP Mode

Set the “Connection Mode” to “UDP Mode” by command AT+GTSRI (Please refer to
chapter 3.1.1). In “UDP Mode”, all messages will be sent by UDP protocol. In “UDP
Mode”, the “Force on SMS” setting on report mode will be ignored. Example:

Configure the micro loci terminal with command:


AT+GTSRI=gl100,0,2,cmnet,cmnet,cmnet,116.228.221.61,4321,+8613888888888,
20080807100001
The configuration is done when the platform receives the following message:

+ACK:GTSRI,098765432123454,20080807100001,20090112104725,000a
Please note the boldfaced “2” means “UDP mode”

7.3.1.2 4.1.1.2 UDP Mode

Set the “Connection Mode” to “Force on SMS Mode” by command AT+GTSRI (Please refer
to chapter 3.1.1). In “Force on SMS Mode” message will be sent by SMS. In “Force on SMS
Mode”, “Emergency Fixed timing report” will be sent by TCP. Limit to the length of SMS,
report of “+RESP: GTALL” and “+RESP:GTTRI” which contain multi-positions won‟ t be
sent. Example:

Configure the micro loci terminal with command:


AT+GTSRI=gl100,2,0,cmnet,cmnet,cmnet,116.228.221.61,4321,+8613888888888,
20080807100001
Please note the boldfaced “2” means “Force on SMS”

The configuration is done when the platform receives the following message:
+ACK:GTSRI,098765432123454,20080807100001,20090112104725,000a

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
32

7.3.2 4.1.2 Connect to Server Setting


7.3.2.1 4.1.2.1 Set the IP Address and Port of Main Server
• Set the IP address and port of main server with command <AT+GTSRI>,lease refer to
3.1.1.
• The main server will be the first choice of data sending, Except in “Force on SMS mode”
• Example:
Configure the micro loci terminal with command:
AT+GTSRI=gl100,0,1,cmnet,cmnet,cmnet,116.228.221.61,4321,+8613888888888,
20080807100001 In the command “116.228.221.61” is IP address ,“4321” is port
number
The configuration is done when the platform receives the following message:
+ACK:GTSRI,098765432123454,20080807100001,20090112104725,000a

7.3.2.2 4.1.2.2 Set the Phone Number of Main SMS

• Set the phone number of main SMS gateway with command <AT+GTSRI> (ease refer to
3.1.1)
• SMS gateway will be the backup channel of data sending when “Force on SMS mode” or
GPRS is unavailable.
• Example:
Configure the micro loci terminal with command:
AT+GTSRI=gl100,2,0,cmnet,cmnet,cmnet,116.228.221.61,4321, +8613888888888,
20080807100001 In the command “+8613888888888” is the phone number of SMS
gateway. Short code like “10086” is also supported

The configuration is done when the platform receives the following message:
+ACK:GTSRI,098765432123454,20080807100001,20090112104725,000a

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
33

7.3.2.3 4.1.2.3 Set the IP Address and Port of Second Server


Set the IP address and port number of second server with command <AT+GTBEI>(Please
refer to 3.1.2)
In <TCP Reconnect mode>, If the main server can’ t be accessed. The micro loci terminal
will try to send data to second server.
Example:
Configure the micro loci terminal with command:
AT+GTBEI=gl100,,GL100,0,116.228.221.61,7799,+8615921881331,20080807100001 In the
command “116.228.221.61” is the IP address of second server, “7799” is the port
number of second server.
The configuration is done when the platform receives the following message:
+ACK:GTBEI,098765432123454,20080807100001,20090112104725,000a

7.3.3 4.1.3 Set APN Parameter

Set APN parameter with command <AT+GTSRI>(Please refer to chapter 3.1.1);


Parameters:APN, User Name, Password; Example:

Configure the micro loci terminal with command:


AT+GTSRI=gl100,0,1,cmnet,User Name, Password,
116.228.221.61,4321,+8613888888888,20080807100001
In the command “cmnet” is the APN of GPRS network, “User Name” is the user name of
APN, “Password” is the password of APN. The terminal user can get the APN information
from the network provider
The configuration is done when the platform receives the following message:
+ACK:GTSRI,098765432123454,20080807100001,20090112104725,000a

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
34

7.4 4.2 Location by Call


The scope of “Location by call” function is providing a quick way for surveillant to get the
position of micro loci terminal.

The “Location by call” function can be configured by command <AT+GTBEI>

Mode 0: The micro loci terminal will reject all incoming call.
Mode 1: The micro loci terminal will reject the incoming call first. Then try to get the
GPS position, send the position and the phone number of incoming call to the platform.

Example:
The example for Mode 1:
(1)Setting Configure the micro loci terminal with command: AT+GTBEI=gl100, ,
,1, 222.66.38.185,6082,13888888888,20090101000000

(2) Response First the micro loci terminal will response to <AT+GTBEI>
with message: +ACK:GTBEI,135790246811220, 20090101000000,
20090101000002,0010
(3)Get GPS fix and report After Called, the micro loci terminal will report the GPS
information and the phone number of incoming call to the platform:

+RESP:GTLBC,135790246811220,02132523415,1,4.3,92,70.0,1,121.354335,31.222073,04
60,0000,18d8,6141,00,20090101000112,0011

If the micro loci terminal fails on GPS fixing, It will report the latest position of successful
GPS fixing:

+RESP:GTLBC,135790246811220,02132523415,0,4.3,92,70.0,1,121.354335,31.222073,
0460,0000,18d8,6141,00,20090101000112,0011

Command related:
AT+GTBEI
+ACK:GTBEI
+RESP:GTLB

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
35

7.5 4.3 Fixed Timing Report


AT+GTTRI=gl100,1000,2300,5,60, 20090101000000

Start time
End time
Send interval
Fix interval
“Fixed timing report” is the basic function of micro loci terminal. The platform can
configure the “Start time” and “End time” to schedule periodical position report. In the
pre-defined time period the micro loci terminal will power on GPS every “Fix interval” and
report recorded position log to platform every “Send interval” Base on the “Fix interval”
the micro loci terminal will have two modes on how to operate GPS module:
• Normal mode: If the <Fix interval> is longer than 60 seconds the micro loci terminal will
power off the GPS module every time after successful GPS fixing to save
power.
• Emergency mode: If the <Fix interval> is shorter than 60 seconds the micro
loci terminal will never power off the GPS module. Please note that in this
mode the “Send interval” will be forced to be the same as “Fix interval” and
the standby time will be limited.
The rules of Fixed Timing Report:
In the command
AT+GTTRI=<Password>,<Begin time>,<End time>,<Send interval>,<Fix interval>,<Send
Time>:
1. (Begin Time < End Time) means to report in time period (Begin Time,End Time,
every day. (Begin Time > End Time), means to start from the “Begin time”
and stop at “End time” in the next day.

(Begin Time = End Time) means to report during the whole day.
2. If the micro loci terminal is in “Force on SMS” mode, it will only send fixed timing report
when Send interval = Fix Interval, it means the report message will only include one position
record.
3. Please make sure “Send interval / Fix Interval <= 15”
4. If Send interval or Fix Interval is 0, the fixed timing report will be disabled.
5. If Fix interval<60, the micro loci terminal will go to emergency mode, the GPS module
will never be stopped. In emergency mode, the “Send interval” = “Fix interval”, the micro
loci terminal will report every “Fix interval”, and the “Fix interval” will be forced to more
than “5”.

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
36

Examples:
(1)AT+GTTRI=gl100,1000,2300, 5, 60, 20090101000000 Report from 10:00 to 23:00
every day. Power on GPS every 60 seconds and power off it after successful GPS
fixing. Send fixed timing report every 5 minutes. Please note in this example each
fixed timing report message will include 5 position records.

(2)AT+GTTRI=gl100,1000,2300, 5, 30, 20090101000000 The micro loci terminal


will go to emergency mode. The GPS module will never be power off. Report real
time position every 30 seconds.

(3)AT+GTTRI=gl100,1000,1000, 5, 60, 20090101000000 Report


during the whole day.

(4)AT+GTTRI=gl100,1000, 2300, 0, 60, 20090101000000 The


fixed timing report is disabled.

For the detail of report message please refer to chapter 3.2.1.


Commands related:
AT+GTTRI
+ACK: GTTRI
+RESP:
GTTRI

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
37

7.6 4.4 Safe Zone Alarm Setting


User can define up to 5 safe zones on micro loci terminal. The micro loci terminal will
report the status when it enter or leave one of the safe zones.

Each safe zone is defined as a cycle base on centre point and radius. The first zone is Geo-
fence region. Besides the command <AT+GTSZI> from platform, user can also control Geo-
fence region by function key. (Please refer to chapter 4.5.2.2)

Note:
(1) The safe zone checking only happens after successful GPS fixing. The check interval
indicates how often the micro loci terminal will check GPS position.
(2) The micro loci terminal will report a leave status to platform when it leaves any of the
safe zone.
(3) The micro loci terminal will report an enter status to platform when it enters any of the
safe zone.
(4) The report will only happen when the micro loci terminal enter or leave a safe zone.
(5) Before the first successful GPS fixing after power on, The micro loci terminal will
consider itself out of all safe zone. This means if the micro loci terminal power on in one
of the safe zone it will report an enter status to platform. Otherwise it will not report until
the safe zone status changes.

AT+GTSZI=gl100, 1, 121.412248, 31.187891, 1000, 10,


20090101000000 Safe Zone Id
Longitude latitude
Radius Check interval

The example for report message:


+RESP:GTSZI,135790246811220,0,3,0,1,4.3,92,70.0,1,121.354335,31.222073,20090101000
000,0015 The 3 indicates Safe Zone 3, 0 means leave, This report message means the micro
loci terminal left Safe Zone 3, It‟ s current position is( 121.354335,31.222073).
Commands related:
AT+GTSZI
+ACK: GTSZI
+RESP:GTSZI

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
38

7.7 4.5 Key Setting


7.7.1 4.5.1 Power Key Setting
• Configure the function of power key with command <AT+GTSFR> (Please refer to
chapter 3.1.6)
• This command is used to enable/disable power key
• If the power key is disabled the terminal user can‟t power off the micro loci terminal by
power key when it is power on. But if the micro loci terminal is already power off. The
terminal user can power on it by power key even when the power key is disabled.
• Examples:

If you want to disable the power key, Configure the micro loci terminal with
command: AT+GTSFR=gl100,0,1,0,0,0,0,0,5,0,20080102112233 The “ 0” means
disable power key.
The configuration is done when the platform receives the following
message:
+ACK:GTSFR,098765432123454,20080102112233,20090112104725,000a
7.7.2 4.5.2 Function Key Setting
7.7.2.1 4.5.2.1 Function Key Enable/Disable
The function key has two different modes: Geo-Fence mode and SOS mode

• Configure the function with command <AT+GTSFR> (Please refer to 3.1.6);


• This command is used to enable/disable the function key.
• Geo-Fence mode and SOS mode is only useful when the function key is enabled.
• Examples:
If you want to disable the function key, configure the micro loci terminal with
command: AT+GTSFR=gl100,1,0,0,0,0,0,0,5,0,20080102112233 In the command “ 0”
means disable the function key
The configuration is done when the platform receives the following message:
+ACK:GTSFR,098765432123454,20080102112233,20090112104725,000a

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
39

7.7.2.2 4.5.2.2 Geo-Fence Mode of Function Key


• Set the function key to Geo-fence mode with command <AT+GTSFR> (Please refer to
chapter 3.1.6)
• When the function key is in Geo-fence mode, double press on function key in 2
seconds will change the on/off status of Safe Zone 0
• Status of indicate led: When the function key is in Geo-Fence mode, press the function
key, the indicate LED2 will turn blue for 2 seconds, If the terminal user press the function
key again in 2 seconds. The on/off status of safe zone 0 will be reversed.
• The Gen-Fence mode is only useful when the function is enabled.
• Example 1

If you want to set Geo-fence mode by function key, configure the micro loci terminal
with command: AT+GTSFR=gl100,1,1,0,0,0,0,0,5,0,20080102112233 In the command
“0” means Geo-Fence mode

The configuration is done when the platform receives the following message:
+ACK:GTSFR,098765432123454,20080102112233,20090112104725,000a

• Example 2
When the function key is in Geo-fence mode and the safe zone 0 is enabled. Double press
the function key in 2 seconds will disable the status report of safe zone 0.

The configuration is done when the platform receives the following message:
+RESP:GTGEO,357344020001500,0,20090202085415,000a In the command “0” means the
Geo-fence status report on safe zone 0 has been disabled.

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
40

7.7.2.3 5.5.2.2 SOS Mode of Function Key


• Set the function key to SOS mode with command <AT+GTSFR> ( Please refer to
chapter 3.1.6)
• When the function key is in SOS mode, Press the function key for 3 seconds. Then the
micro loci terminal will report a SOS message to platform which includes the position
information
• Indicate led status: When the function key is in SOS mode. Press the function key, then
the indicate led2 will turn blue, If the user release the function key in 3 seconds, the
indicate led2 will be off, nothing will be reported. If the user press the function for more
than 3 seconds, then the indicate led2 will be off after 3 seconds and the SOS report will
be sent to platform.
• The SOS mode is only useful when the function is enabled.
• Example 1
If you want the function key go to SOS mode. Configure the micro loci terminal
with command: AT+GTSFR=gl100,1,1,1,0,0,0,0,5,0,20080102112233 In the
command “1” means SOS mode.

The configuration is done when the platform receives the following


message:
+ACK:GTSFR,098765432123454,20080102112233,20090112104725,000a

• Example 2
When the function is in SOS mode. Press function key for 3 seconds. The platform will
receive the GTSOS message after successful GPS fixing of micro loci terminal.
+RESP:GTSOS,352134010664994,0,0,0,1,0.0,124,32.0,8,121.354532,31.221943,2009022707
1039,0460,0000,18d8,6141,00,000c

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
41

7.8 4.6 Movement Detect


The “Movement Detect” function is used to disable fixed timing report when the micro loci
terminal stays in a place without moving for long time. This will reduce data stream which
is sent by GPRS/SMS greatly.

AT+GTSFR=gl100,1,1,0,0,1,20,500,3,0,20090101000000

Movement detect mode


Move Speed
Move Distance MoveNum

The parameter <Movement detect mode> is used to enable/disable movement detect


function.

The micro loci terminal will check the movement status base on <Move Speed> and
<Move Distance>

How to judge the movement status:


If the distance between current position and previous is longer than <Move Distance>. The
micro loci terminal will be considered as in moving status.
If the current speed is faster than <Move Speed>, the micro loci terminal will be
considered as in moving status.
How to report:
• If(Send interval = Fix interval). Every report message includes 1 position record. The
micro loci terminal will report “MoveNum” messages to platform when it is not
moving.
• If(Send interval != Fix interval). Every report message includes several position log, the
micro loci terminal will report all position logs to platform. But the speed of non-moving
points will be set to -1.

Commands related:
AT+GTSFR
+ACK:
GTSFR
+RESP:GTTRI

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
42

7.9 4.7 Over-speed Alarm


The platform can set a speed threshold to the micro loci terminal. The micro loci
terminal will report its position and speed to platform when it is over speed.

Please note the micro loci terminal will check the speed every time after successful
GPS fixing.

The setting of over speed alarm is done by command <AT+GTRTO>

Example:
(1) Enable over-speed alarm
AT+GTRTO=gl100, 9, 1, 10,20090101000000
Command option
Speed Warn Enable
Speed threshold
This command will enable over speed alarm and the speed threshold is 10km/h.

(2)The response from micro loci terminal


+ACK:GTRTO,135790246811220,SPEED,20090101000000, 20090101000002,0017
(3)The over-speed report message from micro loci terminal
+RESP:GTEST,135790246811220,0,0,0,1,12.3,92,70.0,1,121.354335,31.222073,0460,0000,
18d8,6141,00,20090101000112,0018
(4)Disable over-speed alarm
AT+GTRTO=gl100,9,0,10,20090101000000

Command Related:
AT+GTRTO
+ACK:GTRTO
+RESP:GTEST

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
43

7.10 4.8 Power Management


7.10.1 4.8.1 Power Low Alarm
•When the battery level of micro loci terminal is low, it will report a power low alarm to
platform.
•Example: +RESP:GTPLA,357344020001500,20080111223344,000a

7.10.2 4.8.2 Charge Status Report


• When the charge status of micro loci status is changed, it will report a message to
platform (Please refer to chapter 3.2.2)

• Example 1: When the micro loci terminal goes from normal mode to charge mode, it
will report a GTBTC message to platform as following:
+RESP:GTBTC,001000000000000,20030101120615,000a

• Example 2: When the charge completes the micro loci platform will also send a
GTSTC command to platform as following.
+RESP:GTSTC,001000000000000,20030101120615,000b

7.10.3 4.8.2 Power Up When Charging


• Set “Full Power Up When Charge” function to micro loci terminal with command
<AT+GTSFR> (Please refer to chapter 3.1.6).
• If the “Full Power Up When Charge” is enabled, the micro loci terminal will be fully
powered up by charger. (Include GSM protocol stack and RF). Otherwise it will only go
to charge mode.

• Example: If the platform wants to configure the “Full Power Up When


Charge” function of micro loci terminal. Send the following command to terminal.

AT+GTSFR=gl100,1,1,1,0,0,0,0,5,1,20080102112233 In the
command “1” means enable “Full Power Up When Charge”

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
44

The configuration is done when the platform receives the following message:
+ACK:GTSFR,098765432123454,20080102112233,20090112104725,000a

7.11 4.9 Real Time Operation on micro loci terminal


7.11.1 4.9.1 Get the Latest Successful GPS Fixing Time
• If the micro loci terminal use to has a successful GPS fixing. It will record the latest UTC
time of it. The platform can get this record by command < AT+GTRTO >; The
platform will get the default GPS time if the GPS fixing failed after the terminal is
on.
• Example:
If the platform wants to get the latest successful GPS fixing time of micro loci terminal.
Send the following command to terminal. AT+GTRTO=gl100, 0, 20090202170812
In the command “0” means get the latest successful GPS fixing time.

The command is accepted by micro loci terminal when the platform receives the
following message:
+ACK:GTRTO,357344020001500,LGT,20090202170812,20090202170812, 000a

After that the micro loci terminal will report the latest successful GPS fixing time to
platform with following commands:
+RESP:GTLGT,357344020001500,20090202091014,20090202170812,
000a

7.11.2 4.9.2 Real time Locate


• Example:
If the platform wants to get real time location of micro loci terminal, send the following
command to terminal. AT+GTRTO=gl100, 1, 20090202172647 In the command “1” means get
the real time location of micro loci terminal. The command is accepted by micro loci terminal
when the platform receives the following message:

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
45

+ACK:GTRTO,357344020001500,RTL,20090202172647,20090202172647,000a After that


the micro loci terminal will report real time position to platform with following
commands:
+RESP:GTRTL,357344020001500,0,0,0,1,0.0,189,32.0,6,121.354647,31.222080,20090227
071327,0460,0000,18d8,3072,00,000f

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
46

7.11.3 4.9.3 Get All Configuration Parameters

• Example
If the platform wants to get all configurations parameters of micro loci terminal, send
the following command to terminal. AT+GTRTO=gl100, 2, 20090202172647
In the command “2” means get all configuration of micro loci terminal.

The command is accepted by micro loci terminal when the platform receives the
following message:
+ACK:GTRTO,357344020001500,READ,20090202172647,20090202172647,000a
After that the micro loci terminal will report all parameters with following commands:
+RESP:GTALL,357344020001500,,116.228.221.51,4321,,,13671500000,,0,Geo,121,31,1000,
0,Area1,,,,,Area2,,,,,Area3,,,,,Area4,,,,,0000,0000,60,3600,1,1,0,0,0,0,0,5,0,1,0,20090203
094859,000a
Please be note that “+RESP:GTALL” won‟ t be sent through SMS.

7.11.4 4.9.4 Reboot the micro loci terminal


• Example
If the platform wants reboot the micro loci terminal. Send the following command to
terminal. AT+GTRTO=gl100, 3, 20090202170812 In the command “3” means reboot the
micro loci terminal.
The command is accepted by micro loci terminal when the platform receives the
following message:
+ACK:GTRTO,357344020001500,REBOOT,20090202172647,20090202172647,000a
After that the micro loci terminal will reboot.

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
47

7.11.5 4.9.5 Reset to Default Setting

• Reset the configuration with command <AT+GTRTO>. Then all configuration will be
reset to factory setting except : Main server address and port number, APN,APN user Name,
APN Password, Report mode, Main SMS gate;
• Example
Reset the configuration to factory setting with command:
AT+GTRTO=gl100,4, 20090202172647 In the command “4” means
reset configuration to factory setting.
The command is accepted by micro loci terminal when the platform receives the
following message:
+ACK:GTRTO,357344020001500,RESET,20090202172647,20090202172647,000a
Platform can also check the parameters of micro loci terminal by command <AT+GTRTO>

7.11.6 4.9.6 Get the ICCID of SIM Card

• Example
If the platform wants get the ICCID of SIM card which is inserted in micro loci terminal,
send the following command to terminal. AT+GTRTO=gl100, 5, 20090202172647
In the command “5” means this command is used to get the ICCID of SIM card inserted in
micro loci terminal.

The command is accepted by micro loci terminal when the platform receives the
following message:
+ACK:GTRTO,357344020001500,CID,20090202172647,20090202172647,000a
The micro loci terminal will then report the ICCID with follow message.
+RESP:GTCID,357344020001500,898600120907F6015733,20090203094907,000a

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
48

7.11.7 4.9.7 Get GSM Signal Level

• Example
If the platform wants get the GSM signal level of micro loci terminal, send the following
command to terminal. AT+GTRTO=gl100, 6, 20090202172647
In the command “6” means this command is used to get the GSM signal level of micro
loci terminal.

The command is accepted by micro loci terminal when the platform receives the
following message:
+ACK:GTRTO,357344020001500,CSQ,20090202172647,20090202172647,000a
The micro loci terminal will then report the GSM signal level with follow
message. +RESP:GTCSQ,357344020001500,19,0,20090203094910,000a

7.11.8 4.9.8 Get Firmware Version


• Example
If the platform wants get the software version of micro loci terminal, send the
following command to terminal. AT+GTRTO=gl100, 7, 20090202172647
In the command “7” means this command is used to get the firmware version.

The command is accepted by micro loci terminal when the platform receives the
following message:
+ACK:GTRTO,357344020001500,SWV,20090202172647,20090202172647,000a
The micro loci terminal will then report the firmware version with follow message.
+RESP:GTSWV,357344020001500,1604B01GL100M32_SST34HF3284,V01,20090203094913,0
0 0a

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
49

7.11.9 4.9.9 Get Hardware Version

• Example
If the platform wants get the hardware version of micro loci terminal, send the
following command to terminal. AT+GTRTO=gl100, 8, 20090202172647
In the command “8” means this command is used to get the hardware version.

The command is accepted by micro loci terminal when the platform receives the
following message:
+ACK:GTRTO,357344020001500,HWV,20090202172647,20090202172647,000a
The micro loci terminal will then report the hardware version with follow
message. +RESP:GTHWV,357344020001500,GL100V0103,20090203094914,000a

7.11.10 4.9.9 Get the Battery Level


• Example
If the platform wants get the battery level of micro loci terminal, send the following
command to terminal.
AT+GTRTO=gl100, A, 20090202172647
In the command “A” means this command is used to read the battery level. The command is
accepted by micro loci terminal when the platform receives the following message:
+ACK:GTRTO,001000000000000,CBC,20080711094300,20090210071841,000a The micro loci
terminal will then report the battery level with follow message.
+RESP:GTCBC,001000000000000,94,20090210071841,0008 In the message “94” means 94
percents left.

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
50

7.12 4.10 Buffer Report Function

If the micro loci terminal is not in GSM network coverage, the micro loci terminal will
record the messages need to be sent to platform. The messages will be sent to platform
when the micro loci terminal back to GSM coverage.

The micro loci terminal can record up to 720 messages.

“#BUF#” will be added to all buffered message.

Buffered message only can be sent by TCP or UDP protocol. It can‟ t be sent by SMS.

Sending priority: The buffered messages will be sent after normal messages.

Example The example for buffered messages is as following.

#BUF#+RESP:GTTRI,001000000000000,1,0,0,0,6.7,148,37.0,50,121.354647,31.22171
3 ,20090119020919,0460,0000,18d8,3072,000b

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
51

5. Led Indication
The right LED on the Spark Nano is called LED1. The left
LED is called LED2. Blue LED2 means LED2 is blue.

LED1 Red Case 1: The power key has been pressed


Case 2:The device receives a valid configuration command
Green Case 1: Fast flash means network searching
Case 2: Slow flash means network is registered
Case 3: Solid means SIM pin locked (Three is a bug in the current
firmware on this case )
Blue Fast flash means the GPS is in fixing
Blue LED1 will be solid for 2 seconds when GPS is fixed
LED2 Red Case 1: Solid means power is low
Case 2: Slow flashes when charging
Green Case 1: Solid means charge completed
Case 2: After inserting the serial port, the led will light in the 8
seconds during. It means that the device is checking the battery
status.

Blue Case 1: Geo-Fence mode Blue led2 will be solid if the function
key is pressed. After that if the user press the function key one
more time in 2 seconds the blue LED2 will be off and he new
Geo-Fence center will be set after successful GPS fix.

Case 2: SOS The blue led2 will be solid when the function key is
pressed. It will be off after the function key released. User
should press the function key for at least 3 seconds to start SOS
report.

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com
∞ THE PERSONAL LOCATION SERVICES COMPANY ∞
52

8 Annex 1:Commands Index


AT+GTSRI
+ACK:GTSRI
AT+GTBEI
+ACK:GTBEI
AT+GTTRI
+ACK:GTTRI
AT+GTSZI
+ACK:GTSZI
AT+GTRTO
+ACK:GTRTO
AT+GTSFR
+ACK:GTSFR
+RESP:GTSZI
+RESP:GTSOS
+RESP:GTRTL
+RESP:GTEST
+RESP:GTLBC
+RESP:GTTRI
+RESP:GTPNA
+RESP:GTPFA
+RESP:GTPLA
+RESP:GTBTC
+RESP:GTSTC
+RESP:GTCID
+RESP:GTHWV
+RESP:GTLGT
+RESP:GTCBC
+RESP:GTCSQ
+RESP:GTSWV
+RESP:GTALL
+RESP:GTGEO
AT+GTHBD
+RESP:GTHBD

GTX Corp 117 W. 9th Street # 1214 Los Angeles, CA 90015


Phone: (213) 489-3019 Fax: (213) 489-3062
www.gtxcorp.com