aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/WatchProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-24 14:45:14 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-09-24 14:45:14 +1300
commit62e2696c2d8e619d90cb978fa60f714312649866 (patch)
tree997ca54628736202cd0a0051c4687e020b61dd16 /src/org/traccar/protocol/WatchProtocolDecoder.java
parentfd59d77dbd6037c7b72eb6f4d132db4bde6877a0 (diff)
downloadtrackermap-server-62e2696c2d8e619d90cb978fa60f714312649866.tar.gz
trackermap-server-62e2696c2d8e619d90cb978fa60f714312649866.tar.bz2
trackermap-server-62e2696c2d8e619d90cb978fa60f714312649866.zip
Support additional eeLink parameters
Diffstat (limited to 'src/org/traccar/protocol/WatchProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/WatchProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WatchProtocolDecoder.java b/src/org/traccar/protocol/WatchProtocolDecoder.java
index adab65245..86dc9456d 100644
--- a/src/org/traccar/protocol/WatchProtocolDecoder.java
+++ b/src/org/traccar/protocol/WatchProtocolDecoder.java
@@ -205,7 +205,7 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_RSSI, parser.nextInt(0));
position.set(Position.KEY_BATTERY_LEVEL, parser.nextInt(0));
- position.set("steps", parser.nextInt(0));
+ position.set(Position.KEY_STEPS, parser.nextInt(0));
int status = parser.nextHexInt(0);
position.set(Position.KEY_ALARM, decodeAlarm(status));