atrack protocol not reporting extra information

Adam6 years ago

Hello!

Just got some atrack(AK11/AL11) devices and they are reporting to the server. However, none of the extra data OBD2 data is showing on the server.

I see the data report to the server when the device in in ASCII mode (but traccar doesn't understand it), the extra data is there though.

Any ideas?

Adam6 years ago

Also... might not report it if the devices themselves are not offically supported. derp. I was hoping to see undefined fields at least.

Anton Tananaev6 years ago

Have you configured device to report additional data? Make sure you also configure it to report custom data format string to server.

Adam6 years ago

Yes, I have. That's why I can see the data being sent (after changing it to ASCII mode). I'm changing the custom report to add the AT$FORM data, I'll report back to see if that changes anything.

Adam6 years ago
2018-08-03 22:42:35 DEBUG: [19410D3E: 5044 < 172.58.139.xxx] HEX: 405030bd00e20006000144a77a21281d5b64d3b05b64d4015b64d489fabaad9d02a386160048020000015b03de0100000000000007d007d0000004bbf4001200000025434e25464c254751254d4c25564e255044254349005b64d3b05b64d43d5b64d489fabaad9d02a386160048020000015b00540100000000000007d007d0000004bbf4001200000025434e25464c254751254d4c25564e255044254349005b64d3b05b64d4795b64d489fabaad9d02a386160048020000015b00580100000000000007d007d00000000000001300000025434e25464c254751254d4c25564e25504425434900
2018-08-03 22:42:35 DEBUG: [19410D3E: 5044 > 172.58.139.xxx] HEX: fe02000144a77a21281d0006
2018-08-03 22:42:35  WARN: [19410D3E] error - Not enough readable bytes - Need 2, maximum is 0 - IndexOutOfBoundsException (... < AtrackProtocolDecoder:383 < *:429 < ExtendedObjectDecoder:58 < ...)
Anton Tananaev6 years ago

That's binary data, not ASCII.

Adam6 years ago

Yes, but the atrack protocol is only binary. If you try to send ASCII to that port, it doesn't work

Peter Flower6 years ago

Anton, could you tell us which is the process to decode binary protocol? Teltonika has a protocol like this.
I tried to convert binary to hex, but it was unsuccessful.
Maybe do you have any clue about it?

Anton Tananaev6 years ago

Adam, as far as I know, Traccar supports both.

Peter, it's not possible to decode binary data into human readable text, if that's what you are asking.

Adam6 years ago

Anton, I e-mailed you privately at support@ with an ascii logfile.