aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-01-05 09:37:54 -0800
committerAnton Tananaev <anton@traccar.org>2023-01-05 09:37:54 -0800
commitcf5379247a8de3a21016c8a74a6b9c9ac1b81fab (patch)
tree1765281c79aa604997a8ccbcd73c0ed06066a244 /src/main/java
parent046076aeb6f0c79bb59ef9aead4ebbc23e286c63 (diff)
downloadtrackermap-server-cf5379247a8de3a21016c8a74a6b9c9ac1b81fab.tar.gz
trackermap-server-cf5379247a8de3a21016c8a74a6b9c9ac1b81fab.tar.bz2
trackermap-server-cf5379247a8de3a21016c8a74a6b9c9ac1b81fab.zip
Fix activity decoding
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
index eb5e16de2..0b08badb8 100644
--- a/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
@@ -272,8 +272,8 @@ public class Minifinder2ProtocolDecoder extends BaseProtocolDecoder {
case 0x31:
int i = 1;
while (buf.readerIndex() < endIndex) {
- position.set("activity" + i + "Time", buf.readUnsignedInt());
- position.set("activity" + i, buf.readUnsignedInt());
+ position.set("activity" + i + "Time", buf.readUnsignedIntLE());
+ position.set("activity" + i, buf.readUnsignedIntLE());
i += 1;
}
break;