diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-04 21:02:13 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-04 21:02:13 +1300 |
commit | 652c9ee29e9802c50db6defd75c05b1c5e0d0b3a (patch) | |
tree | 13306957dfa5176c1b24fd72d6424a79276b612d /src/org/traccar/protocol/TeltonikaProtocolDecoder.java | |
parent | 9a63b052bfa097e97522ad809441e5c8e817c098 (diff) | |
download | trackermap-server-652c9ee29e9802c50db6defd75c05b1c5e0d0b3a.tar.gz trackermap-server-652c9ee29e9802c50db6defd75c05b1c5e0d0b3a.tar.bz2 trackermap-server-652c9ee29e9802c50db6defd75c05b1c5e0d0b3a.zip |
Fixed teltonika decoder (fix #135)
Diffstat (limited to 'src/org/traccar/protocol/TeltonikaProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/TeltonikaProtocolDecoder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java index 2c1028881..100792cb9 100644 --- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -67,6 +67,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { Position position = new Position(); StringBuilder extendedInfo = new StringBuilder("<protocol>teltonika</protocol>"); + position.setDeviceId(deviceId); position.setTime(new Date(buf.readLong())); extendedInfo.append("<priority>"); |