diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-02 08:35:18 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-02 08:35:18 -0700 |
commit | 8853720199fb97d31d61cb442b5eac2d547aa8a0 (patch) | |
tree | 58d3fa1ae487c299a1835816bac14bb373d784d4 /src/main/java/org | |
parent | 9633eccdead886ed0b580707ad76cdf06df9a603 (diff) | |
download | trackermap-server-8853720199fb97d31d61cb442b5eac2d547aa8a0.tar.gz trackermap-server-8853720199fb97d31d61cb442b5eac2d547aa8a0.tar.bz2 trackermap-server-8853720199fb97d31d61cb442b5eac2d547aa8a0.zip |
Fix Envotech status decoding
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/EnvotechProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/EnvotechProtocolDecoder.java b/src/main/java/org/traccar/protocol/EnvotechProtocolDecoder.java index 51391d4cc..347063547 100644 --- a/src/main/java/org/traccar/protocol/EnvotechProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/EnvotechProtocolDecoder.java @@ -99,7 +99,7 @@ public class EnvotechProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_INPUT, parser.nextHexInt()); position.set(Position.PREFIX_OUT, parser.nextHexInt()); position.set(Position.KEY_FUEL_LEVEL, parser.nextHexInt()); - position.set(Position.KEY_STATUS, parser.nextHexInt()); + position.set(Position.KEY_STATUS, parser.nextHexLong()); position.setFixTime(parser.nextDateTime(Parser.DateTimeFormat.DMY_HMS)); position.setValid(parser.nextInt() > 0); |