aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-06-19 08:48:44 -0700
committerAnton Tananaev <anton@traccar.org>2024-06-19 08:48:44 -0700
commit3679bcc9dc31fbab434f79a71ccb012c53b61c5e (patch)
tree04eb50178db4a00cdf733eec9561c57e36727737 /src/main/java
parente938fe96f5edca81551323d37ff8c9f02e28773c (diff)
downloadtrackermap-server-3679bcc9dc31fbab434f79a71ccb012c53b61c5e.tar.gz
trackermap-server-3679bcc9dc31fbab434f79a71ccb012c53b61c5e.tar.bz2
trackermap-server-3679bcc9dc31fbab434f79a71ccb012c53b61c5e.zip
Updated Sucre Lee protocol
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
index 319349d0e..d088077e2 100644
--- a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -1155,6 +1155,11 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_ICCID, ByteBufUtil.hexDump(buf.readSlice(10)).replaceAll("f", ""));
return position;
+ } else if (subType == 0x0b) {
+
+ position.set("networkTechnology", buf.readByte() > 0 ? "4G" : "2G");
+ return position;
+
} else if (subType == 0x0d) {
if (buf.getByte(buf.readerIndex()) != '!') {