From ed8a0952ab8ee3bd23ea9ca616252984e9fe4c70 Mon Sep 17 00:00:00 2001 From: Maarten Meersseman Date: Tue, 17 Jul 2018 13:09:22 +0200 Subject: Added gps status https://github.com/traccar/traccar/issues/3973 --- src/org/traccar/protocol/TeltonikaProtocolDecoder.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/org') 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; -- cgit v1.2.3