Error sending commands to tracker..

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

What are you sending?

parelius 7 years ago

8090000 300

Anton Tananaev 7 years ago

What does it mean?

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

Looks like it.

parelius 7 years ago

Ok, thanks

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

Are you using official 4.2 release without any modifications?

parelius 7 years ago

Yes

Anton Tananaev 7 years ago

Just tested latest code and the issue is not reproducible.