aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-10 09:43:31 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-10 09:43:31 -0700
commit18fa5d9b7a234638183cd773dcb49987d51cc381 (patch)
tree3b634744b9b1d7bd6c27d1192ba008cb7eb1173b /src
parentfe61a79b37a2de3bc435890e5cca43ac05fc598c (diff)
downloadtrackermap-server-18fa5d9b7a234638183cd773dcb49987d51cc381.tar.gz
trackermap-server-18fa5d9b7a234638183cd773dcb49987d51cc381.tar.bz2
trackermap-server-18fa5d9b7a234638183cd773dcb49987d51cc381.zip
Special watch prefix
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/WatchProtocolEncoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java b/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java
index f1904ea4d..14ebe2852 100644
--- a/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java
@@ -67,6 +67,9 @@ public class WatchProtocolEncoder extends StringProtocolEncoder implements Strin
if (decoder != null) {
hasIndex = decoder.getHasIndex();
manufacturer = decoder.getManufacturer();
+ if (manufacturer.equals("3G")) {
+ manufacturer = "SG";
+ }
}
}