Protocol KHD

Michaell Oliveira 8 years ago

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 Tananaev 8 years ago

Is it the same id that we use for identification?

Michaell Oliveira 8 years ago

Yes.

Anton Tananaev 8 years ago

I have fixed the problem.

Tony Seychell 8 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 Seychell 8 years ago

Also I am using iOS not android iPhone 6 S+

Anton Tananaev 8 years ago

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

Michaell Oliveira 8 years ago

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