OBD tracker protocol identification

Hi

Please can anyone help me out which protocol does the below mentioned ODB tracker support in the Traccar server

the data is as follows

1.1. Data type define
a. BYTE unsigned char(byte,8 bit)
b. WORD unsigned short(2byte,16bit)
c. DWORD unsigned int(4byte,32bit)
d. BYTE[n] N byte
e. BCD[n] 8421 code,n byte
f. STRING ,end by 0

The protocol uses big-endian network byte order to pass words and double words. The agreement is as follows:

  • Byte (BYTE) transmission convention: According to the byte stream transmission;
  • Word (WORD) transmission agreement: the first eight high pass, and then pass the lower eight;
  • Double Word (DWORD) transmission agreement: the first 24-bit high pass, then pass the high 16 bits, and then pass the high 8 bits,The last eight low pass.

Sample data:
7e 01 00 00 2d 01 36 49 25 50 72 00 06 00 2c 00 64 31 31 31
31 00 4e 52 30 39 42 30 30 30 30 31 00 00 00 00 00 00 00 00
00 00 39 32 35 35 30 37 32 01 d4 c1 41 35 35 30 37 32 23 7e

Detail of the field
7e //start flag
01 00 //commandID
00 2d  //length
01 36 49 25 50 72 mobile number
00 02  serial number
00 2c  Country code
00 64  city code
31 31 31 31 00 factory ID
4e 52 30 39 42 30 30 30 30 31 00 00 00 00 00 00 00 00 00 00 device type
39 32 35 35 30 37 32     ID
01           Color 
d4 c1 41 35 35 30 37 32   Car Number
27 checksum
7e end flag

Thank you

Anton Tananaev4 years ago

Most likely Huabao protocol.

It would be better if you provided a link to the original protocol doc instead of copy-pasting poorly formatted fragment directly into the comment.

Hi
Please let me which one is the best match protocol in the traccar server for the following

https://drive.google.com/file/d/1CxwV5-JZ70yIDiwyXkcCi-UfxpZf9bgW/view?usp=sharing

Anton Tananaev4 years ago

I already answered you.