aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-11-22 21:06:37 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-11-22 21:06:37 -0800
commitfd47e69b388b1e0af8aa5ead940773f6b2da3e81 (patch)
tree8b7db9b92d92b941e48218b78b248d647516abfa /src/main/java/org/traccar/protocol
parentc0b26fd74ecb86f67c682da21a694665be2c5279 (diff)
downloadtrackermap-server-fd47e69b388b1e0af8aa5ead940773f6b2da3e81.tar.gz
trackermap-server-fd47e69b388b1e0af8aa5ead940773f6b2da3e81.tar.bz2
trackermap-server-fd47e69b388b1e0af8aa5ead940773f6b2da3e81.zip
Decode IO values
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/DolphinProtocolDecoder.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/DolphinProtocolDecoder.java b/src/main/java/org/traccar/protocol/DolphinProtocolDecoder.java
index e882c2378..d509b3ec0 100644
--- a/src/main/java/org/traccar/protocol/DolphinProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/DolphinProtocolDecoder.java
@@ -101,6 +101,10 @@ public class DolphinProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_SATELLITES, point.getSatellites());
position.set(Position.KEY_HDOP, point.getHDOP());
+ for (int j = 0; j < point.getIOListIDCount(); j++) {
+ position.set(Position.PREFIX_IO + point.getIOListIDValue(j), point.getIOListValue(j));
+ }
+
positions.add(position);
}