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.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CarcellProtocolDecoder.java b/src/org/traccar/protocol/CarcellProtocolDecoder.java
index e8c30f276..50b294f45 100644
--- a/src/org/traccar/protocol/CarcellProtocolDecoder.java
+++ b/src/org/traccar/protocol/CarcellProtocolDecoder.java
@@ -141,7 +141,7 @@ public class CarcellProtocolDecoder extends BaseProtocolDecoder {
parser.next(); // panic button status
- Integer painelStatus = parser.nextInt();
+ String painelStatus = parser.next();
position.set(Position.KEY_ALARM, painelStatus.equals("1"));
position.set("painel", painelStatus.equals("2"));