diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-05 00:18:36 -0500 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-05 00:18:36 -0500 |
commit | 2132438607f4bd8c88fbf89d9e9150fe1b90cd0f (patch) | |
tree | a2c0be6a539922f08c13f630026a69922cfd09ab /src/org/traccar | |
parent | 8f61aa2b61b96ff3feee9390be54de4d609051e7 (diff) | |
download | traccar-server-2132438607f4bd8c88fbf89d9e9150fe1b90cd0f.tar.gz traccar-server-2132438607f4bd8c88fbf89d9e9150fe1b90cd0f.tar.bz2 traccar-server-2132438607f4bd8c88fbf89d9e9150fe1b90cd0f.zip |
Added "mV" to Position.KEY_POWER;
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/RitiProtocolDecoder.java | 2 |
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 |