Professional Documents
Culture Documents
G500 OBD Protocol-01
G500 OBD Protocol-01
V2.0
Confidential
All informed persons in this document, this document regarded as an obligation of confidentiality
shall not in any form all or part of this document dissemination to third parties, particularly those
engaged in the same business of the Company's competitors, otherwise, due to the leak of
information business caused by direct or indirect losses, the company shall be entitled in accordance
with the law of the location or the infringing party of its legal accountability.
3. Protocol details
3.1 introduce
The product made of binary form of expression, tentatively divided into general, GSM, GPS, OBD,
peripherals, remote upgrade command. Different products are a combination of these modules
instruction. All command words using two bytes, where the first digit indicates the type of command,
the second digit indicates that the command number, where 0x01 - 0x7F indicates a command
server to the device, the device corresponding response 0x81 - 0xFF, that is, each type command
only a maximum of 127 commands. When only the upstream or downstream of the command, the
(Table 1)
command)
GSM 0x10 The type command is used to set the GSM module
command IOS upgrade, you must expand outside the flash only
0x50,0x51,0x52 ......
(Table II)
character
other forms, such as direct use of SIM card, but the length
must not be over 12, and must be all digital)
parameters.
Parameter
Remark:
1. If not specified, all speed units used in this Agreement are KM / H, All times are GMT adoption
2. All instruction content (apart from the start terminator), and all the will '(', ')', and these three
characters 0x3D escape, escape method including: plus character 0x3D front byte, then XOR 0x3D ,
command 0x00 0x01 –> 0x00 0x81(Wherein the previous command issued on behalf of the
word host computer to the device under, after a request under the command bit
command machine response, similar to all of the following will not be repeated)
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x01 0x00 0x01 0x00 0x35 0x29
sample
command 0x28 is starting character ,0x30 0x14 0x04 0x14 0x00 0x01represent device ID
plain command contents,the 1st byte represent operate type is check ,have no other
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x81 0x00 0x0E
expected 0x77,0x77,0x77,0x2E,0x62,
return 0x28 is starting character,0x30 0x14 0x04 0x14 0x00 0x01represent device ID
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x02 0x00 0x01 0x00 0x36 0x29
sample
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x82 0x00 0x10 0x5A 0x4A 0x38 0x30
expected 0x30 0x30 0x5F 0x32 0x30 0x31 0x34 0x30 0x34 0x30 0x34 0x41 0xDA 0x29
result
return 0x5A 0x4A 0x38 0x30 0x30 0x30 0x5F 0x32 0x30 0x31 0x34 0x30 0x34 0x30 0x34
explain
word
Function set/check device ID number
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x03 0x00 0x07 0x01 0x30 0x14 0x04
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x03 0x00 0x01 0x00 0x37 0x29
//check
command setup:0x01 0x30 0x14 0x04 0x14 0x00 0x01is comammand contents1st byte
parameterex 0x01represent operate tye is setup, 0x30 0x14 0x04 0x04 0x00 0x01 the set ID
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x83 0x00 0x06 0x30 0x14 0x04 0x14
result
return 0x30 0x14 0x04 0x04 0x00 0x01 is command contents ,ie ID number is
parameter 301404140001
explain
remark Set and return the query result is the same, which is now the parameters have been
set in device
word
sample
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x84 0x00 0x00 0xB1 0x29
expected
result
return None
parameter
explain
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x05 0x00 0x01 0x01 0x30 0x29
sample
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x85 0x00 0x00 0xB0 0x29
expected
result
return none
parameter
explain
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x06 0x00 0x02 0x01 0x01 0x32 0x29
sample //setup
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x06 0x00 0x01 0x00 0x32 0x29 //check
command setup :0x01 0x02is command contents,the 1st byte 0x01represent setup ,the 2nd
parameterex byte 0x01 represent turn on power saving mode,0x00represent not turn on power
plain saving mode, after turn on power saving mode, device will enter sleep mode after
vehicle CAN entered sleep mode. After device sleep, GPS module will close off, GSM
enter sleep mode, but SMS and calling can wake up device, BUT GPRS disconnect,
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x86 0x00 0x01 0x01 0xB0 0x29
expected
result
parameter
explain
remark
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x07 0x00 0x03 0x01 0x01 0xE0 0xD1
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x07 0x00 0x01 0x00 0x33 0x29 //check
command setup :0x01 0x01 0xE0is command contents,0x01represent setup ,0x01 0xE0 is the
plain 480munites,namely +8 time, and the highest of 1st byte represents simbol,when
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x87 0x00 0x02 0x01 0xE0 0xC7 0x29
expected
result
explain
remark
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x88 0x00 0x09 0x01 0x28 0x04 0x14
sample 0x09 0x00 0x04 0x00 0x5A 0x97 0x29 //without GPS location data, default with
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x88 0x00 0x12 0x01 0x28 0x04 0x14
0x09 0x00 0x04 0x22 0x43 0x88 0x16 0x11 0x34 0x91 0x23 0x97 0x00 0x5A 0xE6
command When length is 0x00 0x09 represent alarm data include time data but without
parameter location data, when length is 0x00 0x12 represent alarm data not only contain time
explain data but also location data , device defaults contain location data in alarm data if
Parameters the 1st byte 0x01 represent alarm code (table 4)。
Without gps data alarm 0x28 0x04 0x14 0x09 0x00 0x04 represent time of alarm ,
such as the front 2 point in (table 5) 。0x00 0x5A meaning such as the example
parameter, then the 2 bytes are 0x00 0x00,if parameter only has 1 byte, then the
first default 0x00,the 2nd byte represent the meaning of parameter ,it example
represent current speed up to 90KM/H,generated over speed alarm;
with gps databank alarm message 0x28 0x04 0x14 0x09 0x00 0x04 0x22 0x43 0x88
0x16 0x11 0x34 0x91 0x23 0x97represent date time location data,meansing show as
(Table 5). 0x00 0x5A meaning same as data without GPS,represent alarm parameter.
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x08 0x00 0x02 0x01 0x01 0x97 0x29
expected
result
explain
remark Send command by device, central confirm, if setup alarm no need central confirm,
(表四)
Code alarm name Alarm command Alarm setup 1st Alarm setup 2nd
Meaning
alarm namely high bit overspeed threshold unit continuous time, how
speed default 5S
fatigue driving
4 Charging 1 byte ,current car 1 byte represent ,low 1 byte represent ,high
abnormal actual value *10 value ,actual value*10, value,actual value *10,
12.5V) 14.5V)
number
temperature Coolant
temperature,
Unit ℃
temperature
reminder
cleaning
reminder
door
on
endurance mileage,Unit KM
50KM
added,Unit L,when
send report
reduce reduced,Unit L,
reminder when over than 5L
vibration alarm
vehicle
protocol
acceleration
deceleration
(table 5)
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x09 0x00 0x03 0x01 0x01 0x01 0x3E 0x29
sample //setup
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x09 0x00 0x02 0x00 0x01 0x3F 0x29
//check
command setup :0x01 0x01 0x01represent command contents,the 1st 0x01 represent setup ,
parameterex the 2nd 0x01 represent alarm code,details refer to (table 4),the 3rd 0x01 represent
code
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x89 0x00 0x02 0x01 0x01 0x97 0x29
expected
result
return 0x01 0x01 the 1st is alarm code, 2nd is alarm code Delivery mechanism
parameter
explain
remark Default All alarm command without GPS do not contain GPS location information,
(table 6)
ing need server confirm. 0 alarm send via alarm sending alarm
send 3 times data at every not send SMS or LBS),0 byte have no
without
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x0A 0x00 0x06 0x01 0x01 0x00 0x50
sample 0x00 0x05 0x4F 0x29 //setup ,the command length fixed
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x0A 0x00 0x02 0x00 0x01 0x33 0x29
//check
command setup :0x01 0x01 0x00 0x50 0x00 0x05 is command contents,the 1st 0x01represent
parameterex setup ,the 2nd 0x01 is alarm code ,0x00 0x50 0x00 0x05 is setup alarm
plain parameters ,detailed meaning refer to (table 4),0x00 0x50 is the 1st parameter,
is over speeding threshold value ,if the parameter only 1 byte ,then the 1st byte
default is 0x00,the 2nd byte is actual parameter 。0x00 0x05 is the 2nd parameter,
is the alarm lasting time,if the alarm is only 1 byte , then the 1st byte default is
0x00,the 2nd byte is actual parameter 。if only has 1 parameter,then the 2nd
check: 0x00 0x01, the 0x00 represent check 0x01 represent need check the alarm
code
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x8A 0x00 0x05 0x01 0x00 0x50 0x00
result
return 0x01 0x00 0x50 0x00 0x05 is setup overs peeding alarm’s threshold value is
explain
remark
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x0B 0x00 0x09 0x01 0x74 0x65 0x73
command setup:0x01 0x74 0x65 0x73 0x74 0x5F 0x30 0x30 0x31 is command contents,
parameterex 0x01represent setup ,0x74 0x65 0x73 0x74 0x5F 0x30 0x30 0x31 is setup device
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x8B 0x00 0x08 0x74 0x65 0x73 0x74
result
return 0x74 0x65 0x73 0x74 0x5F 0x30 0x30 0x31 is the set device name test_001
parameter
explain
remark device name only shown when the device number to send text messages to owners
word
Function 服务器给设备授时。当设备一直无法获取正确的时间的时候,服务器可以通过该指令对设备
been unable to get the correct time, the server can be granted by the instruction
command 0x01 0x14 0x04 0x14 0x09 0x00 0x04is command contents,0x01represent setup ,
parameterex 0x14 0x04 0x14 0x09 0x00 0x04 为授时时间,BCD 码 represent ,日月年时分秒格式,
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x8C 0x00 0x01 0x01 0xC7 0x29
expected
result
explain 备授时是丌成功的
remark
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x0D 0x00 0x05 0x01 0x00 0x01 0x14
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x0D 0x00 0x01 0x00 0x30 0x29 //check
command setup :0x01 0x00 0x01 0x14 0x09is command contents,0x01represent setup ,0x00
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x8D 0x00 0x04 0x00 0x01 0x14 0x09
result
parameter
explain
取原车里程,标定是丌成功的。返回的将是读取到的仦表盘里程
word
Function 设备发出,服务器丌需要回复
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x8E 0x00 0x08 0x01 0x00 0x28 0x04 0x14
command 0x01 0x00 0x28 0x04 0x14 0x09 0x00 0x04:其中 the 1st byte represent 唤醒 or 休眠,
return
expected
result
return
parameter
explain
remark
word
Function 上位机下发该指令,设备将通过软件的方法对各模块电路进行检查,并给出检查结果
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0x7F 0x00 0x01 0x00 0x30 0x29
sample
command none
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x00 0xFF 0x00 0x04 0x12 0x06 0x00 0x01 0xC7
expected 0x29
result
return 0x12 0x06 0x00 0x01is command contents,the 1st byte 0x12represent GSM 信号
时,represent 该部分电路正常
remark 工厂测试指令
(表七)
位 BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x01 0x00 0x1B 0x01 0x31 0x30 0x30
sample 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2C 0x31 0x30 0x30
0x30 0x2C 0x43 0x4D 0x4E 0x45 0x54 0x1B 0x29 //setup ip 地址、端口、APN
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x01 0x00 0x17 0x01 0x77 0x77 0x77 0x2E
0x61 0x61 0x61 0x2E 0x63 0x6F 0x6D 0x2C 0x31 0x30 0x30 0x30 0x2C 0x43 0x4D
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x01 0x00 0x01 0x00 0x1B 0x29 //check
command 注意:该指令把所有的服务器信息都放到了一条指令,是考虑到更改完设备就自劢重新连接,
开。
setup IP: 0x01 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31
0x30 0x30 0x2C 0x31 0x30 0x30 0x30 0x2C 0x43 0x4D 0x4E 0x45 0x54,the 1st byte
setup 域名:0x01 0x77 0x77 0x77 0x2E 0x61 0x61 0x61 0x2E 0x63 0x6F 0x6D 0x2C
0x31 0x30 0x30 0x30 0x2C 0x43 0x4D 0x4E 0x45 0x54,the 1st byte 0x01represent
CMNET。
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x81 0x00 0x1A 0x31 0x30 0x30 0x2E
expected 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2C 0x31 0x30 0x30
result 0x30 0x2C 0x43 0x4D 0x4E 0x45 0x54 0x97 0x29
return 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2C
parameter 0x31 0x30 0x30 0x30 0x2C 0x43 0x4D 0x4E 0x45 0x54,即
explain 100.100.100.100,1000,CMNET
remark 该地址只允许串口修改,远程丌能修改该地址。
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x02 0x00 0x1B 0x01 0x31 0x30 0x30
sample 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2C 0x31 0x30 0x30
0x30 0x2C 0x43 0x4D 0x4E 0x45 0x54 0x1B 0x29 //setup ip 地址、端口、APN
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x02 0x00 0x17 0x01 0x77 0x77 0x77 0x2E
0x61 0x61 0x61 0x2E 0x63 0x6F 0x6D 0x2C 0x31 0x30 0x30 0x30 0x2C 0x43 0x4D
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x02 0x00 0x01 0x00 0x1B 0x29 //check
command setup IP: 0x01 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31
parameterex 0x30 0x30 0x2C 0x31 0x30 0x30 0x30 0x2C 0x43 0x4D 0x4E 0x45 0x54,the 1st byte
setup 域名:0x01 0x77 0x77 0x77 0x2E 0x61 0x61 0x61 0x2E 0x63 0x6F 0x6D 0x2C
0x31 0x30 0x30 0x30 0x2C 0x43 0x4D 0x4E 0x45 0x54,the 1st byte 0x01represent
CMNET。
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x82 0x00 0x1A 0x31 0x30 0x30 0x2E
expected 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2C 0x31 0x30 0x30
result 0x30 0x2C 0x43 0x4D 0x4E 0x45 0x54 0x97 0x29
return 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2E 0x31 0x30 0x30 0x2C
parameter 0x31 0x30 0x30 0x30 0x2C 0x43 0x4D 0x4E 0x45 0x54,即
explain 100.100.100.100,1000,CMNET
remark 该地址只能由远程修改,而且只能是均衡服务器修改,数据采集服务器本身丌允许修改该地
址。
设备收到该指令以后,回复完指令将自劢断开不均衡服务器的连接,自劢连接数据采集服务
器。
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x03 0x00 0x02 0x01 0x01 0x1B 0x29
sample //setup
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x03 0x00 0x01 0x00 0x1B 0x29 //check
command setup : 0x01 0x01the 1st 0x01represent setup ,the 2nd represent 开启基站定位功
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x83 0x00 0x01 0x01 0x97 0x29
expected
result
parameter
explain
remark
word
Function setup /check 车主的手机号码
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x04 0x00 0x08 0x01 0x08 0x61 0x38
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x04 0x00 0x01 0x00 0x1B 0x29 //check
command setup :0x01 0x08 0x61 0x38 0x00 0x00 0x00 0x00 为指令内容,the 1st byte
parameterex 0x01represent setup ,0x08 0x61 0x38 0x00 0x00 0x00 0x00represent setup 的手机
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x84 0x00 0x07 0x08 0x61 0x38 0x00
result
return 0x08 0x61 0x38 0x00 0x00 0x00 0x00 表 is command contents, 0x08 0x61 0x38 0x00
explain
remark
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x05 0x00 0x08 0x01 0x77 0x65 0x62
command setup :0x01 0x77 0x65 0x62 0x2C 0x77 0x65 0x62represent command contents ,
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x85 0x00 0x07 0x77 0x65 0x62 0x2C
result
return 0x77 0x65 0x62 0x2C 0x77 0x65 0x62 表 is command contents,represent setup 的
explain
remark
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x06 0x00 0x01 0x00 0x1B 0x29 //check
sample
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x86 0x00 0x0F 0x33 0x35 0x35 0x05 0x00
expected 0x00 0x54 0x92 0x97 0x29
result
return 0x03 0x50 0x05 0x05 0x00 0x00 0x54 0x92 表 is command contents,由于 IMEI 为 15
explain
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x07 0x00 0x03 0x01 0x00 0xB4 0x1B
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x07 0x00 0x01 0x00 0x1B 0x29 //check
command setup :0x01 0x00 0xB4 为指令内容,the 1st byte 0x01represent setup ,0x00
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x87 0x00 0x02 0x00 0xB4 0x97 0x29
expected
result
parameter
explain
remark
word
Function 设备上传心跳包,服务器丌必回应
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x10 0x88 0x00 0x00 0x1B 0x29
sample
command none
parameterex
plain
return none
expected
result
return none
parameter
explain
4.3.1 setup /check GPS location data upload channel and interval
word
Function setup /check GPS location data upload channel and interval
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x01 0x00 0x06 0x01 0x00 0x00 0x1E 0x00
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x01 0x00 0x01 0x00 0x1B 0x29 //check
command setup : 0x01 0x00 0x00 0x1E 0x00 0x00the 1st 0x01represent setup 。the 2nd byte
丌上传,default 0S。
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x81 0x00 0x05 0x00 0x00 0x1E 0x00 0x00
result
parameter
explain
remark
word
sample
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x82 0x00 0x21 0x01 0x00 0x03 0x28
expected 0x04 0x14 0x09 0x00 0x04 0x22 0x43 0x88 0x16 0x11 0x34 0x91 0x23 0x97 0x00
result 0x60 0x09 0x17 0x94 0xD0 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0xA5 0xDF
0x29
return 0x01 0x28 0x04 0x14 0x09 0x00 0x04 0x22 0x43 0x88 0x16 0x11 0x34 0x91 0x23
parameter 0x97 0x00 0x60 0x09 0x17 0x94 0xD0 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x03
GPS 位置信息,上传间隔也跟着顺延。
(表八)
实时数据
2 Journey ID 2 用来记录该数据是属于哪个行程
0x00 0x04
系统需乘以 2,则还原为实际方向角度.
12 Mileage 4 当设备能读到原车里程的时候,该里程为仦表盘里程。否则为标
13 Device status 4 4 个字节,其中 the 1st byte 暂时保留,the 2nd byte 的定义如
(表十)所示,第三个字节的定义如(表十一)所示,第四个字节(表十
二)所示
14 reserve 2
(表九)
BITX explain
GPS blind.
N,0represent S
E,0represent W
(表十)
位序 explaination 1 0
BIT4-BIT6 如(表十八)
BIT7 保留
(表十一)
位序 explaination 1 0
些信号产品丌支持,default 为
0)
BIT6 中控锁状态 上锁 开锁
(表十二)
位序 explaination 1 0
BIT0 GPS 模块 异常 正常
BIT1 超速 超速 正常
driving driving
BIT3 充电电路 异常 正常
BIT4 冷却液温度高 过高 正常
(表十八)
41-2
4.3.3 setup /check GPS+OBD Mixed information upload interval
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x03 0x00 0x03 0x01 0x00 0x1E 0x1B
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x03 0x00 0x01 0x00 0x1B 0x29 //check
command setup : 0x01 0x00 0x1E the first 0x01represent setup 。the 2nd and 3rd byte
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x83 0x00 0x01 0x00 0x1E 0x97 0x29
expected
result
parameter
explain
remark Mixed data only upload when vehicle ignition on status, and transmit via GPRS
channel only, for device combined OBD and GPS , during vehicle ignition on period,
device default upload mixed data, and not upload separate GPS location data or
OBD data.
4.3.4 Request /upload GPS + OBD mixed data
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x04 0x00 0x01 0x00 0x16 0x29
sample //request
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x84 0x00 0x34 0x01 0x00 0x03 0x28
expected 0x04 0x14 0x09 0x00 0x04 0x22 0x43 0x88 0x16 0x11 0x34 0x91 0x23 0x97 0x00
result 0x60 0x09 0x17 0x94 0xD0 0x00 0x00 0x01 0x00 0x00 0x00 0xA5 0x43 0x88 0x16
0x11 0x34 0x91 0x23 0x97 0x00 0x60 0x09 0x17 0x94 0xD0 0x00 0x00 0x01 0x00
parameter
explain
remark 0x20 0x84 represent uploading GPS data initiatively, upload interval and channel is
setup by 4.3.3. Also can upload via 0x20 0x04 single request,when device
receive single request from center, device will uploading initiatively one
interval also will be postpone. If device setup mixed data upload, when in
bland area, it also will save 60 mixed blind data, when signal recover back,
will upload to server.
If data upload mode is seperate upload, single request won’t get response.
(table 13)
0x45 0x67
7 course status 0.5 GPS is positioning or not, east and west, south and north etc.
further refer(table 9)
9 direction 1 Current direction, Unit: degree, device will divide 2 for the
direction degree.
10 GPS satellite 1 Current GPS satellite quantity
qty
11 GSM signal 1 It indicates that the current GSM signal strength, GSM signal
strength up to 31
12 Mileage 4 When the device is able to read the original vehicle mileage
13 Device status 4 4 bytes, where the 1st byte escrow, the 2nd byte is defined as
(Table 10), the third byte as defined in (Table 11), the fourth
14 The 1 BYTE*100/255,Unit %
calculated
value of load
temperature
repeat),Unit RPM
speed
advance
angle
19 manifold 1 BYTE,Unit kpa
absolute
pressure
20 control 1 BYTE/10,Unit V
module
voltage
21 Inlet 1 BYTE-40,Unit ℃
temperature
23 Throttle 1 BYTE*100/255,Unit %
position
24 Long-term 1 (BYTE1-128)*100/128,Unit %
fuel
correction
coefficient
26 Throttle 1 BYTE*100/255,Unit %
absolute
position
consumption
L/H
29 remaining 2 if((BYTE1&0X80)==0X80)
30 serial number 1 Cycle from 0-255 has been accumulated, it can be used to
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x05 0x00 0x02 0x01 0x00 0x1B 0x29
sample //setup
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x05 0x00 0x01 0x00 0x1B 0x29 //check
command setup : 0x01 0x00 the first 0x01represent setup 。the 2nd byte is 0x00 represent
parameterex adopt mixed data upload method ( after ignition off, the upload location still
plain transmit as 0x20 0x02), when the 2nd byte is 0x01 represent location data and OBD
data upload its seperate interval to transmit. Default adopt mixed data upload.
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x20 0x85 0x00 0x01 0x00 0x1E 0x97 0x29
expected
result
parameter
explain
remark Mixed messages only when the ignition upload, upload only through GPRS channel,
in product both have OBD and GPS, during ignition, as long as the interval setup is
not 0, then no matter 4.3.1 and 4.4.1setup interval is what value, are the
parameters to prevail
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x01 0x00 0x03 0x01 0x00 0x1E 0x1B
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x01 0x00 0x01 0x00 0x1B 0x29 //check
command setup : 0x01 0x00 0x1E first 0x01represent setup . the 2nd and 3rd byte represent
parameterex OBD data flow upload interval, Unit: S,0x00 0x14 upload interval is 30S,value range
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x81 0x00 0x01 0x00 0x1E 0x97 0x29
expected
result
parameter
explain
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x02 0x00 0x01 0x00 0x16 0x29
sample //request
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x82 0x00 0x27 0x01 0x00 0x03 0x28
expected 0x04 0x14 0x09 0x00 0x01 0x28 0x04 0x14 0x09 0x00 0x01 0x28 0x14 0x09 0x00
result 0x01 0x28 0x04 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x23 0xDF 0x29
parameter
explain
remark 0x30 0x82 is initiative upload OBD data streams, uploaded interval and channel is
setup by b 4.4.1. Of course, it can also be 0x30 0x02 single request, When the device
receives a request for a single center, the device will take the initiative to upload a
postponed.
if mixed mode data upload upload information, the request will not be a single reply
(table 14)
stroke
℃
6 Engine coolant 1 BYTE-40
temperature
则 0x30represent BYTE1,
angle
module
℃
12 Intake air temperature 1 BYTE-40
correction
coefficient
position
BYTE3<<8 +BYTE4
21 reserve 4
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x03 0x00 0x04 0x01 0x03 0x00 0x46
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x03 0x00 0x01 0x00 0x1B 0x29 //check
command setup : 0x01 0x03 0x00 0x46 the 1st 0x01 represent setup 。The second and third
parameterex bytes representative of the vehicle, see (Table 15). The third byte represents the
plain volume of the tank, only GM and Honda models calibration needs.
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x83 0x00 0x03 0x03 0x00 0x46 0x97
expected 0x29
result
parameter
explain
remark Since the remaining fuel Honda and GM read is%, it is necessary to calibrate the
(table 15)
00 00 standard vehicle
01 00 Volkswagen
02 00 Toyota
03 00 Honda
04 00 Nissan
05 00 Ford
06 00 GM
07 00 KIA
08 00 Hyundai
0E 00 Mark/Citroen
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x04 0x00 0x01 0x00 0x1B 0x29 //check
sample
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x84 0x00 0x11 0x4C 0x53 0x56 0x48
expected 0x4A 0x31 0x33 0x33 0x30 0x32 0x32 0x32 0x32 0x31 0x37 0x36 0x31 0x97 0x29
result
return 0x4C 0x53 0x56 0x48 0x4A 0x31 0x33 0x33 0x30 0x32 0x32 0x32 0x32 0x31 0x37
parameter 0x36 0x31 is instruction content, fixed at 17 bytes VIN code, which is converted to
explain ASCII code LSVHJ133022221761,if failed to read VIN code will return 17 bytes ASCII
0.
remark
word
sample
command check :0x00 represent check ,the command only for check
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x85 0x00 0x01 0x00 0x01 0x97 0x29
expected
result
return 0x00 0x01is command contents,the 1st byte 0x00 temperary reserve, 0x01
explain
remark
(table 16)
50KM(vehicle that can speed speed coolin drainag throttle power trouble-f
mal system
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x06 0x00 0x01 0x01 0x1B 0x29 //清除
sample
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x86 0x00 0x00 0x97 0x29
expected
result
return Reply to this instruction represents device has been executed to clear the engine
parameter fault code, because some fault code does not clear, it does not mean that fault light
explain will certainly go out. Also clear DTCs does not mean fault solved.
remark
4.4.7 check engine DTCs
word
Function
check DTCs engine system
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x07 0x00 0x01 0x00 0x1B 0x29 //clear
sample
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x87 0x00 0x03 0x01 0x23 0x01 0x97
expected 0x29
result
return 0x01 0x23 0x01is instruction content, each fault code consists of 3 bytes, so the
parameter content of the instruction length must be a multiple of three . The first byte is the
explain high fault code, the second byte is the lower fault code, the first 3 bytes 01 represent
has already decided, 02 represent pending, the bytes can be ignored. Please refer to
the specific interpretation (Fig. 1), so that the fault code according to the figure 0
into P0, the first three bytes removed, turned into P0123
remark
(Fig.1)
word
command none
sample
command none
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x88 0x00 0x4C 0x00 0x03 0x04 0x05
expected 0x14 0x00 0x23 0x45 0x04 0x05 0x14 0x03 0x12 0x34 0x01 0x23 0x00 0x56 0x00
result 0x00 0x65 0x12 0x45 0x23 0x00 0x00 0x45 0x04 0x05 0x00 0x00 0x14 0x03 0x12
0x34 0x00 0x00 0x01 0x23 0x00 0x56 0x65 0x00 0x00 0x12 0x45 0x23 0x45 0x04
0x00 0x00 0x05 0x14 0x03 0x12 0x34 0x01 0x23 0x00 0x56 0x65 0x12 0x45 0x35
0xDF 0x29
parameter
explain
remark Upload automatically uploads every instruction after flameout Trip Report
(table 17)
journey
code represent
coderepresent
4 Ignition off date 3 Same above (ignition on time and off time is the
6 The Journey time 2 Unit S,The time is accumulated time the timer
8 mileage 4 Unit M
(80km/h-120km/h)
driven
driving
(1km/h-40km/h)
driving
driving
word
command none
sample
command none
parameterex
plain
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x89 0x00 0x09 0x01 0x00 0x03 0x28
expected 0x04 0x14 0x09 0x00 0x04 0xDF 0x29 // ignition on report without GPS location
result 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x89 0x00 0x09 0x00 0x00 0x03 0x28
0x04 0x14 0x09 0x00 0x04 0xDF 0x29 // ignition off report without GPS location
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x89 0x00 0x12 0x01 0x00 0x03 0x28
0x04 0x14 0x09 0x00 0x04 0x22 0x43 0x88 0x16 0x11 0x34 0x91 0x23 0x97 0xDF
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x89 0x00 0x12 0x00 0x00 0x03 0x28
0x04 0x14 0x09 0x00 0x04 0x22 0x43 0x88 0x16 0x11 0x34 0x91 0x23 0x97 0xDF
return default product with GPS function: ignition off report with GPS location, product
parameter without GPS function: ignition off report without GPS location。Details refer to(table
explain 5).
the 1st byte represent ignition on off, where the 0x01 represent ignition on ,0x00
represent ignition off. the 2nd byte and 3rd byte 0x00 0x03 represent journey ID. The
latter 6 btes 0x28 0x04 0x14 0x09 0x00 0x04 represent date time, format is date
month year hour minute second, Details refer to (table 5). 0x22 0x43 0x88 0x16 0x11
0x34 0x91 0x23 0x97 represent location data,Details refer to (table 5).
remark Upload automatically uploads every instruction after flameout Trip Report
word
sample //setup
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x0A 0x00 0x01 0x00 0x1B 0x29 //check
command setup : 0x01 0x01the 1st 0x01represent setup . The 2nd represent read or not,
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x8A 0x00 0x01 0x00 0x97 0x29
expected
result
parameter
explain
word
Function
setup /check vehicle average fuel consumption
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x0B 0x00 0x01 0x01 0x62 0x1B 0x29
sample //setup
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x0B 0x00 0x01 0x00 0x1B 0x29 //check
command setup : 0x01 0x62the 1st 0x01represent setup . the 2nd represent vehicle average
parameterex fuel consumption (multiply 10),0x62 = 98, namely average fuel consumption is
plain 9.8h/100km
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x30 0x8B 0x00 0x01 0x62 0x97 0x29
expected
result
parameter
explain
remark setup Fuel settings apply only to car OBD data do not support, support for data read
OBD car, this setting is invalid, the device does not return.
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x01 0x00 0x13 0x00 0x5A 0x4A 0x38
sample 0x30 0x30 0x30 0x5F 0x32 0x30 0x31 0x34 0x30 0x34 0x30 0x35 0x41 0x01 0x56
0xDF 0x29
command the 1st byte fixed 0x00,represent notify upgrade 0x5A 0x4A 0x38 0x30 0x30 0x30
parameterex 0x5F 0x32 0x30 0x31 0x34 0x30 0x34 0x30 0x35 0x41 0x01 0x56: the front 16 bytes
fixed 16 bytes, the latter 2 bytes 0x01 0x56 represent the firmware data number,
342 data.
After the device receives the command, the first comparative product model ZJ8000
is the same, if different direct refusal upgrade. Then compare the version number
20140405A, if the version number of the device software version number is now the
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x81 0x00 0x11 0x01 0x5A 0x4A 0x38
expected 0x30 0x30 0x30 0x5F 0x32 0x30 0x31 0x34 0x30 0x34 0x30 0x34 0x41 0xDF 0x29
0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x81 0x00 0x11 0x00 0x5A 0x4A 0x38
0x30 0x30 0x30 0x5F 0x32 0x30 0x31 0x34 0x30 0x34 0x30 0x35 0x41 0xDF 0x29 //
return Return parameters from the device and agree to upgrade the current version
parameter number,where the 1st byte represent agree upgrade or not,where 0x01represent
current version
remark if a part of the upgrade, need to upgrade again, also by issuing this command to
start again. When the device agree upgrade, start by sending firmware 0x40 0x02
word
command 0x02 0x00: command length,the command length fixed at 0x02 0x00
parameterex 0x01 0x01 0x34 0x05 0x14 0x00…… 0x08: the 1st byte fixed at 0x01,represent
plain operate method, Write data to the device. Second three 2 bytes 0x01
0x34represent firmware package No. (No. 1 from the beginning ......), immediately
followed by 509 bytes of data, of which the first 508 bytes of the firmware (BIN file)
hexadecimal data, less than 508 make up the complement of 0xFF. The first 509
bytes of the previous 508 bytes of 8-bit CRC. CRC polynomial equivalent tentatively
intercepted sent to the device, the last data packet if less than 508 bytes, then make
up 0xFF.
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x82 0x00 0x05 0x01 0x01 0x34 0x01
expected 0x35 0xDF 0x29 //save correct, request send next data
result 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x82 0x00 0x05 0x00 0x01 0x34 0x01
0x34 0xDF 0x29 //save wrong, request send next data, Since flash is sub-sector
erase, it requests the next data transmission is not necessarily just sent that piece of
data
return Parameters returned consists of three parts,the 1st byte represent save successfully
parameter or not, where the 0x01 represent save successfully,0x00 represent failed to save. the
explain 2nd and the 3rd 0x01 0x34 represent the data packet received just now 4th and 5th
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x03 0x00 0x01 0x01 0xDF 0x29
sample
parameterex Just before the entire packet firmware (BIN file) does not send complete, you can
plain cancel the upgrade by U03, the device receives the instruction, the upgrade will clear
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x83 0x00 0x00 0xDF 0x29
expected
result
return none
parameter
explain
remark
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x04 0x00 0x01 0x01 0xDF 0x29
sample
parameterex After as long as the entire firmware package (BIN file) transmission is completed,
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x84 0x00 0x01 0x01 0xDF 0x29 //
result 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x84 0x00 0x01 0x00 0xDF 0x29 // refuse
upgrade
return 0x01represent device inspection data is correct, agreed to perform the upgrade.
explain
remark
word
command 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x05 0x00 0x11 0x00 0x5A 0x4A 0x38
sample 0x30 0x30 0x30 0x5F 0x32 0x30 0x31 0x34 0x30 0x34 0x30 0x35 0x41 0xDF 0x29
command 0x00 0x5A 0x4A 0x38 0x30 0x30 0x30 0x5F 0x32 0x30 0x31 0x34 0x30 0x34 0x30
parameterex 0x35 0x41the 1st byte 0x00represent check ,0x5A 0x4A 0x38 0x30 0x30 0x30 0x5F
plain 0x32 0x30 0x31 0x34 0x30 0x34 0x30 0x35 0x41represent the upgrading version is
return 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x85 0x00 0x03 0x01 0x01 0x35 0xDF
expected 0x29
result 0x28 0x30 0x14 0x04 0x14 0x00 0x01 0x40 0x85 0x00 0x03 0x00 0x00 0x01 0xDF
0x29 // And now being upgraded version of the device has never downloaded or
return Return parameter the 1st byte represent Download now and check the version
parameter number is the same as the version number, the same as the byte is 0x01, not the
explain same as the byte 0x00. Packet No. Under the 2nd byte and the third byte represent
one to be sent, when the 1st byte to 0x00, 0x00 0x01 packet was No.
remark
5. SMS command