Command response

ezequiel3 years ago

Hi, I have a question. Is there a way to see the response of a device, after having sent a command?

Thanks!

Anton Tananaev3 years ago

Yes, it should come as an event, if it's supported.

ezequiel3 years ago

Ok. It is a device, the protocol of which was added as indicated in the documentation. Do I have to make changes to the code to see the responses because it is a new protocol?

Thanks!

Anton Tananaev3 years ago

What protocol are you talking about?

ezequiel3 years ago

Landher Protocol is the Protocol.
Attached documentation of the protocol.
I have already added the necessary classes and traccar interprets the device reports.
The documentation is in Spanish.

Protocol: https://drive.google.com/drive/folders/18RJyyJCT1EHhXCT8PC_UNSmH7Sy80yRw?usp=sharing

Anton Tananaev3 years ago

Wait, is the question about official version of Traccar or your own customized code? If you are implementing protocol yourself, of course you have to implement support for command responses in your decoder.

ezequiel3 years ago

Yes, it is custom code. It is the latest version of traccar, which I modified to accept the protocol.
Perfect! Thanks !