diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-03-19 22:08:44 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-03-19 22:08:44 +1300 |
commit | 289609b483d0b6188f8536f692363eb91e38288c (patch) | |
tree | b0014e984a3a8cbef2acf52c2d9e060172a2332f /src/org/traccar/protocol | |
parent | 9ddf8e2aeb98958d50ecb11ae6818359ade76325 (diff) | |
download | traccar-server-289609b483d0b6188f8536f692363eb91e38288c.tar.gz traccar-server-289609b483d0b6188f8536f692363eb91e38288c.tar.bz2 traccar-server-289609b483d0b6188f8536f692363eb91e38288c.zip |
Uncomment atrack device id
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/AtrackProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AtrackProtocolDecoder.java b/src/org/traccar/protocol/AtrackProtocolDecoder.java index 3ec597978..3dbd214d9 100644 --- a/src/org/traccar/protocol/AtrackProtocolDecoder.java +++ b/src/org/traccar/protocol/AtrackProtocolDecoder.java @@ -80,7 +80,7 @@ public class AtrackProtocolDecoder extends BaseProtocolDecoder { long rawId = buf.readLong(); String id = String.valueOf(rawId); try { - deviceId = 1;//getDataManager().getDeviceByImei(id).getId(); + deviceId = getDataManager().getDeviceByImei(id).getId(); } catch(Exception error) { Log.warning("Unknown device - " + id); return null; |