aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
diff options
context:
space:
mode:
authorMaarten Meersseman <maarten.meersseman@tvh.com>2018-07-17 13:09:22 +0200
committerMaarten Meersseman <maarten.meersseman@tvh.com>2018-07-17 13:09:22 +0200
commited8a0952ab8ee3bd23ea9ca616252984e9fe4c70 (patch)
treec7c29960c7c6cd2d7ab167ddc661b32f2de0b463 /src/org/traccar/protocol/TeltonikaProtocolDecoder.java
parentab81b1434504d9ed288079f2cf0eb81aaffa668c (diff)
downloadtrackermap-server-ed8a0952ab8ee3bd23ea9ca616252984e9fe4c70.tar.gz
trackermap-server-ed8a0952ab8ee3bd23ea9ca616252984e9fe4c70.tar.bz2
trackermap-server-ed8a0952ab8ee3bd23ea9ca616252984e9fe4c70.zip
Added gps status
https://github.com/traccar/traccar/issues/3973
Diffstat (limited to 'src/org/traccar/protocol/TeltonikaProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TeltonikaProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
index 5e9b6640e..5b5097b8f 100644
--- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -125,6 +125,9 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
case 67:
position.set(Position.KEY_BATTERY, readValue(buf, length, false) * 0.001);
break;
+ case 69:
+ position.set("gpsStatus", readValue(buf, length, false));
+ break;
case 72:
position.set(Position.PREFIX_TEMP + 1, readValue(buf, length, true) * 0.1);
break;