4G OBD GPS Tracker

4G OBD GPS Tracker

1. All the speed unit is KM/H and time format is GMT if ther is no special note in the protocol. 2. All the command content except start and end charactor,these three charactors‘(’,‘)’,0x3D should be escaping,by an exclusive OR sum with 0x3D,the same as 0x3D。example:‘(’turn to 0x3D 0x15 after escaping. 3. All the command should be check then escaped before sending and all the data received required escapeing then check before explanation.

Product Details

obd gps tracking device.jpg

1 Summarize

1.1 Protocol instruction

All the command byte use 2 bytes,the first byte means the command type,the second is the command number,0x01  0x7F represent the command sent from server to devices,the device response 0x81  0xFF,every type own 127 commands max。As (Form 1)

(Form1)

Command

Cmd Type(The first byte)

Note

Common

Cmd

0x00

These command is applicable all products,which including products software version,device ID, manufacturer  and so on. 

GSM Cmd

0x10

These command is using for GSM function setting,contain server IP , port , LBS as well. 

GPS Cmd

0x20

These command is about GPS function , contain the method of GPS uploading or upload interval and so on. 

OBD Cmd

0x30

These command is about OBD function , contain the OBD data uploading , trips report , the method of uploading 

Upgrade Cmd

0x40

These commands is about IAP upgrade, have to use enlarged Flash

1.2 Protocol Format

The protocol format as (Form2) shows

(Form2)

NO

Name

Length

Note

1

Start

1

The start character is fixed as 0x28, which is ( in ASCII.

2

ID

6

The ID length is fixed in 6 bytes(12 ASCII characters,BCD code showed.

Ex : 601505100001 à Product number(60),this product is made in 2015/05/10(150510),the production code is 0001(0001).

The max length of ID is 12 bit and only digital is allowed.

3

Cmd Byte

2

One byte means the command type href="#表一" (Form1),the other means the command number

4

Cmd Length

2

Command length (Before escaping), When parse this length, it is best not to check the bytes of the fixed value, because some command lenght will increase once new functions be added, certainly the increase field will at the end of this instruction.  So, to make sure smooth uograde, when interpreting the data, only need to check the data length you get is correspond the length byte or not 

5

Cmd Content

Unfixed

1. Downlink Cmd:the first byte showed the operating type such as 0x01 is Setting and 0x00 is Querying

2. Uplink cmd: include unfixed byte parameters only 

6

Checksum

1

All bytes exclusive OR sum from ID to Cmd content(before escaping the characters)

7

End

1

The end is fixed as 0x29,which is)in  ASCII.

notes:

1. All the speed unit is KM/H and time format is GMT if ther is no special note in the protocol.

2. All the command content except start and end charactor,these three charactors(’,‘),0x3D should be escaping,by an exclusive OR sum with 0x3D,the same as 0x3D。example:(turn to 0x3D 0x15 after escaping.

3. All the command should be check then escaped before sending and all the data received required escapeing then check before explanation.

 

3 SMS Command

Please send text message from your mobile to the watch.  SMS command starts with ‘(’, ends with ‘)’. Separated by',' .   All inputs character should be in English.

Server setting

Format

(Set,Password,server,IP,Port)

(Set,Password,server,Domain,Port)

Example

(Set,888888,server,100.100.100.100,1000)

(Set,888888,server,www.aaa.com,10)

Expected feedback

(IP: 100.100.100.100,Port:1000)

(IP: www.aaa.com,Port:1000)

APN setting

Format

(Set,Password,apn,Apnname)

Example

(Set,888888,apn,CMNET)

Expected feedback

(APN:CMNET)

Query location

Format

(Find,Password,car)

Example

(Find,888888,car)

Expected feedback

http://maps.google.com/?q=22.303560N,113.549666E

Password setting

Format

(Set, Original-password,password,

New-password)

The initial password is 888888

Example

(Set,888888,password,123456)

Expected feedback

(password,123456)

Note: each instruction message add 6 bytes password at behind, set sucessful only when password been set correctly; Default password is 888888.


NO

Alarm Type

Description

First parameter of alarm setting(2 bytes)

Second parameter of alarm setting(2 bytes)

0

Overspeed

One byte(first byte,hightest bit default is 0),show the speed,unit is KM/H

One byte showed the speed limited,unit is KM/H,default value is 80KM/H,0 means no  overspeed checking

One byte showed the continute times , unit is Second,the default value is 5S

1

Fatigue driving

Two bytes ,show the time aleady drived ,unit is Second

Two byte show the max value of fatigue driving,if the value is less than 600,it doesnt check fatigue driving,unit is S,the default value is 0

Two bytes showed the fatigue driving remove setting ,when the stop time is over the value setting,the fatigue driving alarm will be remove,unit is Second

2

GPS Module Fault

Null

Null

Null

3

Low Battery Voltage

one byte means the voltage of the batteries,actual voltage value*10

One byte means the voltage of the batteries,actual voltage value*10,default value 110(11V)

Null

4

Abnormal charging circuit

one byte means the voltage of the batteries,actual voltage value*10

one byte means the voltage of the batteries,actual voltage value*10,default value is 125(12.5V)

one byte means the voltage of the batteries,actual voltage value*10,default value is 145(14.5V)

5

ECM Abnormal

One byte,fault code numbers

null

null

6

Hight Temperature of Coolant

one byte show the temperature,unit is

null

null

7

Low Temperature of Coolant

null

null

null

8

Maintenance Reminder

Null

Null

Null

9

Throttle Reminder

Null

Null

Null

10

Pull Out Reminder

Null

Null

Null


Inquiry