Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1. Summarize
This tracker connects to platform server with TCP. The way for
connection is that device connects to the platform server forwardly. After
connecting to the platform server, the 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.
Beside, the device will send out one hand-shaking message intervals of
time. The hand-shaking message contains Device ID. After receiving the
handshaking answer message from the platform server, the device waits
for sending the handshaking message in next period.
2. Message Instrument
2.1 Data Type definition
Data Type
CHAR
C_STRING
N_STRING
H_STRING
HEX_STRING
BIN
BYTE
Instruction
Single ASCII code character
Contain ASCII character string. When fix digits, fill in
Binary system of bank0x20Hon right for lacking digit to
fix a long time except for special instruction.
Contain the digit character string of 0.9. When fix digits,
fill in ASCII code 0(Ox30H) on left for lacking digit
except for special instruction.
Contain the digit character string of O. F. When fix digits,
fill in ASCII code 0(Ox30H) on left for lacking digit
except for special instruction.
Hexadecimal system character string. Such as 1, use 31
for indication. When fix digits, fill in ASCII code 0
(Ox30H) on left for lacking digit except for special
instruction.
Binary system data
8 digits without symbol integer,0..255
Main first
types of
Message
Second
types of
Message
Message
serial NO.
03
04
P
05
07
11
12
15
17
00
01
Q
02
03
04
00
01
05
06
01
Remark
00
A
(Down
Message)
Command description
07
00
00
01
02
Device
parameter
message
General
communica
tion
message
Vehicle
positioning
Message
Answer
message
Answer
signal
Control
signal
03
00
01
02
X
03
04
05
01
02
03
04
05
12
07
B
(Up
Message)
00
01
R
02
05
06
04
05
S
06
08
Expanding
message
Alarm
message
Vehicle
positioning
message
Answer
message
09
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 fixs 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 Messageplatform server sending
3.1.2 Device login response message
Message
Message
Type
Length
4
Instruction
Field
Beginning
identifier
Running
NO./Time
Command
word
Message
body
Message
content
Value
(
(Character)
CHAR
C_STRING
12
AP05
C_STRING
Message
content
C_STRING
non
Ending
)
CHAR
1
identifier
For example
013612345678AP05
13612345678 is tracker ID.
Instruction This message is available to all device
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
Content
AR00XXXXYYZZ
AR00Fixed key words
XXXXInterval for each message of continues feedback. hexUnit
Second, 4 characters in all, H_STRING. The max is 0xFFFF
secondsWhen XXXX0,the device stops continues feedback.
YYZZThe total time for feedback, 16 advance system. Unit
YYHourZZMinute. 4 characters in allH_STRINGThe max
is 0xFFFFie:255 hours 255 minutes. When YYZZ0, according
to the time intervals, continues feedback.
When both XXXX and YYZZ are not 0it figure that feedback
5
CHAR
identifier
For example
(013612345678AR0000140024)
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. 13612345678 is tracker
ID.
Response
Device response BS08
Sending
mode
Instruction
Message
Value
(
AS01
Type
CHAR
Length
(Character)
1
C_STRING
12
C_STRING
C_STRING
Instruction
AS01X
XThe type of alarm for BO01X up alarm message.1character,16
advance system, ASCII character
0Cut off vehicle oil
1 Happen accident
2
Vehicle rob (SOS help)
3Vehicle anti-theft alarm
4Vehicle low speed alarm
5 Vehicle over speed alarm
6. Alarm out of
Geo-fence
Ending
identifier
For example:
CHAR
(013612345678AS012)
Answer the up vehicle rob police, 13612345678 is tracker ID.
Response
No need response
Instruction This message is available to all device
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
AP00
C_STRING
Message
content
C_STRING
Ending
)
CHAR
identifier
For example:
013612345678AP00
Closed the oil.13612345678 is tracker ID.
Response
Device response BP04
Instruction
Message
Value
(
Type
Length
(Character)
CHAR
C_STRING
12
AP12
C_STRING
Message
content
C_STRING
identifier
Running
NO./Time
Command
word
Message
Instruction
Body
Message
H050L030
Content
Ending
CHAR
identifier
For example
(013612345678AP12 H050L030 )
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
13612345678 is tracker ID.
Response
BP12
Instruction This message is available to all device
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
(013612345678AV000)
Closed the circuit, 13612345678 is tracker ID.
Response
BV00
Type
Length
(Character)
CHAR
C_STRING
12
C_STRING
C_STRING
CHAR
Instruction
(013612345678AT00)
The device restart. 13612345678 is tracker ID.
Response
BT00
Instruction This message is available to all device
Type
Length
(Character)
CHAR
C_STRING
12
C_STRING
C_STRING
10
Instruction
Message
content
AR06XXXX
AR06Fixed keywords
XXXXThe time for sending data intervals for the ACC Open,
Hex. UnitSecond
)
Ending
identifier
For example
(013612345678AR06003C)
CHAR
Type
Length
(Character)
CHAR
C_STRING
12
C_STRING
Instruction
C_STRING
Minlatitude,
Maxlatitude,
G,
Minlongitude,
AX05Fixed Keywords
N0 or 10, 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.
Maxlatitudeupper limit for latitude, Format: DDFF.FFF, DD
latitudes degree (00 ~ 90), FF.FFFlatitudes cent
(00.0000 ~ 59.999) reserve three digit decimal
11
fraction.
GStandard for longitude, E, east longitude; S: south longitude. W:
west longitude
Minlongitude: lower limit for longitude, Format: DDDFF.FFF
DDD Longitudes degree (000 ~ 180), FF.FFF
longitudes cent (00.0000 ~ 59.999), reserve three
digit decimal fraction.
Minlongitudeupper limit for longitude, Format: DDDFF.FFF
DDD Longitudes degree (000 ~ 180), FF.FFF
longitudes cent (00.0000 ~ 59.999), reserve three
digit decimal fraction.
)
CHAR
1
Ending
identifier
For example
(013612345678AX051, N,2245.318,2246.452,E,11233.232,11355.175)
Set Geo-fence., lower limit for latitude is 22 degree 45318 centupper limit for
latitude is 22 degree 46.452 cent; lower limit for longitude is 112 degree 33.232
centupper limit for longitude is 113 degree 55.175 cent13612345678 is tracker
ID.
Response
BU00
Instruction This message is available to all device
Message
Field
Beginning
Type
Length
Value
(
(Character)
CHAR
C_STRING
12
BP05
C_STRING
Terminal ID
C_STRING
15
C_STRING
60
identifier
Running
NO./Time
Command
word
Device ID
Message body
12
Instruction
Message
15 terminal
ID GPS data
content
Ending
CHAR
identifier
Example
(013612345678BP05000013612345678080524A2232.9806N11404.9355E000.1101
241323.8700000000L000450AC)
Response
Instruction
Message
Field
Beginning
Type
Length
Value
(
Instruction
(Character)
CHAR
C_STRING
12
C_STRING
C_STRING
identifier
Running
NO./Time
Command word
Message Body
Message Content
BS08
BS08XXXXYYZZ
BS08Fix key words
XXXXinterval of time every each return newsUnitsecond
total of 4 bytesH_STRINGup to 65535 secondsXXXX
0, stop to return message
YYZZtotal return timeUnitYYHourZZMinuteTotal
of 4 byteshexadecimalup to FFFFmeans 255 hours and 255
minutesWhen YYZZ0,then ceaselessly return according to
the interval of time
When XXXX and YYZZ unequal tothen means ceaselessly
13
CHAR
013612345678BS0800050014
Return GPS data every 5 secondstotal of 20 minutes
Response No need to response
Instruction
Message
Field
Beginning
Type
Length
Value
(
Instruction
(Character)
CHAR
C_STRING
12
C_STRING
C_STRING
61
identifier
Running
NO./Time
Command
BO01
word
Message
Body
Message
BO01X+GPS data
Content
BO01Fixed keywords
XSpecific alarm information code1 byteHexadecimal
Alarm information
14
2Vehicle robberySOS
1Accident
help
3Vehicle anti-theft and alarming
5Overspeed Alert
Ending
4Lowerspeed Alert
CHAR
identifier
Example
013612345678BO019061830A2934.0133
N10627.2544E040.0080331309.6200000000L000770AD
Alarm message and vehicle robberyGPS data acquisition time is March 31,2008
Universal time is 6:18:30A shows the data available29 degrees,34.0133 minutes
north latitude106 degrees 27.2544 minutes east longitudespeed is 040.0 km/h
the angle is 309.62 degrees, from due northL means the sum of distance, unit is
metermileage statistic
Response Centre response AS01
Instruction
Message
Field
Beginning
Type
Length
Value
(
(Character)
CHAR
C_STRING
12
C_STRING
C_STRING
Random
length
identifier
Running
NO./Time
Command
BP04
word
Message
15
Instruction
Body
Message
BP04GPS data
Content
Ending
CHAR
identifier
Example
013612345678BP04080525A2934.0133N
10627.2544E000.0141830309.6200000000L00000023
Up terminal newscenter response by one roll callGPS data acquisition time is
May25,2008Universal 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
Message Value
Type
Field
Beginning
Length
CHAR
(Character)
1
C_STRING
12
C_STRING
identifier
Running
NO./Time
Command
BR00
word
C_STRING
Message body
Message body
Message
BR00GPS data
CHAR
content
Ending
16
Instruction
identifier
Example
(013612345678BR00080612A2232.9828N11404.9297E000.0022828000.00000000
00L000230AA)
Response
No
Instruction
Message
Field
Beginning
Type
Length
Value
(
(Character)
CHAR
C_STRING
12
C_STRING
C_STRING
Random
length
identifier
Running
NO./Time
Command
BR02
word
Device ID
CHAR
content
Ending
identifier
Example
Response No
17
Instruction
Instruction
Message
Field
Beginning
Type
Length
Value
(
Instruction
(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
(013612345678BP12 H0501L030 )
Instruction
Message
Field
Beginning
Type
Length
Value
(
(Character)
CHAR
1
18
Instruction
identifier
Serial
number/Time
Command
Word
Message
Body
Message
Content
Close
Identifier
Example
BV00
C_STRING
12
C_STRING
Message
C_STRING
Content
1or0,1 means circuit has been opened0 means circuit has
been closed
)
CHAR
Response No
Instruction This message is available to all device
Message
Field
Beginning
Type
Length
Value
(
Instruction
(Character)
CHAR
C_STRING
12
C_STRING
identifier
Running
NO./Time
Command
BV01
word
Message
C_STRING
content
Message body 1or0,1means oil has been opened0means oil has been
closed
Device ID
Message
CHAR
content
Ending
identifier
Example
19
Response No
Instruction This message is available to all device
Message
Field
Beginning
Type
Length
Value
(
Instruction
(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 This message is available to all device
Message
Field
Beginning
Type
Length
Value
(
(Character)
CHAR
identifier
20
Instruction
C_STRING
12
BR05
C_STRING
Message
Content
C_STRING
Running
NO./Time
Command
word
Message
Body
Message
no
Content
Ending
CHAR
identifier
Example
Response No
Instruction This message is available to all device
Message
Field
Beginning
Type
Length
Value
(
(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
21
Instruction
Response No
Instruction This message is available to all device
Message
Field
Beginning
Type
Length
Value
(
Instruction
(Character)
CHAR
C_STRING
12
C_STRING
Message
Content
C_STRING
identifier
Running
NO./Time
Command
word
Message
Body
Message
Content
Ending
N
Command
N0 or 1, 0figures answer the cancelling Geo-fence. 1 figures
answer setting Geo-fence.
)
CHAR
1
identifier
Example
Response No
Instruction This message is available to all device
22
4. Appendix
Message
Message
Type
Length
Field
Time
Value
YYMMDD
N_STRING
(Character)
6
The
availability of
GPS data
CHAR
Latitude
N_STRING
CHAR
N_STRING
10
E or W
CHAR
HHMMSS
N_STRING
N_STRING
5
6
N_STRING
Latitude
indicator
N or S
Longitude
Longitude
indicator
Speed
Time
Orientation
IO State
0 or 1
N_STRING
23
Instruction
Two
bytes
for
each
year/month/day
A or V. A means the
availability of GPS dataV
means the invalidation of
GPS data.
The unit is degree for he
front two bytesfrom 0
90the unit is cent for later
seven bytes
N
means
north
latitude S means south
latitude
The unit is degree for he
front three bytes, from 0
180the unit is cent for later
seven bytes
E
means
east
longitudeW means west
longitude
The unit is km/h
Two
bytes
of
the
year/month/day
The 8 bits of IO
The first bit representative of
the main power switch, "0"
means the main power-on,
"1", means the main
power-off.
The second bit on behalf of
Milepost
Mile data
CHAR
H_STRING
24
1
8