aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-07-24 07:26:18 -0700
committerAnton Tananaev <anton@traccar.org>2023-07-24 07:26:18 -0700
commit6e5481ebb1858726604706d011e5c5f509ac5306 (patch)
tree63e06d0bb9918f5f5601325e13f4d523e6e32e11 /src/main/java/org/traccar/protocol
parentfc3c3ee38bdfd51ed1f56488661becffecceb3ef (diff)
downloadtrackermap-server-6e5481ebb1858726604706d011e5c5f509ac5306.tar.gz
trackermap-server-6e5481ebb1858726604706d011e5c5f509ac5306.tar.bz2
trackermap-server-6e5481ebb1858726604706d011e5c5f509ac5306.zip
Fix VL03 ignition decoding
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
index f7cdd3920..d6d988423 100644
--- a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -345,7 +345,7 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
mnc = buf.readUnsignedByte();
}
int lac;
- if (type == MSG_LBS_ALARM) {
+ if (type == MSG_LBS_ALARM || type == MSG_GPS_LBS_7) {
lac = buf.readInt();
} else {
lac = buf.readUnsignedShort();