aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-05-09 21:46:42 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-05-09 21:46:42 +1200
commit7ca0f09a4f07ece35e3294f9c22206205940440a (patch)
tree37965bf565fc23282f44c3b4d24dfd389ecf2dc7 /src
parent53481fc2c7eafc0550a1468d30be065fbe4e0a1f (diff)
downloadtraccar-server-7ca0f09a4f07ece35e3294f9c22206205940440a.tar.gz
traccar-server-7ca0f09a4f07ece35e3294f9c22206205940440a.tar.bz2
traccar-server-7ca0f09a4f07ece35e3294f9c22206205940440a.zip
Fix Wialon protocol decoder (fix #698)
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/WialonProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WialonProtocolDecoder.java b/src/org/traccar/protocol/WialonProtocolDecoder.java
index 3a1d02c9a..1ece527d8 100644
--- a/src/org/traccar/protocol/WialonProtocolDecoder.java
+++ b/src/org/traccar/protocol/WialonProtocolDecoder.java
@@ -123,7 +123,7 @@ public class WialonProtocolDecoder extends BaseProtocolDecoder {
position.setLongitude(longitude);
// Speed
- position.setSpeed(Double.valueOf(parser.group(index++)));
+ position.setSpeed(Double.valueOf(parser.group(index++)) * 0.539957);
// Course
position.setCourse(Double.valueOf(parser.group(index++)));