diff options
-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>"); |