Professional Documents
Culture Documents
Version 1.5
1. Working Mode
This tracker connects to platform server by TCP.
The way for connection is that device connects to the platform server
forwardly.
After connecting to the platform server, tracker will feedback a
enrolling message.
The enrolling message contains the devices ID.
If the device received the answer from the platform server, it will
stop to sending enrolling message but send continuous feedback
message.
The continuous feedback message not contains the device ID.
The platform server binds the device by connection.
One connection represents a device ID.
When the connection cuts off, the device will connect the platform
server automatically and send out a device enrolling message.
Besides, the device will send out a hand-shaking message at
intervals of time.
The hand-shaking message contains the Device ID.
After receiving the handshaking answer message from the
platform server, the device waits for sending the handshaking
message in next period.
V1.5
2008/11/4
2. Message Details
2.1 Data Type definition
Data Type
Instruction
CHAR
C_STRING
N_STRING
H_STRING
HEX_STRING
BIN
BYTE
4 byte
Message Body
Trail
N byte (N1K)
1byte
Each Full data frame must contain: Head symbol, Serial Number/
Time, Command word, Message body, Trail symbol
Sub
Type
P
A
Messa
ge NO
Command description
Remark
00
01
03
04
05
07
11
12
15
Monitor Command
17
00
Common Message
01
Attempt Message
02
03
Calling Message(Taxi)
04
Navigation Message
00
Isochronous
for
configuring 3.1.3
continues
General
communi
cation
message
feedback
01
05
sending
data
transmiting
06
sending
data
transmiting
01
07
Answer Message
successfully (Taxi)
00
00
01
02
03
00
01
02
03
04
05
for
getting
Device
paramete
r
message
customer
Vehicle
positionin
g
Answer
message
Answer
signal
Control
signal
Expandin
g
message
Alarm
messag
e
00
02
Answer
device
message
parameter
configured
03
04
05
Answer
3.2.2
12
device
login
response
message
07
00
01
02
05
06
04
05
06
08
Answer
setting
message 3.2.3
09
20
21
23
00
00
Answer the
3.2.14
00
01
02
R
B
isochronous
feedback
Device
status
messag
e
Vehicle
position
ing
messag
e
Answer
messag
e
The words in red is the functions the device has already: in black
furures options.
6
2.3.3 Device ID
Length15 bytes (Fixed); Type: C_STRING.
FunctionThis field for fixing the device. Only when the device
sends the device login message and handshake message, it will send
the device ID, and other message will not send device ID. The
platform fixes device by device ID. The usual format for device ID
is 0000 + telephone number. The reference format
is : 000013612345678
3. Command Message
3.1.Down MessageSent from Server to Tracker
3.1.1 Answer handshake signal message
Message Field
Beginning identifier
Message
Value
(
Running NO./Time
Type
CHAR
Length
(Character)
1
C_STRING
12
Command word
AP01
C_STRING
Message body
Message
C_STRING
Instruction
content
Message content
HSO
Ending identifier
CHAR
For example
(040331141830AP01HSO )
Figures the sending message time is 2008-8-30-14:18:30, down response
handshake signal message.
Response
No need response
Instruction
Message
Value
(
Type
Length
(Character)
1
CHAR
identifier
Running
C_STRING
12
AP05
C_STRING
Message
Message
C_STRING
none
body
content
NO./Time
Command
word
Message
content
Ending
CHAR
identifier
For example
040331141830AP05
Instruction
Instruction
Message
Value
(
Type
CHAR
Length
(Character)
1
C_STRING
12
C_STRING
C_STRING
Instruction
identifier
Running
NO./Time
Command
AR00
word
Message
Body
Message
AR00XXXXYYZZ
Content
Ending
CHAR
identifier
For example
(040331141830AR0000140024)
Figures the sending message time is 2008-8-30-14:18:30. Down fixed time to
set continues feedback. Feedback GPS data every 20 (16*1 + 4) seconds and
feedback 36 (16 * 2 + 4) minutes in all.
Response
Sending
mode
Instruction
10
Message
Value
(
Type
CHAR
Length
(Character)
1
C_STRING
12
C_STRING
C_STRING
Instruction
identifier
Running
NO./Time
Command
AS01
word
Message body
Message
AS01X
Content
1 Happen accident
2Vehicle
Ending
CHAR
identifier
For example:
(040331141830AS012)
Figures the sending message time is 2008-8-30-14 :18:30, answer the up vehicle
rob police
Response
No need response
Instruction
11
Message
Value
CHAR
Length
(Character)
1
C_STRING
12
AP00
C_STRING
Message
Message
C_STRING
body
content
CHAR
Type
Instruction
identifier
Running
NO./Time
Command
word
Message
body
Ending
identifier
For example:
040331141830AP00
figures the sending message time is 2008-8-30-14 :18:30,closed the oilDown
one time calling message.
Response
Instruction
12
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
AP12
C_STRING
Message
content
C_STRING
Instruction
identifier
Running
NO./Time
Command
word
Message
Body
Message
H050L030
Content
Ending
CHAR
identifier
For example
(080830141830AP12 H050L030 )
figures the sending message time is 2008-8-30-14 :18:30.Setting the up limit
speed is50km/h,low limit is 30km/h.When up limit is 000,it figures cancel alarm
up limit, and When down limit is 000,it figures cancel alarm down limit. Less 3
digits of the speed, full 0 on left. Alarm refer to 3.2.4
Response
BP12
Instruction
13
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
AV00
C_STRING
Message
content
C_STRING
Instruction
identifier
Running
NO./Time
Command
word
Message
Body
Message
Content
Ending
CHAR
identifier
For example
(080830141830AV00 0 )
Figures the sending message time is 2008-8-30-14:18:30, closed the circuit.
Response
BV00
Instruction
14
Message
Value
(
AV01
Type
Length
(Character)
CHAR
C_STRING
12
C_STRING
Instruction
Message
C_STRING
content
1or0,1figures opening oil0figures closing oil
Ending
)
CHAR
1
identifer
For example
(080830141830AV01 0 )
figures the sending message time is 2008-8-30-14 :18:30,closed the oil
Responds
BV00
Instruction
15
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
AT00
C_STRING
Message
Content
no
C_STRING
Instruction
Ending
)
CHAR
1
identifier
For example
(080830141830AT00)
Figures the sending message time is 2008-8-30-14 :18:30,the device restart.
Response
BT00
Instruction
16
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
AR05
C_STRING
Message
content
AR05XXXX
C_STRING
Instruction
AR05Fixed keywords
XXXXThe time for sending data intervals for the ACC Open, hex.
UnitSecond
)
CHAR
1
Ending
identifier
For example
(080830141830AR050014)
Figures the sending message time is 2008-8-30-14:18:30, it sends back intervals
20 seconds when the ACC is opening.
Response
BR05
Instruction
17
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
AR06
C_STRING
Message
content
AR06XXXX
C_STRING
Instruction
AR06Fixed keywords
XXXXThe time for sending data intervals for the ACC Open,
Hex. UnitSecond
Ending
)
CHAR
1
identifier
For example
(080830141830AR06003C)
Figures the sending message time is 2008-8-30-14 :18:30,it sends back intervals
20 seconds when the ACC is closing.
Response
BR06
Instruction
18
Message
Value
(
Type
Length
(Character)
1
CHAR
AX05
C_STRING
12
C_STRING
Message
C_STRING
content
AX05
N,D,
Minlatitude,
Maxlatitude,
Instruction
G,
Minlongitude,
Maxlongitude
AX05Fixed Keywords
N 0 or 1 0, figures cancel Geo-fence, 1figures sets
Geo-fence.
If for cancelling the Geo-fence, the back data cannot be sent
out.
DStandard for latitude, N, north latitude; S: south latitude.
Minlatitude: lower limit for latitude, Format: DDFF.FFF, DD
latitudes degree (00 ~ 90), FF.FFFlatitudes cent
(00.0000 ~ 59.999) reserve three digit decimal
fraction.
Maxlatitude upper limit for latitude, Format: DDFF.FFF, DD
latitudes degree (00 ~ 90), FF.FFFlatitudes cent
(00.0000 ~ 59.999) reserve three digit decimal
fraction.
GStandard for longitude, E, east longitude; S: south longitude.
W: west longitude
Minlongitude: lower limit for longitude, Format: DDDFF.FFFDDD
Longitudes degree (000 ~ 180), FF.FFFlongitudes
cent (00.0000 ~ 59.999), reserve three digit decimal
fraction.
Minlongitudeupper limit for longitude, Format: DDDFF.FFFDDD
Longitudes degree (000 ~ 180), FF.FFFlongitudes
cent (00.0000 ~ 59.999), reserve three digit decimal
fraction.
Ending
)
CHAR
1
identifier
For example
(080830141830AX051, N,2245.318,2246.452,E,11233.232,11355.175)
Figures the sending message time is 2008-8-30-14 :18:30.Set Geo-fence.,lower
limit for latitude is 22
degree
degree
19
Field value
Type
Length
Field
Beginning
Instruction
(byte)
(
CHAR
C_STRING
12
BP00
C_STRING
Device ID
C_STRING
15
C_STRING
identifier
Running
NO./Time
Command
word
Device ID
Message body
Message
0000136123456780HSO
content
Ending
CHAR
identifier
Example
040331141830BP00000013612345678HSO
figures the sending message time is 2008-8-30-14 :18:30.Up data handshaking
message, 000013632782450is devices ID
Response
Instruction
20
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
BP05
C_STRING
Terminal ID
C_STRING
15
C_STRING
60
Instruction
identifier
Running
NO./Time
Command
word
Device ID
Message body
Message
15 terminal
ID GPS data
content
Ending
CHAR
identifier
Example
(080524101241BP05000013632782450080524A2232.9806N11404.9355E000.11
01241323.8700000000L000450AC)
Response
Instruction
21
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
C_STRING
C_STRING
Instruction
identifier
Running
NO./Time
Command word
BS08
Message Body
Message
BS08XXXXYYZZ
Content
Ending identifier
CHAR
Example
040331141830BS0800050014
Showing the time for send message at 14:18:30 March 31,2004return GPS data
every 5 secondstotal of 20 minutes
Response
No need to response
Instruction
22
Message
Value
(
Type
CHAR
Length
(Character)
1
C_STRING
12
C_STRING
C_STRING
61
Instruction
identifier
Running
NO./Time
Command
BO01
word
Message
Body
Message
BO01X+GPS data
Content
BO01Fixed keywords
XSpecific alarm information code1 byteHexadecimal
Alarm information
0Vehicle power off
1Accident
2Vehicle robberySOS
help
3Vehicle anti-theft and alarming
5Overspeed Alert
Ending
4Lowerspeed Alert
CHAR
identifier
Example
080331061830BO019061830A2934.0133
N10627.2544E040.0080331309.6200000000L000770AD
Showing the time for send message at 14:18:30,March 31,2008add 8 hours is
china time. Alarm message and vehicle robberyGPS data acquisition time is March
31,2008 Universal time is 6:18:30 A shows the data available 29
degrees,34.0133 minutes north latitude 106 degrees 27.2544 minutes east
longitudespeed is 040.0 km/hthe angle is 309.62 degrees, from due northL
means the sum of distance, unit is metermileage statistic
Response
Instruction
23
Message
Value
(
Type
CHAR
Length
(Character)
1
C_STRING
12
C_STRING
C_STRING
Random
Instruction
identifier
Running
NO./Time
Command
BP04
word
Message
Body
length
Message
BP04GPS data
Content
Ending
CHAR
identifier
Example
080525141830BP04080525A2934.0133N
10627.2544E000.0141830309.6200000000L00000023
Showing the time for send message at 22:18:30,on May 25.Upterminal news
center response by one roll callGPS data acquisition time is May25,2008
Universal time is 14:18:30A shows the data available29 degrees,34.0133
minutes north latitude106 degrees 27.2544 minutes east longitudespeed
is 0km/hthe angle is 309.62 degrees, from due north.
Response
No
Instruction
24
Message Value
Type
CHAR
Length
(Character)
1
C_STRING
12
C_STRING
Instruction
identifier
Running
NO./Time
Command
BR00
word
Message body
C_STRING
Message body
BR00GPS data
Message
CHAR
content
Ending
identifier
Example
(080612022828BR00080612A2232.9828N11404.9297E000.0022828000.00000
00000L000230AA)
Response
No
Instruction
distance or
receive
the
message
of
stop
25
Message
Value
(
Type
CHAR
Length
(Character)
1
C_STRING
12
C_STRING
C_STRING
Random
Instruction
identifier
Running
NO./Time
Command
BR02
word
Device ID
length
Message
body
Message
CHAR
content
Ending
identifier
Example
Response
No
Instruction
26
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
BP12
C_STRING
Message
Content
C_STRING
identifier
Running
NO./Time
Command
word
Message
body
Message
H0501L030
body
Message
CHAR
content
Ending
identifier
Example
(080831141830BP12 H0501L030 )
Instruction
27
Instruction
Message
Value
(
BV00
Type
Length
(Character)
CHAR
C_STRING
12
C_STRING
Instruction
Message
C_STRING
Content
1or0,1 means circuit has been opened0 means circuit has
been closed
)
CHAR
Response
No
Instruction
28
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
C_STRING
Instruction
identifier
Running
NO./Time
Command
BV01
word
body
Message
C_STRING
content
1or0,1means oil has been opened0means oil has been
closed
Message
Device ID
Message
CHAR
content
Ending
identifier
Example
Response
No
Instruction
29
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
BT00
C_STRING
Message
Content
C_STRING
identifier
Running
NO./Time
Command
word
Message
Body
Message
no
Content
Ending
CHAR
identifier
Example
Response
No
Instruction
30
Instruction
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
BR05
C_STRING
Message
Content
C_STRING
identifier
Running
NO./Time
Command
word
Message
Body
Message
no
Content
Ending
CHAR
identifier
Example
Response
No
Instruction
31
Instruction
Message
Value
(
Length
(Character)
CHAR
C_STRING
12
BR06
C_STRING
Message
Content
C_STRING
identifier
Running
NO./Time
Command
word
Message
Body
Message
no
Content
Ending
CHAR
identifier
Example
Response
No
Instruction
32
Instruction
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
BU00
C_STRING
Message
Content
C_STRING
Instruction
identifier
Running
NO./Time
Command
word
Message
Body
Message
Content
Ending
BU00N
BU00 Command
N0 or 1,0figures answer the cancelling Geo-fence. 1 figures
answer setting Geo-fence.
)
CHAR
1
identifier
Example
Response
No
Instruction
33
4. Appendix
4.1. The format definition of GPS location message
Message
Field
Time
Message
Value
YYMMDD
Type
N_STRING
Length
(Char)
6
Instruction
Two
bytes
for
each
year/month/day
The
CHAR
A or V. A means the
availability
of GPS data
Latitude
N_STRING
090the
N or S
CHAR
indicator
Longitude
N_STRING
10
Longitude
E or W
CHAR
indicator
Speed
Time
HHMMSS
N_STRING
N_STRING
Two
bytes
of
the
year/month/day
Orientation
N_STRING
6
The 8 bits of IO
The first bit representative of
the main power switch, "0"
means the main power-on, "1",
IO State
0 or 1
N_STRING
Milepost
CHAR
L mean Mileage
Mile data
H_STRING
34