C11 C13 Protocol
C11 C13 Protocol
#:Terminator
Description: Every time the device disconnects from the server, it needs to
re-send the login package
20150608140830 Server UTC0 time
Example:
TRVYP03080524A2232.9806N11404.9355E000.1061830323.8706000908000102000,460,0,9520
,3671#
Detailed :TRV Identifier
A: "A" means the data is valid, "V" is invalid, if it is V, then take LBS data
2232.9806N11404.9355E000.1: , If the latitude and longitude are invalid, it can be all 0 by
default, such as 0000.0000N00000.0000E
北纬 22 度 32.9806 分,东经 114 度 04.9355 分,速度为 000.1 km/h
22 degrees 32.9806 minutes north latitude, 114 degrees 04.9355 minutes east longitude, speed
000.1 km/h
061830: 06:18:30 GMT
323.87: Direction angle 323.87°
02--Power saving working status (TCP short connection mode) ; 0--The state of the car's oil
1--Disassembled,2--No disassembly;
mobile,9520:LAC,Decimal,3671,CID,Decimal
If the status in the GPS data packet is V, or the latitude and longitude is
TRVZP03#
Description: 1. The location package server can save some traffic without
responding, and the integration can confirm with the server whether
2. The location packet is parsed by length, and the length of the data
packet and the content of the data bits must be consistent with the
Example:
TRVYP05080524A2232.9806N11404.9355E000.1061830323.8706000908000102000,460,0,9520
,3671,00,zh-cn,00#
详解:TRV 标识符
A: "A" means the data is valid, "V" is invalid, if it is V, then take LBS data
2232.9806N11404.9355E000.1: ,If the latitude and longitude are invalid, it can be
all 0 by default, such as 0000.0000N00000.0000E
22 degrees 32.9806 minutes north latitude, 114 degrees 04.9355 minutes east longitude, speed
000.1 km/h
061830: 06:18:30 GMT
323.87: Direction angle 323.87°
00--None or not set , 01--defended , 02--Undefended ; 02--The current working status of the
02--Power saving working status (TCP short connection mode) ; 0--The state of the car's oil
1--Disassembled,2--No disassembly
460,0,9520,3671 : LBS Base station data,MCC Country code,460 For China,0:MNC,0 For China
Mobile,9520:LAC,Decimal,3671,CID,Decimal
The second 0: whether the address information contains a mobile phone hyperlink, 0 does not
contain, 1 contains
response: The platform responds to ZP05.If the content of the reply address is not required,
TRVZP056df157335e0253575c71533a53576d775927905300310030003700395
3f7002000200068007400740070003a002f002f007700770077002e00670070007
3002e0063006f006d002f006d00610070002e0061007300700078003f006c00610
074003d00320033002e0031003200330026006c006e0067003d00310031003300
2e003100320033#
The content of the platform's response address is HEX's UNICODE code,
not plain text. The above example content is:
1079 Nanhai Avenue, Nanshan District, Shenzhen
http://www.gps.com/map.aspx?lat=23.123&lng=113.123
The content language is automatically judged according to the language in
the YP05 data package, and whether to reply to the hyperlink is also judged
according to the YP05 status
UNICODE code uses BIG-ENDIAN (BE) instead of BOM。
Description: 1. The package server must respond;
2. The location packet is parsed by length, and the length of the data packet and
the content of the data bits must be consistent with the protocol, otherwise it
Example:
TRVWP020000080020#
WP02: Command word
000008: The server issues a serial number and the terminal returns
Example:
TRVYP07, 060009080000200301010100201111#
YP07:Command word
When the device is at rest, the instruction can be used to maintain connection with the
state : 0--This feature does not exist , 1--Disassembled , 2--No disassembly ; 02--The current
working status of the equipment:00--None or not set,01--Continuous positioning state (TCP long
1 --Oil state, 1 is open (recovering oil state, oil is on state), 2 is off (oil state is off, oil is off state)
1 --Power status, 1 is on (power is restored, power is on), 2 is off (power is off, power is off)
1--External power supply status, 1. Means external power supply is connected, 2. Means no
external power supply is connected (external power supply is disconnected and considered to be
1:-- Equipment motion status 1 means the equipment is in motion 2 means the equipment is in a
response: TRVZP07#
Description: The upload frequency of heartbeat packets should not exceed 5 minutes,
and 3 minutes is recommended. Too long will easily cause the operator to
000001: The server issues a serial number and the terminal returns
Example:
TRVBP030000020#
BP03: Command word
000002: The server issues a serial number and the terminal returns
Example:
TRVBP040000030#
BP04: Command word
000003: The server issues a serial number and the terminal returns
Example:
TRVAP14,460,0,9520,3671#
AP14: Command word
460,0,9520,3671 : LBS Base station data,MCC Country code,460 For China,0:MNC,0 For China
Example:
TRVBP74000001,600,120#
TRV: identifier
BP73: Command word
000001: The server sends a serial number and the terminal returns
600: Indicates the duration, limit input 0-999
120: means overspeed, limit input 0-999
#: terminator
response: Terminal reply TRVAP740000010#
000001: The serial number issued by the server, the device returns
示例:
TRVDP03000001,180#
TRV: identifier
DP03: Command word
000001: The server sends a serial number and the terminal returns
180: Indicates the time interval for uploading heartbeat packets. Unit: second, limit input 120-300
#: terminator
response: Terminal reply TRVCP030000010#
000001: The serial number issued by the server, the device returns
0: Command execution status, 0 success, 1 failure
Example:
TRVAP57,868016804152425,1,00,60,13410937109|13310937109|13501837108#
AP57: Command word
868016804152425:Device IMEI number
1 :Armed and disarmed state 1 means arming, 0 means disarming
0 :The oil state of the car, 0 means no such state, 1 means the oil is on, 2 means the oil is off
0 :The electric state of the car, 0 means no such state, 1 means power is on, 2 means power is off
60 : Indicates that the upload frequency interval is in seconds, and 60 means that the packet
interval (frequency) is 60 seconds
13410937109|13310937109|13501837108 : The length and number of SOS numbers are not
limited, and the numbers are separated by "|"
response: TRVBP57,OK#
2. If the device does not receive a reply from the platform within 2 minutes of
reporting status data, the device will consider continuing to report status
3. When the item that contains this agreement in the device changes, it will report
this status, and the platform can keep in sync with the device after receiving it.
#: Terminator
#: Terminator