Does the Meitrack protocol not have a custom command?

Salvador6 months ago

Hello everyone,

The Meitrack protocol does not have the custom command supported in the MeitrackProtocol.java file, is this intentional? Is it not possible to send a custom command to this protocol?

setSupportedDataCommands(
                Command.TYPE_POSITION_SINGLE,
                Command.TYPE_ENGINE_STOP,
                Command.TYPE_ENGINE_RESUME,
                Command.TYPE_ALARM_ARM,
                Command.TYPE_ALARM_DISARM,
                Command.TYPE_REQUEST_PHOTO,
                Command.TYPE_SEND_SMS);

Thank you in advance.

Anton Tananaev6 months ago

All protocols support custom commands.

Salvador6 months ago

When I send a custom command in the Traccar UI for the GT06 protocol, I see this message in the server console, and the command works

2024-06-19 05:28:09  INFO: [Ta08ae112] id: 359857000001386, command type: custom sent

But when I try to do it for the Meitrack protocol, I don't see anything in the console.

I need to send this command:

C01,0,21222

Can I send it like that and will Traccar do the encoding?, Or is that my issue?

Anton Tananaev6 months ago

I'm pretty sure that's not the right format for the command. You have to check the documentation.