From a11b2887789f962a55dd3cd219b493f3a148ec98 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 11 Sep 2017 20:28:39 +1200 Subject: Add new Teltonika parameters --- src/org/traccar/protocol/TeltonikaProtocolDecoder.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/org/traccar/protocol') diff --git a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java index 15c5b8e80..aa9bfe4fe 100644 --- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -104,6 +104,15 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { case 9: position.set(Position.PREFIX_ADC + 1, readValue(buf, length, false)); break; + case 17: + position.set("axisX", readValue(buf, length, true)); + break; + case 18: + position.set("axisY", readValue(buf, length, true)); + break; + case 19: + position.set("axisZ", readValue(buf, length, true)); + break; case 66: position.set(Position.KEY_POWER, readValue(buf, length, false) * 0.001); break; -- cgit v1.2.3