Edit device communication protocol

Daniel Petrov6 years ago

Hello Anton,

Need your advice about the way to change/modify a communication protocol used with Traccar.

We have two very similar devices, both using the meiligao protocol.

Problem is, the manufacturer has modified the login request of one of the devices, so instead of 0x5000 we have 0x5001.

Example sting:
Device1: HEX: 24240011658890435485165000dc0e0d0a
Device2: HEX: 24240011676860325655165001c1cd0d0a

How can we edit the Traccar config files so that it recognizes both the 5000 and 5001 login requests?

Thank you!

Synergy Dave6 years ago

My two cents, I'm not very experienced, but I think you need to edit protocol decoder from source, or create a new protocol in case you want to keep both logins possible.

Daniel Petrov6 years ago

Hi Dave,

Thank you for the input! Yes I want to keep both logins and use it on the same server to track both devices simultaneously.

Do you know how to edit protocol decoder from source? Which files should be modified?

Thank you!

Synergy Dave6 years ago