diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-04 22:42:20 -0500 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-04 22:42:20 -0500 |
commit | f7da653ee14f471cf3d482690e7c659297514ab9 (patch) | |
tree | 886e617550b494d32444ac8c2eec155a5b56dbc1 /src/org/traccar/protocol/RitiProtocolDecoder.java | |
parent | 525db3566a9e17f626d34e498c85e02d382d6655 (diff) | |
download | trackermap-server-f7da653ee14f471cf3d482690e7c659297514ab9.tar.gz trackermap-server-f7da653ee14f471cf3d482690e7c659297514ab9.tar.bz2 trackermap-server-f7da653ee14f471cf3d482690e7c659297514ab9.zip |
Removed old comments that have been made redundant, as requested;
Diffstat (limited to 'src/org/traccar/protocol/RitiProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/RitiProtocolDecoder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/RitiProtocolDecoder.java b/src/org/traccar/protocol/RitiProtocolDecoder.java index 7f81ef09c..bbd176b38 100644 --- a/src/org/traccar/protocol/RitiProtocolDecoder.java +++ b/src/org/traccar/protocol/RitiProtocolDecoder.java @@ -67,14 +67,14 @@ public class RitiProtocolDecoder extends BaseProtocolDecoder { position.set("mode", buf.readUnsignedByte()); position.set(Position.KEY_COMMAND, buf.readUnsignedByte()); - position.set(Position.KEY_POWER, buf.readUnsignedShort()); // mV + position.set(Position.KEY_POWER, buf.readUnsignedShort()); buf.skipBytes(5); // status buf.readUnsignedShort(); // idleCount buf.readUnsignedShort(); // idleTime in seconds - position.set(Position.KEY_DISTANCE, buf.readUnsignedInt()); // meters - position.set(Position.KEY_ODOMETER_TRIP, buf.readUnsignedInt()); // meters + position.set(Position.KEY_DISTANCE, buf.readUnsignedInt()); + position.set(Position.KEY_ODOMETER_TRIP, buf.readUnsignedInt()); // Parse GPRMC int end = buf.indexOf(buf.readerIndex(), buf.writerIndex(), (byte) '*'); |