aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/OigoProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-22 07:50:17 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-22 07:50:17 +1300
commit049fc82cd5f5b7fea93d3e55aad083e30af22cdd (patch)
tree4f6b3d39826f35b371a3e28eaf44476d3fe5265b /src/org/traccar/protocol/OigoProtocolDecoder.java
parent886eb61ff0961d7e3be4e926d1510994b3df84e2 (diff)
downloadtrackermap-server-049fc82cd5f5b7fea93d3e55aad083e30af22cdd.tar.gz
trackermap-server-049fc82cd5f5b7fea93d3e55aad083e30af22cdd.tar.bz2
trackermap-server-049fc82cd5f5b7fea93d3e55aad083e30af22cdd.zip
Add new Galileo attributes
Diffstat (limited to 'src/org/traccar/protocol/OigoProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/OigoProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/OigoProtocolDecoder.java b/src/org/traccar/protocol/OigoProtocolDecoder.java
index d10f754e9..9538053b6 100644
--- a/src/org/traccar/protocol/OigoProtocolDecoder.java
+++ b/src/org/traccar/protocol/OigoProtocolDecoder.java
@@ -208,7 +208,7 @@ public class OigoProtocolDecoder extends BaseProtocolDecoder {
int index = buf.readUnsignedByte();
- position.set(Position.KEY_VERSION, buf.readUnsignedByte());
+ position.set(Position.KEY_VERSION_FW, buf.readUnsignedByte());
position.set(Position.KEY_SATELLITES, buf.readUnsignedByte());
position.set(Position.KEY_ODOMETER, (long) (buf.readUnsignedInt() * 1609.34));