aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorSahal Ghafur <sahal.abdulghafur@bt.com>2024-03-15 13:28:23 +0000
committerSahal Ghafur <sahal.abdulghafur@bt.com>2024-03-15 13:28:23 +0000
commita9b08325240b3f4c76d5f6a042c6740b1f81a889 (patch)
treec059e6ec323f48511c5551a409e12ae59d7f1ba3 /src/main/java/org/traccar/protocol
parent73dffe380b1faa799f6944d730e71b1b85633f76 (diff)
downloadtrackermap-server-a9b08325240b3f4c76d5f6a042c6740b1f81a889.tar.gz
trackermap-server-a9b08325240b3f4c76d5f6a042c6740b1f81a889.tar.bz2
trackermap-server-a9b08325240b3f4c76d5f6a042c6740b1f81a889.zip
Updated Position Key for spO2
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 e50655b37..2d6bde89f 100644
--- a/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
@@ -299,7 +299,7 @@ public class Minifinder2ProtocolDecoder extends BaseProtocolDecoder {
buf.readUnsignedIntLE(); // timestamp
int spO2 = buf.readUnsignedByte();
if (spO2 > 1) {
- position.set(Position.KEY_SP02, spO2);
+ position.set("spO2", spO2);
}
break;
default: