diff options
author | Anton Tananaev <anton@traccar.org> | 2023-12-29 07:44:12 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-12-29 07:44:12 -0800 |
commit | 3b9333bec68898b08894b999b6f95c39e7e21f08 (patch) | |
tree | 5adf9468b52ae9478a33a35b1241b22f1fbe8ddb /src/main | |
parent | 0b3842c7df86f603853149746f65b41a085830c9 (diff) | |
download | trackermap-server-3b9333bec68898b08894b999b6f95c39e7e21f08.tar.gz trackermap-server-3b9333bec68898b08894b999b6f95c39e7e21f08.tar.bz2 trackermap-server-3b9333bec68898b08894b999b6f95c39e7e21f08.zip |
Add Meitrack engine hours
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java index 1235ca9fe..c37d1fe47 100644 --- a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java @@ -534,6 +534,9 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder { case 0xA2: position.set(Position.KEY_FUEL_CONSUMPTION, buf.readUnsignedIntLE() * 0.01); break; + case 0xFEF4: + position.set(Position.KEY_HOURS, buf.readUnsignedIntLE() * 60000); + break; default: buf.readUnsignedIntLE(); break; |