Error sending commands to tracker..

parelius6 years ago

When i try to send a command to the tracker, i got this error...
Any soulution?

H02 protocoll

rg.apache.commons.codec.DecoderException: Illegal hexadecimal character   at index 7 - RuntimeException (DataConverter:31 < BaseProtocol:81 < ActiveDevice:48 < ...)
Anton Tananaev6 years ago

What are you sending?

parelius6 years ago

8090000 300

Anton Tananaev6 years ago

What does it mean?

parelius6 years ago

It means send position every 300 sec when ignition is off.

Is it the same problem as this?

https://www.traccar.org/forums/topic/custom-command-is-not-working-after-upgrade-4-to-41/

Anton Tananaev6 years ago

Looks like it.

parelius6 years ago

Ok, thanks

parelius6 years ago

After update to the new server, the problem is still there....

Sending command: restart
H02 protocoll

org.apache.commons.codec.DecoderException: Odd number of characters. - RuntimeException (DataConverter:31 < BaseProtocol:99 < ActiveDevice:48 < ...)

Same protocoll with command: 8090000 300

org.apache.commons.codec.DecoderException: Illegal hexadecimal character   at index 7 - RuntimeException (DataConverter:31 < BaseProtocol:99 < ActiveDevice:48 < ...)
Anton Tananaev6 years ago

Are you using official 4.2 release without any modifications?

parelius6 years ago

Yes

Anton Tananaev6 years ago

Just tested latest code and the issue is not reproducible.