From 652c9ee29e9802c50db6defd75c05b1c5e0d0b3a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 4 Feb 2013 21:02:13 +1300 Subject: Fixed teltonika decoder (fix #135) --- src/org/traccar/protocol/TeltonikaProtocolDecoder.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/org') 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("teltonika"); + position.setDeviceId(deviceId); position.setTime(new Date(buf.readLong())); extendedInfo.append(""); -- cgit v1.2.3