aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-06-27 22:33:54 -0700
committerAnton Tananaev <anton@traccar.org>2023-06-27 22:33:54 -0700
commit3b6900a95342ae87861cfcae8870ac790da7a504 (patch)
treeb354c0ab00cfd482f9bc05eb70d6556eef13c566 /src/main/java/org/traccar/protocol
parent2088a59da55e581391f9a768003b68baca467007 (diff)
downloadtrackermap-server-3b6900a95342ae87861cfcae8870ac790da7a504.tar.gz
trackermap-server-3b6900a95342ae87861cfcae8870ac790da7a504.tar.bz2
trackermap-server-3b6900a95342ae87861cfcae8870ac790da7a504.zip
Support services message type
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
index f8b0c34e9..cd8d8e0cf 100644
--- a/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
@@ -151,7 +151,7 @@ public class Minifinder2ProtocolDecoder extends BaseProtocolDecoder {
sendResponse(channel, remoteAddress, index, type, buf);
}
- if (type == MSG_DATA) {
+ if (type == MSG_DATA || type == MSG_SERVICES) {
List<Position> positions = new LinkedList<>();
Set<Integer> keys = new HashSet<>();