diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-22 07:50:17 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-22 07:50:17 +1300 |
commit | 049fc82cd5f5b7fea93d3e55aad083e30af22cdd (patch) | |
tree | 4f6b3d39826f35b371a3e28eaf44476d3fe5265b /src/org/traccar/protocol/SuntechProtocolDecoder.java | |
parent | 886eb61ff0961d7e3be4e926d1510994b3df84e2 (diff) | |
download | trackermap-server-049fc82cd5f5b7fea93d3e55aad083e30af22cdd.tar.gz trackermap-server-049fc82cd5f5b7fea93d3e55aad083e30af22cdd.tar.bz2 trackermap-server-049fc82cd5f5b7fea93d3e55aad083e30af22cdd.zip |
Add new Galileo attributes
Diffstat (limited to 'src/org/traccar/protocol/SuntechProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/SuntechProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocolDecoder.java b/src/org/traccar/protocol/SuntechProtocolDecoder.java index d081cb901..55d5c224a 100644 --- a/src/org/traccar/protocol/SuntechProtocolDecoder.java +++ b/src/org/traccar/protocol/SuntechProtocolDecoder.java @@ -65,7 +65,7 @@ public class SuntechProtocolDecoder extends BaseProtocolDecoder { } position.setDeviceId(deviceSession.getDeviceId()); - position.set(Position.KEY_VERSION, values[index++]); + position.set(Position.KEY_VERSION_FW, values[index++]); DateFormat dateFormat = new SimpleDateFormat("yyyyMMddHH:mm:ss"); dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); @@ -116,7 +116,7 @@ public class SuntechProtocolDecoder extends BaseProtocolDecoder { index += 1; // model } - position.set(Position.KEY_VERSION, values[index++]); + position.set(Position.KEY_VERSION_FW, values[index++]); DateFormat dateFormat = new SimpleDateFormat("yyyyMMddHH:mm:ss"); dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); |