Dear forum,
i need to send additional position data, since API don't give the opportunity to POST positions i've used the OSMAND protocol.
Data are showed as expected but if then i try to send a command to the GPS unit (teltonika) seams like do not recognize the protocol anymore showing the error
Odd number of characters. - DecoderException (... < DataConverter:29 < BaseProtocol:99 < ActiveDevice:48 < ...)
This even if the last message is sent by the GPS itself using the teltonika protocol.
Any idea to fix it?
Regards.
Hello,
Which version of Traccar are you using?
Hi, last one available 4.5.
For the sake of clarity, steps to reproduce this bug are:
- Add a Teltonika GPS to traccar
- Send the custom command "battery" -> "work as expected"
- Send a position using OSMAND with the same uniqueId of Teltonika GPS
- Send the custom command "battery" -> "
ERROR: Odd number of characters. - DecoderException (... < DataConverter:29 < BaseProtocol:99 < ActiveDevice:48 < ...)
This happens also if between step 3 and 4 there is a regular sent Teltonika position message
Basically to my eyes looks that if you send a position to an id using OSMAND the osmand protocol will stick forever to the device send command method.
Dear forum,
i need to send additional position data, since API don't give the opportunity to POST positions i've used the OSMAND protocol.
Data are showed as expected but if then i try to send a command to the GPS unit (teltonika) seams like do not recognize the protocol anymore showing the error
This even if the last message is sent by the GPS itself using the teltonika protocol.
Any idea to fix it?
Regards.