aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-24 22:08:20 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-24 22:08:20 -0700
commit0410bce8df4f66aec23232caf03100a36527d15b (patch)
tree63f7d07957ac4cbf5e30e883aa46ca1257263315 /src
parentabf9f5f445bd2d460bf541ea0edb1bce339d2180 (diff)
downloadtrackermap-server-0410bce8df4f66aec23232caf03100a36527d15b.tar.gz
trackermap-server-0410bce8df4f66aec23232caf03100a36527d15b.tar.bz2
trackermap-server-0410bce8df4f66aec23232caf03100a36527d15b.zip
Remove incorrect alarms
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java
index 2ca71a1ae..0284ff6c7 100644
--- a/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -140,8 +140,6 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
return Position.ALARM_FUEL_LEAK;
}
switch (value) {
- case "tracker":
- return null;
case "help me":
return Position.ALARM_SOS;
case "low battery":
@@ -152,10 +150,6 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
return Position.ALARM_MOVEMENT;
case "speed":
return Position.ALARM_OVERSPEED;
- case "acc on":
- return Position.ALARM_POWER_ON;
- case "acc off":
- return Position.ALARM_POWER_OFF;
case "door alarm":
return Position.ALARM_DOOR;
case "ac alarm":
@@ -170,6 +164,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
return Position.ALARM_FOOT_BRAKE;
case "DTC":
return Position.ALARM_FAULT;
+ case "tracker":
default:
return null;
}