Error sending commands to tracker..

parelius5 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 Tananaev5 years ago

What are you sending?

parelius5 years ago

8090000 300

Anton Tananaev5 years ago

What does it mean?

parelius5 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 Tananaev5 years ago

Looks like it.

parelius5 years ago

Ok, thanks

parelius5 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 Tananaev5 years ago

Are you using official 4.2 release without any modifications?

parelius5 years ago

Yes

Anton Tananaev5 years ago

Just tested latest code and the issue is not reproducible.