From 9726f97fe3d1f83351bf98b0a61361aa371c43be Mon Sep 17 00:00:00 2001 From: jfunston83 Date: Fri, 25 Oct 2019 18:19:14 -0600 Subject: Support for Odometer and Run Hours Support for a number of DMT devices that track odometer and run hours. --- src/main/java/org/traccar/protocol/DmtProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org/traccar/protocol') diff --git a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java index 43af422db..79a80c0c8 100644 --- a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java @@ -187,7 +187,7 @@ public class DmtProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_INPUT, input); position.set(Position.KEY_OUTPUT, output); position.set(Position.KEY_STATUS, status); - + } else if (fieldId == 27) { int odometer = buf.readIntLE(); int runhours = buf.readIntLE(); -- cgit v1.2.3