aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/RadarProtocolDecoder.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/RadarProtocolDecoder.java b/src/main/java/org/traccar/protocol/RadarProtocolDecoder.java
index 765171e9c..b56a081c7 100644
--- a/src/main/java/org/traccar/protocol/RadarProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RadarProtocolDecoder.java
@@ -172,6 +172,12 @@ public class RadarProtocolDecoder extends BaseProtocolDecoder {
if (mask.get(50)) {
buf.readShort(); // tilt
}
+ if (mask.get(51)) {
+ buf.readUnsignedInt(); // partial hours
+ }
+ if (mask.get(52)) {
+ buf.readUnsignedInt(); // accumulated hours
+ }
if (position.getDeviceTime() != null && position.getFixTime() != null) {
positions.add(position);