aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-06-27 22:39:23 -0700
committerAnton Tananaev <anton@traccar.org>2023-06-27 22:39:23 -0700
commit1b899329364619cbdc4213e2fd065955a94f5c6c (patch)
tree57394f0898768df6a361b4a435bdecdb4417a780 /src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java
parent3b6900a95342ae87861cfcae8870ac790da7a504 (diff)
downloadtrackermap-server-1b899329364619cbdc4213e2fd065955a94f5c6c.tar.gz
trackermap-server-1b899329364619cbdc4213e2fd065955a94f5c6c.tar.bz2
trackermap-server-1b899329364619cbdc4213e2fd065955a94f5c6c.zip
Fix Fifotrack Q2 decoding
Diffstat (limited to 'src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java
index 14b33b67f..c30398d36 100644
--- a/src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java
@@ -235,8 +235,8 @@ public class FifotrackProtocolDecoder extends BaseProtocolDecoder {
position.setValid(parser.next().equals("A"));
position.setFixTime(position.getDeviceTime());
- position.set(Position.KEY_SATELLITES, parser.nextInt());
position.setSpeed(UnitsConverter.knotsFromKph(parser.nextInt()));
+ position.set(Position.KEY_SATELLITES, parser.nextInt());
position.setLatitude(parser.nextDouble());
position.setLongitude(parser.nextDouble());