Hi,
I’m testing an Assistant Telematics AVT20 (And AVT40) device which communicates using the hyn600 protocol on port 5258.
The device connects successfully and is shown in the Traccar portal, but I’m facing multiple issues:
- Traccar frequently disconnects the device with:
Adjusted frame length exceeds 1024: 13359 - TooLongFrameException
According to the protocol documentation, the AVT20 can send large data frames
(e.g. buffered / historical or extended data messages).
- Some decoded messages contain an invalid device time, for example:
0850-05-06 14:29:36
This results in database errors when storing positions.
- The device identifier (IMEI) is decoded incorrectly.
In the Traccar portal the device is shown with ID:
60a4c0816342802
However, the actual IMEI of the device should be:
861076082252402
Despite these issues, Traccar sometimes decodes valid positions correctly.
Examples of raw messages received:
Login / short status message:
2d5250543a0022560a4c081634280222030201000000000007ea041e0b0822019e23
Large data message (causes TooLongFrameException):
2b5250543a0068560a4c081634280222030201000000011e0300000001ff01030100000000003c0329f6ec00644e9b07ea05060e29290d11000700cc000881500006e10d18000004a504d02200000000000000000000000000000000000007ea05060e2929046423
ACK / ASCII-type message:
2b41434b3a0026560a4c081634280222303330322c5349532c2c302c07ea041e0b0d3b01ab23
Questions:
- Does Traccar support hyn600 messages larger than 1024 bytes, or should the frame decoder be adjusted?
- Is the hyn600 IMEI decoding implemented correctly for AVT20 devices, or is a different field/format expected?
- Has anyone successfully integrated the Assistant Telematics AVT20 with Traccar?
Thanks in advance.
If needed i can't send the protocol documentation of the AVT20 and AVT50.,
Does your device actually send messages longer than 1024 bytes? To me it seems like maybe some messages are simply not supported correctly.
“Confirmed by logs: all received hyn600 packets are well below 1024 bytes; the reported size of 13359 is a result of incorrect frame length decoding, not actual large messages.
The incorrect IMEI appears to be caused by misaligned field decoding (BCD vs ASCII / offset), likely related to the same issue.”
Do you have documentation and full logs?
Can you please separate log sessions by device protocol type.
In this log is only the AVT20.
Hi,
I’m testing an Assistant Telematics AVT20 (And AVT40) device which communicates using the hyn600 protocol on port 5258.
The device connects successfully and is shown in the Traccar portal, but I’m facing multiple issues:
Adjusted frame length exceeds 1024: 13359 - TooLongFrameException
According to the protocol documentation, the AVT20 can send large data frames
(e.g. buffered / historical or extended data messages).
0850-05-06 14:29:36
This results in database errors when storing positions.
In the Traccar portal the device is shown with ID:
60a4c0816342802
However, the actual IMEI of the device should be:
861076082252402
Despite these issues, Traccar sometimes decodes valid positions correctly.
Examples of raw messages received:
Login / short status message:
2d5250543a0022560a4c081634280222030201000000000007ea041e0b0822019e23
Large data message (causes TooLongFrameException):
2b5250543a0068560a4c081634280222030201000000011e0300000001ff01030100000000003c0329f6ec00644e9b07ea05060e29290d11000700cc000881500006e10d18000004a504d02200000000000000000000000000000000000007ea05060e2929046423
ACK / ASCII-type message:
2b41434b3a0026560a4c081634280222303330322c5349532c2c302c07ea041e0b0d3b01ab23
Questions:
Thanks in advance.
If needed i can't send the protocol documentation of the AVT20 and AVT50.,