Version 4.1 of Traccar does not work sending commands from the web page

oM6 years ago

Hello Anton,

Hoping that you are well, I tell you that since I updated to version 4.1 of Traccar does not work the option to send commands to devices from the web page.
I am working with GT06 protocol.

On the web page I only see the message that the command has been sent, but it does not return any error.

Checking in the logs I note that the device returns the information to the Traccar server but apparently the server can not interpret it.

2018-11-06 10:41:41 INFO: [a7fa1be7] id: 359857080882418, command type: custom sent
2018-11-06 10:41:41 INFO: [a7fa1be7: 5023> 181.188.201.162] HEX: 787811800b0000000053544154555323000073120d0a
11/06/2018 10:41:43 INFO: [a7fa1be7: 5023 <181188201162] HEX: 7878c815c0000000004261747465727920566f6c746167653a332e3933563b44617461204c696e6b3a4f6e6c696e653b4e6574776f726b205369676e616c204c6576656c3a33323b4143433a4f4e3b42442f4750533a474e5353205375636365737366756c6c7920506f736974696f6e696e673b535653205573656420696e206669783a39283131293b474e5353205369676e616c204c6576656c3a31392c33332c31352c33372c33302c33392c362c32302c32382c33322c446566656e73653a4f46463b000200004a2c0d0a
2018-11-06 10:41:43 INFO: [a7fa1be7: 5023> 181.188.201.162] HEX: 7878051500002ea10d0a

I look forward to your prompt help and response.

Regards,
oM

Anton Tananaev6 years ago

As far as I can tell, your command was sent just fine.

oM6 years ago

Anton,

You can help me with a clue to try to solve the problem.
From what was reviewed in github I see that there is a commit of October 29 ""
735fc14 "where you solve a similar problem related to the H02 protocol.

Maybe some modification should be made in the files "Gt06ProtocolDecoder.java" and "Gt06ProtocolEncoder.java" since I am handling protocol GT06 ?.

I look forward to your prompt response

Anton Tananaev6 years ago

If you think the format is incorrect, you need to tell me what exactly is incorrect and provide appropriate documentation to support your point.