Protocol KHD

Protocol KDH dont send command block to device.

In contact with the STG support, I was informed that it is necessary to send the serial of the device in the command, but the commandencode function of KHD has no parameter to obtain the serial and put in the bit of the command.

private ChannelBuffer encodeCommand(int command) {

...
        buf.writeInt(0); // terminal id
...
        return buf;
    }

Como ajustar isto?

Anton Tananaev6 years ago

Is it the same id that we use for identification?

Yes.

Anton Tananaev6 years ago

I have fixed the problem.

Tony Seychell6 years ago

Is there a step by step instructions to set up a new MT600-E tracker in Australia
I have very limited computer skills to connect to YI-Traccar
I got the Sms working but not the server tracking

Tony Seychell6 years ago

Also I am using iOS not android iPhone 6 S+

Anton Tananaev6 years ago

Tony, your request is completely off-topic. If you want to ask something create a separate thread of find a relevant one.

Great Anton! Tested, the device is receiving commands. Thank you for your attention. We have a very strong Traccar community in Brazil.