aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-03-05 00:18:36 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-03-05 00:18:36 -0500
commit2132438607f4bd8c88fbf89d9e9150fe1b90cd0f (patch)
treea2c0be6a539922f08c13f630026a69922cfd09ab /src/org/traccar
parent8f61aa2b61b96ff3feee9390be54de4d609051e7 (diff)
downloadtrackermap-server-2132438607f4bd8c88fbf89d9e9150fe1b90cd0f.tar.gz
trackermap-server-2132438607f4bd8c88fbf89d9e9150fe1b90cd0f.tar.bz2
trackermap-server-2132438607f4bd8c88fbf89d9e9150fe1b90cd0f.zip
Added "mV" to Position.KEY_POWER;
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/RitiProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/RitiProtocolDecoder.java b/src/org/traccar/protocol/RitiProtocolDecoder.java
index bbd176b38..8ff72a9c1 100644
--- a/src/org/traccar/protocol/RitiProtocolDecoder.java
+++ b/src/org/traccar/protocol/RitiProtocolDecoder.java
@@ -67,7 +67,7 @@ public class RitiProtocolDecoder extends BaseProtocolDecoder {
position.set("mode", buf.readUnsignedByte());
position.set(Position.KEY_COMMAND, buf.readUnsignedByte());
- position.set(Position.KEY_POWER, buf.readUnsignedShort());
+ position.set(Position.KEY_POWER, buf.readUnsignedShort() + "mV");
buf.skipBytes(5); // status
buf.readUnsignedShort(); // idleCount