Mictrack MT600 protocol error

Simon3 years ago

Hi,

I'm running the server in docker, and it's working fine for my Mictrack MT825 and MT700 devices, but it's throwing an exception for my MT600-NB device.

2021-06-11 04:42:11  INFO: [d6026c0a: tlt2h < 122.56.199.9] HEX: 23383636343235303332343131383838234d543630305f4e42233030303023544f57454423310d0a23244750524d432c2c562c2c2c2c2c2c2c2c2c2c412a35430d0a23230d0a
2021-06-11 04:42:11  WARN: [d6026c0a] error - NullPointerException (FilterHandler:84 < *:161 < *:200 < BaseDataHandler:27 < ... < *:29 < ... < ExtendedObjectDecoder:61 < ...)

Decoded payload...

#866425032411888#MT600_NB#0000#TOWED#1#$GPRMC,045531.00,V,,,,,,,110621,,,A*71##

The tlt2h protocol handler seems to have an issue with the TOWED mode.

Anton Tananaev3 years ago

It has nothing to do with TOWED. The issue is with messages without GPS data. This has already been discussed several times and it's already fixed.

Simon3 years ago

Wow, you're fast Anton :)

Sorry I'm new to Traccar, and I've been looking through the forums for an answer. Could you please point me in the right direction of those discussions.

Nice work on Traccar BTW!

Anton Tananaev3 years ago
Simon3 years ago

OK, I'll build from source to pick up the fix.

Thanks very much!