aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GpsmtaProtocolDecoder.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-02-21 22:35:50 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-02-21 22:35:50 -0500
commitb96c5afe15d06fedb76bcaf5445b4573c79ce60e (patch)
tree3c74b08415fcb292056f24b8242e674757c00dc0 /src/org/traccar/protocol/GpsmtaProtocolDecoder.java
parent97fdf1bbf9f1595b22c9cb8ef5f20ca900a4e885 (diff)
downloadtrackermap-server-b96c5afe15d06fedb76bcaf5445b4573c79ce60e.tar.gz
trackermap-server-b96c5afe15d06fedb76bcaf5445b4573c79ce60e.tar.bz2
trackermap-server-b96c5afe15d06fedb76bcaf5445b4573c79ce60e.zip
Updated {Gpsmta,Mxt,Tt8850} Protocols to record Accuracy;
Diffstat (limited to 'src/org/traccar/protocol/GpsmtaProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/GpsmtaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GpsmtaProtocolDecoder.java b/src/org/traccar/protocol/GpsmtaProtocolDecoder.java
index 7360dbc1d..4436b7605 100644
--- a/src/org/traccar/protocol/GpsmtaProtocolDecoder.java
+++ b/src/org/traccar/protocol/GpsmtaProtocolDecoder.java
@@ -73,7 +73,7 @@ public class GpsmtaProtocolDecoder extends BaseProtocolDecoder {
position.setLongitude(parser.nextDouble());
position.setSpeed(parser.nextInt());
position.setCourse(parser.nextInt());
- parser.next();
+ position.setAccuracy(parser.nextInt());
position.setAltitude(parser.nextInt());
position.set(Position.KEY_STATUS, parser.nextInt());