aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/CarcellProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/CarcellProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/CarcellProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/CarcellProtocolDecoder.java b/src/org/traccar/protocol/CarcellProtocolDecoder.java
index 70e99558e..3d1ceff2c 100644
--- a/src/org/traccar/protocol/CarcellProtocolDecoder.java
+++ b/src/org/traccar/protocol/CarcellProtocolDecoder.java
@@ -140,7 +140,7 @@ public class CarcellProtocolDecoder extends BaseProtocolDecoder {
if (parser.hasNext(4)) {
position.set("cloned", parser.next().equals("1"));
- position.set(Position.KEY_ALARM, parser.next());
+ parser.next(); // panic button status
String painelStatus = parser.next();
if (painelStatus.equals("1")) {
@@ -154,7 +154,7 @@ public class CarcellProtocolDecoder extends BaseProtocolDecoder {
if (parser.hasNext(5)) {
position.set("timeUntilDelivery", parser.nextInt());
- position.set(Position.KEY_ALARM, parser.next());
+ parser.next(); // panic button status
position.set(Position.KEY_INPUT, parser.next()); // aux
Double mainVoltage = parser.nextDouble() / 100d;