aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-01 12:21:44 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-01 12:21:44 +0500
commita2214178139b7fb097e2b6aee2518a0255d44f06 (patch)
tree7f890b577a0a853e3908467e4b6ad9ed31271f9a
parentc41c8edd7e4d275885cbef72212e553a2c86c9b4 (diff)
downloadtrackermap-server-a2214178139b7fb097e2b6aee2518a0255d44f06.tar.gz
trackermap-server-a2214178139b7fb097e2b6aee2518a0255d44f06.tar.bz2
trackermap-server-a2214178139b7fb097e2b6aee2518a0255d44f06.zip
Removed jamming
-rw-r--r--src/org/traccar/model/Position.java1
-rw-r--r--src/org/traccar/protocol/UlbotechProtocolDecoder.java3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index 868719033..a62839702 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/org/traccar/model/Position.java
@@ -79,7 +79,6 @@ public class Position extends Message {
public static final String ALARM_MOTION = "motion";
public static final String ALARM_FAULT = "fault";
public static final String ALARM_POWER_OFF = "powerOff";
- public static final String ALARM_JAMMING = "jamming";
public static final String ALARM_GEOFENCE = "geofence";
public static final String ALARM_GEOFENCE_ENTER = "geofenceEnter";
public static final String ALARM_GEOFENCE_EXIT = "geofenceExit";
diff --git a/src/org/traccar/protocol/UlbotechProtocolDecoder.java b/src/org/traccar/protocol/UlbotechProtocolDecoder.java
index 0cde5c0d4..36fb23f9a 100644
--- a/src/org/traccar/protocol/UlbotechProtocolDecoder.java
+++ b/src/org/traccar/protocol/UlbotechProtocolDecoder.java
@@ -125,9 +125,6 @@ public class UlbotechProtocolDecoder extends BaseProtocolDecoder {
if (BitUtil.check(alarm, 2)) {
return Position.ALARM_OVERSPEED;
}
- if (BitUtil.check(alarm, 3)) {
- return Position.ALARM_JAMMING;
- }
if (BitUtil.check(alarm, 4)) {
return Position.ALARM_GEOFENCE;
}