diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-07-30 20:59:28 -1000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-07-30 20:59:28 -1000 |
commit | 57ff7a02db797ad377df8a7b65e96e8768aed438 (patch) | |
tree | 5dc36c653cb9d62288b545533bab924d9ac37cbe /src/main/java | |
parent | ad6720a20bc9abb728630b96fc811e7293e7a307 (diff) | |
download | traccar-server-57ff7a02db797ad377df8a7b65e96e8768aed438.tar.gz traccar-server-57ff7a02db797ad377df8a7b65e96e8768aed438.tar.bz2 traccar-server-57ff7a02db797ad377df8a7b65e96e8768aed438.zip |
Fix Mobicom G102 result
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/protocol/KhdProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/KhdProtocolDecoder.java b/src/main/java/org/traccar/protocol/KhdProtocolDecoder.java index 371b0f71c..a14f9b8a4 100644 --- a/src/main/java/org/traccar/protocol/KhdProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/KhdProtocolDecoder.java @@ -178,7 +178,7 @@ public class KhdProtocolDecoder extends BaseProtocolDecoder { buf.readUnsignedByte(); buf.readUnsignedByte(); - position.set(Position.KEY_RESULT, buf.readUnsignedByte()); + position.set(Position.KEY_RESULT, String.valueOf(buf.readUnsignedByte())); if (type == MSG_PERIPHERAL) { |