aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/CarscopProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/CarscopProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/CarscopProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CarscopProtocolDecoder.java b/src/org/traccar/protocol/CarscopProtocolDecoder.java
index 6270a2804..5f7ba6374 100644
--- a/src/org/traccar/protocol/CarscopProtocolDecoder.java
+++ b/src/org/traccar/protocol/CarscopProtocolDecoder.java
@@ -111,7 +111,7 @@ public class CarscopProtocolDecoder extends BaseProtocolDecoder {
position.setCourse(Double.valueOf(parser.group(index++)));
// State
- position.set("state", parser.group(index++));
+ position.set(Event.KEY_STATUS, parser.group(index++));
// Odometer
position.set(Event.KEY_ODOMETER, Integer.valueOf(parser.group(index++)));