VM6500S how to set obddongle protocol

Ivan4 years ago

Hi I have VM6500S Chinese device I'm trying to connect
I've found that it's protocol in traccar source code https://github.com/traccar/traccar/blob/master/src/main/java/org/traccar/protocol/ObdDongleProtocolDecoder.java

As far as I understand the protocol called obddongle in traccar terms.
I've google it and found some refecences <entry key='obddongle.port'>5115</entry>
So I set the port to 5115
But I still see it is identified as gps103

2021-01-20 07:23:41  INFO: [ac5a4da3] connected
2021-01-20 07:23:42  INFO: [ac5a4da3: gps103 < 176.12.154.172] HEX: 5555005a2141020000383631363332303430303334353935e65797b9c93d2f76ed83ef29d5581c31650ec2999e5308ae92ca34b0002353035db5c730ec0318b8b012c0783e2d759da35ccc8693c117ffb5976974a8c793f8aaaa
2021-01-20 07:23:47  INFO: [ac5a4da3: gps103 < 176.12.154.172] HEX: 5555005a2141020000383631363332303430303334353935e65797b9c93d2f76ed83ef29d5581c31650ec2999e5308ae92ca34b0002353035db5c730ec0318b8b012c0783e2d759d38a68b7090f5aff0b04f62f897bf0e11aaaa
2021-01-20 07:23:52  INFO: [ac5a4da3: gps103 < 176.12.154.172] HEX: 5555005a2141020000383631363332303430303334353935e65797b9c93d2f76ed83ef29d5581c31650ec2999e5308ae92ca34b0002353035db5c730ec0318b8b012c0783e2d759d505ba5cd0b31ecb1f264086fc13e31ecaaaa
2021-01-20 07:23:57  INFO: [ac5a4da3: gps103 < 176.12.154.172] HEX: 5555005a2141020000383631363332303430303334353935e65797b9c93d2f76ed83ef29d5581c31650ec2999e5308ae92ca34b0002353035db5c730ec0318b8b012c0783e2d759db692c5b76aae948d58ec80bddc9704acaaaa
2021-01-20 07:24:02  INFO: [ac5a4da3: gps103 < 176.12.154.172] HEX: 5555005a2141020000383631363332303430303334353935e65797b9c93d2f76ed83ef29d5581c31650ec2999e5308ae92ca34b0002353035db5c730ec0318b8b012c0783e2d759d3cb52db7409f70ac5f520d4762ac0123aaaa
2021-01-20 07:24:09  INFO: [ac5a4da3] disconnected
Ivan4 years ago

Is 5115 a correct port for obddongle?
Maybe I should force it in traccar config (https://www.traccar.org/configuration-file/) ?

Anton Tananaev4 years ago

If you see gps103, it means that your device is reporting to the port gps103 (5001 default).

Ivan4 years ago

Thank you that's what I thought.
But is 5115 port correct for obddongle protocol?

Anton Tananaev4 years ago

You can check default ports here or in the default config file:

https://www.traccar.org/devices/

Ivan4 years ago

Of course, I've checked it before bothering you
The thing that I don't see any information about obddongle protocol or 5115 port there https://www.traccar.org/devices/
I decided that the port is 5115 since I found this line in /conf/default.xml

<entry key='obddongle.port'>5115</entry>
Anton Tananaev4 years ago

If it's 5115 in the config, it should be 5115.