hi everyone! Help identify device

eniac27427 8 years ago

hello,everyone! I had configured the device send data to 5052 port on my linux server. now ,my server can accept the data from device,and the tracker-server.log as below :

2018-06-22 15:21:46  INFO: [A85F16FF] connected
2018-06-22 15:21:47 DEBUG: [A85F16FF: 5052 < 117.136.63.129] HEX: 232301fe4c314b314438454537483030303030313201001e1206160f161000023836343530343033353233363239340000000000000ee5
2018-06-22 15:21:56 DEBUG: [A85F16FF: 5052 < 117.136.63.129] HEX: 232302fe4c314b31443845453748303030303031320100b31206160f161901ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000c4
2018-06-22 15:22:37 DEBUG: [A85F16FF: 5052 < 117.136.63.129] HEX: 232302fe4c314b31443845453748303030303031320100b31206160f170501ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000d9
2018-06-22 15:22:37  INFO: [A85F16FF] disconnected
2018-06-22 15:22:50  INFO: [B610BB83] connected
2018-06-22 15:22:56 DEBUG: [B610BB83: 5052 < 223.104.9.177] HEX: 232302fe4c314b31443845453748303030303031320100b31206160f171901ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000c5
2018-06-22 15:23:36  INFO: [B610BB83] disconnected

Im in china,and device is made in china.Any could tell me what protocol my device use?

eniac27427 8 years ago

in addition, i can not get the device id on tracker-server.log,any one help me ? thanks in advance!

Anton Tananaev 8 years ago

Please provide protocol documentation.

eniac27427 8 years ago

hi,@Anton Tananaev,thanks for your reply!
The device provider only gave me a document called ”communication protocol and data format .pdf“. This document complies with the GB/T32960.3-2016 standard, which is China's national mandatory standard. It is written in Chinese. I translated the ”packet structure“ in English. If you still need additional information, please tell me. thank you very much for your help! ”packet structure“ as below:

| Start byte | definition | dataType | description and requirement |
| - | :-: | -: | |
|0 | start flag | byte | Ascii character '##',it is '0x23,0x23' |
|2 | Command identification | byte | 0x01:vehicle login、0x02:real time data reporting、0x03:Reissue information、0x04:vehicle logout。。。。。 |
|3 | response identification | byte | 0x01:success、0x02:mistakes、0x03:repeat VIN..... |
|4 | unique id | string | When the vehicle transmits data, the vehicle VIN should be used, and its character code should comply with the requirements of GB16375. If other data is transferred, a unique custom encoding is used. |
|21 | data unit Encryption method | byte |0x01:Data unencrypted、0x02:RSA encrypted、0x03:AES128 encrypted、0xfe:exception、0xff:invalid |
|22 | data unit length | word | The length of the data unit is the total number of bytes of the data unit.valid scope:0-65531 |
|24 | data unit | __ | |
|the last byte | Check code | byte | The verification range begins with the first byte of the command unit, and is exclusive-ORed with the next byte until the byte preceding the parity code, which takes up one byte. When the data unit is encrypted. |

Anton Tananaev 8 years ago

Please provide original document.

eniac27427 8 years ago

Thanks!
I sent you an email to your mailbox anton@traccar.org, please check it.

Anton Tananaev 8 years ago

You should try T800X port.

eniac27427 8 years ago

Thanks @Anton Tananaev ! Now I have changed the port to the corresponding 5094 of the T800X. Following the "quick-start" tutorial, I encountered some problems when I was looking for Device Unique Identifier,there was no IMEI number (I consulted the device provider), and I did not see a log record like "Unknown device - 123456789012345" in tracker-server.log . However, the device has a VIN (Vehicle Identification Number) , I can modify the VIN number, after modifying the VIN, by decrypting HEX in tracker-server.log, I find that VIN really has been modified. But, when i add the device on the web page by filling out the VIN, the page shows that the device is offline, I know there is a problem. I tried Android client on my server and it works perfectly.Could you please tell me how I can find "Device Unique Identifier" and add it to the web page. Thanks a lot!
"tracker-server.log" as below:

    [root@bdserver logs]# cat tracker-server.log
2018-06-23 17:41:42  INFO: [FE702A3C] connected
2018-06-23 17:41:42 DEBUG: [FE702A3C: 5060 < 106.75.50.37] HEX: 474554202f20485454502f312e300d0a486f73743a203131372e37382e33352e3137303a353036300d0a4163636570743a202a2f2a0d0a0d0a
2018-06-23 17:41:51  INFO: [D125C686] connected
2018-06-23 17:41:52  INFO: [FE702A3C] disconnected
2018-06-23 17:41:52  INFO: [64FF60D2] connected
2018-06-23 17:41:54 DEBUG: [D125C686: 5094 < 101.206.169.98] HEX: 232301fe4c314b314438454536483030303030363501001e120617112a1500023836343530343033353233363239340000000000000ec2
2018-06-23 17:42:01 DEBUG: [D125C686: 5094 < 101.206.169.98] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112a1e01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000e1
2018-06-23 17:42:02  INFO: [64FF60D2] disconnected
2018-06-23 17:42:02  INFO: [9243A6B9] connected
2018-06-23 17:42:02 DEBUG: [9243A6B9: 5060 < 106.75.50.37] HEX: 1603010085010000810303121b9b1406527272d2e6c82f0229b6d0c46879fc5cd42ce5828a53726f84c899000020c02fc030c02bc02ccca8cca9c013c009c014c00a009c009d002f0035c012000a01000038000500050100000000000a000a0008001d001700180019000b00020100000d000e000c040104030501050302010203ff0100010000120000
2018-06-23 17:42:12  INFO: [9243A6B9] disconnected
2018-06-23 17:42:12  INFO: [7EF29721] connected
2018-06-23 17:42:12 DEBUG: [7EF29721: 5060 < 106.75.50.37] HEX: 5553455220616e6f6e796d6f75730d0a
2018-06-23 17:42:22  INFO: [7EF29721] disconnected
2018-06-23 17:42:44 DEBUG: [D125C686: 5094 < 101.206.169.98] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112b0a01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000f4
2018-06-23 17:42:44  INFO: [D125C686] disconnected
2018-06-23 17:42:58  INFO: [0077299C] connected
2018-06-23 17:43:02 DEBUG: [0077299C: 5094 < 101.206.169.240] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112b1f01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000e1
2018-06-23 17:43:43 DEBUG: [0077299C: 5094 < 101.206.169.240] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112c0b01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000f2
2018-06-23 17:43:43  INFO: [0077299C] disconnected
2018-06-23 17:43:57  INFO: [54A6A37D] connected
2018-06-23 17:44:03 DEBUG: [54A6A37D: 5094 < 101.206.167.122] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112c1f01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000e6
2018-06-23 17:44:44 DEBUG: [54A6A37D: 5094 < 101.206.167.122] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112d0b01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000f3
2018-06-23 17:44:44  INFO: [54A6A37D] disconnected
2018-06-23 17:45:08  INFO: [D63D303A] connected
2018-06-23 17:45:08  INFO: [D63D303A] disconnected
2018-06-23 17:45:23  INFO: [97DFEFCF] connected
2018-06-23 17:45:28 DEBUG: [97DFEFCF: 5094 < 101.206.167.241] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112d3801ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000c0
2018-06-23 17:45:48 DEBUG: [97DFEFCF: 5094 < 101.206.167.241] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112e1001ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000eb
2018-06-23 17:45:48  INFO: [97DFEFCF] disconnected
2018-06-23 17:46:24  INFO: [2C49DB9C] connected
2018-06-23 17:46:30 DEBUG: [2C49DB9C: 5094 < 119.4.252.54] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112e3801ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000c3
2018-06-23 17:46:49 DEBUG: [2C49DB9C: 5094 < 119.4.252.54] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112f1001ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000ea
2018-06-23 17:46:49  INFO: [2C49DB9C] disconnected
2018-06-23 17:47:05  INFO: [067DB001] connected
2018-06-23 17:47:08 DEBUG: [067DB001: 5094 < 101.206.168.100] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112f2501ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000df
2018-06-23 17:47:19 DEBUG: [067DB001: 5094 < 101.206.168.100] HEX: 232302fe4c314b31443845453648303030303036350100b3120617112f2e01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000d4
2018-06-23 17:47:59 DEBUG: [067DB001: 5094 < 101.206.168.100] HEX: 232302fe4c314b31443845453648303030303036350100b312061711301a01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000ff
2018-06-23 17:47:59  INFO: [067DB001] disconnected
2018-06-23 17:48:32  INFO: [AEF010DF] connected
2018-06-23 17:48:39 DEBUG: [AEF010DF: 5094 < 101.206.171.211] HEX: 232302fe4c314b31443845453648303030303036350100b312061711310701ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000e3
2018-06-23 17:49:01 DEBUG: [AEF010DF: 5094 < 101.206.171.211] HEX: 232302fe4c314b31443845453648303030303036350100b312061711311c01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000f8
2018-06-23 17:49:01  INFO: [AEF010DF] disconnected
2018-06-23 17:49:33  INFO: [72478CD6] connected
2018-06-23 17:49:40 DEBUG: [72478CD6: 5094 < 101.206.169.172] HEX: 232302fe4c314b31443845453648303030303036350100b312061711320901ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000ee
2018-06-23 17:50:02 DEBUG: [72478CD6: 5094 < 101.206.169.172] HEX: 232302fe4c314b31443845453648303030303036350100b312061711321c01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000fb
2018-06-23 17:50:02  INFO: [72478CD6] disconnected
2018-06-23 17:52:33  INFO: [C77B4A3F] connected
2018-06-23 17:52:34 DEBUG: [C77B4A3F: 5094 < 101.206.171.51] HEX: 232302fe4c314b31443845453648303030303036350100b312061711350201ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000e2
2018-06-23 17:52:44 DEBUG: [C77B4A3F: 5094 < 101.206.171.51] HEX: 232302fe4c314b31443845453648303030303036350100b312061711350c01ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000ec
2018-06-23 17:53:24 DEBUG: [C77B4A3F: 5094 < 101.206.171.51] HEX: 232302fe4c314b31443845453648303030303036350100b312061711353501ffff010000000000000000000000ff0000000000020101ffffffffffffffffffffff04ffffffffff05010633c1ba01d286a606ffff0000ffff0000ffffffffffff07000000000000000000080101ffffffffffff000101ffff0901010001ff800000000000000000ffffffffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ffff0000ffffffffff000000810000d5
2018-06-23 17:53:24  INFO: [C77B4A3F] disconnected
Anton Tananaev 8 years ago

I guess message format is different and existing decoder doesn't work.

eniac27427 8 years ago

Is it because the protocol configuration is wrong? Will it be the other port? I am helpless. What are your good suggestions for this? Thank you

Anton Tananaev 8 years ago

Unfortunately it looks like your protocol is not supported yet.

eniac27427 8 years ago

Thanks, any other good suggestion for me? update the source code?I dont have any experience in gps protocol or gps code.

Anton Tananaev 8 years ago

If you need help with implementing it, send an email to support address to discuss it.

eniac27427 8 years ago

ok! check your mail box! Thanks! ^_^