aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-03 13:59:35 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-03 13:59:35 -0700
commite73f36db83b9dc00a5dfe0a9625f40bd2698c3fa (patch)
tree1114db48161c7f98c10d2f1b22e90576925f59de /src/main/java/org
parentbb6964f03867d039a547c103cd16390f78688022 (diff)
downloadtrackermap-server-e73f36db83b9dc00a5dfe0a9625f40bd2698c3fa.tar.gz
trackermap-server-e73f36db83b9dc00a5dfe0a9625f40bd2698c3fa.tar.bz2
trackermap-server-e73f36db83b9dc00a5dfe0a9625f40bd2698c3fa.zip
Decode Escort fuel sensor
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
index c7713bdc2..0135e78b7 100644
--- a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
@@ -978,7 +978,7 @@ public class Gl200TextProtocolDecoder extends BaseProtocolDecoder {
index += 1; // device type
if (BitUtil.check(mask, 0)) {
- index += 1; // digital fuel sensor data
+ position.set(Position.KEY_FUEL_LEVEL, Integer.parseInt(data[index++], 16));
}
if (BitUtil.check(mask, 1)) {