aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/WatchProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-04-20 15:44:50 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-04-20 15:44:50 +1200
commit184f9bb3ffa4015836ca6c67552771a4a901c15e (patch)
tree75fee04a5d778862f2a21b37e6ce484c539b1cdb /src/org/traccar/protocol/WatchProtocolDecoder.java
parent773768093c6c78906e54abe128cb1b4ca9430313 (diff)
downloadtrackermap-server-184f9bb3ffa4015836ca6c67552771a4a901c15e.tar.gz
trackermap-server-184f9bb3ffa4015836ca6c67552771a4a901c15e.tar.bz2
trackermap-server-184f9bb3ffa4015836ca6c67552771a4a901c15e.zip
Decode additional P60 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 b58c3b6a1..f55b6f7be 100644
--- a/src/org/traccar/protocol/WatchProtocolDecoder.java
+++ b/src/org/traccar/protocol/WatchProtocolDecoder.java
@@ -273,7 +273,7 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder {
position.set("pressureHigh", values[valueIndex++]);
position.set("pressureLow", values[valueIndex++]);
}
- position.set("pulse", values[valueIndex]);
+ position.set(Position.KEY_HEART_RATE, Integer.parseInt(values[valueIndex]));
return position;