Beruflich Dokumente
Kultur Dokumente
Control commands
Server
Terminal
*XX,YYYYYYYYYY,V1,HHMMSS,S,latitude,D,longitude,G,speed,direction,DDMMYY,tracker_stat
us#
Confirmation information:
*XX,YYYYYYYYYY,V4,CMD,hhmmss,HHMMSS,S,latitude,D,longitude,G,speed,direction,DDMM
YY,tracker_status#
Explain:
*: Head of command
XX: Name of maker
,: Separator
YYYYYYYYYY: SN of the tracker
CMD : Confirmed command
hhmmss: Time value in confirmed command.
HHMMSS : Time
S : Effective mark of data, A means effective, V means invalid.
Latitude : Latitude, format : DDFF.FFFF, DD : Degree00 ~ 90, FF.FFFF : minute
(00.0000 ~ 59.9999), keep four decimal places.
D : latitude marks (N:north, S:south)
Longitude : longitude, format : DDDFF.FFFF, DDD : Degree000 ~ 180, FF.FFFF : minute
(00.0000 ~ 59.9999), keep four decimal places.
G : longitude marks (E:east, W:west)
Speed: speed, Range of 000.00 ~ 999.99 km/h, Keep two decimal places.
Speed maybe empty, as longitude,G,,direction, means speed is 0.
Direction: Direction angle, north is 0 degrees, resolution 1 degrees, clockwise direction.
Direction maybe empty, as longitude,G,speed,, MMDDYY, azimuth is zero.
DDMMYY: day/month/years
tracker status: Tracker status, 4 bytes, means the trackers status and alarm status, etc.
Hexadecimal values in ASCII characters. Below are the meaning of each byte, use negative logic,
bit=0 is effective.
Bit The first byte
The second
The third byte
The fourth byte
byte
0
0 Reserve 0 Reserved 0
Reserved
1
Theft alarm
d
1
0 Reserve 1
Low
0
Reserved
1
SOS alarm
d
battery
2
0 Reserve 0 Reserved 0
Reserved
1
over speed alarm
d
3
0 Reserve 0 Reserved 0
Reserved
0
Reserved
d
4
0 Reserve 0 Reserved 0
Reserved
1
Enter fence area alarm
d
5
0 Reserve 0 Reserved 0
Reserved
0
Reserved
d
6
0 Reserve 0 Reserved 0
Reserved
0
Reserved
d
7
0 Reserve 0 Reserved 0
Reserved
1
Out of fence area alarm
d
2) upload GSM base station data (BASE)
*XX,YYYYYYYYYY,BASE,HHMMSS,MCC,MNC,LAC,CID,DDMMYY,vehicle_status#
XXName of maker
YYYYYYYYYYID
HHMMSS :time
MCC: country code MCC(3 digital)
MNC: network code MNC(3 digital)
LAC: location area code LAC(5 )
CID: code of base station id CID(5 )
2
DDMMYYday/month/year
tracker status: Tracker status, 4 bytes, means the trackers status and alarm status, etc. Same as
V1 .
*HQ,7893267560,BASE,081606,460,0,9338,3692,220513,FFFFFBFF#
3) tracker request Chinese address instruction
(VI1)
*XX,YYYYYYYYYY,VI1,HHMMSS,S,latitude,D,longitude,G,speed,direction,DDMMYY,vehicle_stat
us#
*: Head of command
XX: Name of maker
,: Separator
YYYYYYYYYY: SN of the tracker
CMD : Confirmed command
hhmmss: Time value in confirmed command.
HHMMSS : Time
S : Effective mark of data, A means effective, V means invalid.
Latitude : Latitude, format : DDFF.FFFF, DD : Degree00 ~ 90, FF.FFFF : minute
(00.0000 ~ 59.9999), keep four decimal places.
D : latitude marks (N:north, S:south)
Longitude : longitude, format : DDDFF.FFFF, DDD : Degree000 ~ 180, FF.FFFF : minute
(00.0000 ~ 59.9999), keep four decimal places.
G : longitude marks (E:east, W:west)
Speed: speed, Range of 000.00 ~ 999.99 km/h, Keep two decimal places.
Speed maybe empty, as longitude,G,,direction, means speed is 0.
Direction: Direction angle, north is 0 degrees, resolution 1 degrees, clockwise direction.
Direction maybe empty, as longitude,G,speed,, MMDDYY, azimuth is zero.
DDMMYY: day/month/years
tracker status: Tracker status, 4 bytes, means the trackers status and alarm status, etc. Same as
V1
*HQ,7893267561,VI1,071047,V,2230.7021,N,11355.1445,E,0.00,000,271112,FFFFFBFF#
Server reply information I1
*XX,YYYYYYYYYY,I1,HHMMSS,Display_Time,Code,Info_lenHQ,Information
Display_Timetime, value range from 5 to 65535 secondsDisplay_Time=0 means 65536
seconds
CodeEncoding0GB23121unicode.
Info_lenHQInfo length0-2550=256
InformationDisplay information , the length does not exceed 256 bytes ( 128 chinese words ) ,
are ASCII character encoding before Information .
Which only supports unicode encoding ,length and time information can be wrong.
*HQ,7893267561,I1,130305,10,1,26,5e7f4e1c77016df157335e02002c767b826f8def002c8d358d
b3504765e5
897f5357003400377c73002c4e2d56fd79fb52a84e1c6ee88def670d52a15385897f531700370039
7c73,22.51170
16666667,N,113.919075,E,150626#
,, 47 , 79
4Tracker request address with other language instruction (V8)
*XX,YYYYYYYYYY,V8,LAG,HHMMSS,S,latitude,D,longitude,G,speed,direction,DDMMYY,vehic
le_status#
*HQ,3533518241,V8,en,094949,A,2234.3017,N,11351.6856,E,000.0,351,200713,FFFFFFFF#
reply: *XX,YYYYYYYYYY,I2,LAG,HHMMSS,Display_Time,Code,Info_lenHQ,Information#
Information: same as VI1.
*HQ,3533518241,I2,en,174953,10,1,26,China ,Guangdong,shenzhen,hongli road .#
5)Tracker request address with cell id code (VI2)
3
*XX,YYYYYYYYYY,VI2,MCC,MNC,LAC,CID,LAC2,CID2,2,00,cn#
MCC,MNC,LAC,CID,LAC2,CID2,
2: means have 2 cell id
10frist digital as 0,means relpy address, the 2nd digital as 0, means reply http :// map link
cn:languagecn is Chinese , en is English, fr is French.
Reply:reply: *XX,YYYYYYYYYY,I3,LAG,HHMMSS,Display_Time,Code,Info_lenHQ,Information#
Information: same as VI1.
FFFFF#
5) Restart command
(R1)
*XX,YYYYYYYYYY,R1,HHMMSS #
For example:
*HQ,7893267561,R1,130305#
Tracker received the order will be restart.
6) Get trackers battery life,GSM and GPS Work status CK
*XX,YYYYYYYYYY,CK,HHMMSS#
tracker
reply
*HQ,2020916012,V4,CK,gsm,gps,bat,
130305,050315,A,2212.8745,N,11346.6574,E,14.28,028,220902,FFFFFBFF#
gsm 0-31
gps Number of GPS satellite
bat battery life Grade 1-6, 1 is low, 6 is highest
FFBFF#
11Remote upgrade
* XX,YYYYYYYYYY,,UP,URL, HHMMSS #
URL:download link
For example:
Server sends:
*HQ,0000000000,UP,http://www.gps123.org/g19_updata/g19_test/jt_ads.bin, 050305#
Tracker reply
*HQ,2020916012,V4,UP,http://www.gps123.org/g19_updata/g19_test/jt_ads.bin,130305,050315,
A,2212.8745,N,11346.6574,E,14.28,028,220902,FFFFFBFF#
12). Upload Multi Base Station Data.(NBR)
Format:
*XX,YYYYYYYYYY,NBR,HHMMSS,MCC,MNC,TA,NUM,LAC,CID,RXLEV ,LAC,CID,RXLEV.,
DDMMYY,vehicle_status#
XX: Name of maker
YYYYYYYYYY: ID
HHMMSS: time
MCC: Country code MCC(3 digital)
MNC: Network code MNC(3 digital)
NUM: The number of base station, max 6pcs.
TA: GSM time delay
LAC: Location area code LAC(5 digital)
CID: Code of base station id CID(5 digital)
RXLEV: Signal strength
DDMMYY: day/month/year
vehicle_status: like sos etc.
For example:
*HQ,7893267560,NBR,081606,460,0,1,4,9338,3692,150,9338,3691,145,9338,3690,140, 9338,3
692,139,220513,FFFFFBFF#