diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-16 13:42:38 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-16 13:42:38 +1300 |
commit | 65fa2bc1268481e4a3b5beb59d6b72645dc77017 (patch) | |
tree | ee24fb6ba8fa9468ca469bca898b52c551ae4440 /src/org/traccar | |
parent | 20c2cd584b8632c0a8cae2cd8285b9a279c1991e (diff) | |
download | traccar-server-65fa2bc1268481e4a3b5beb59d6b72645dc77017.tar.gz traccar-server-65fa2bc1268481e4a3b5beb59d6b72645dc77017.tar.bz2 traccar-server-65fa2bc1268481e4a3b5beb59d6b72645dc77017.zip |
Uncomment GPS103 device id
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java index 747b5e0bd..0fa5bb4d2 100644 --- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java @@ -96,12 +96,12 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder { // Get device by IMEI String imei = parser.group(index++); - /*try { + try { position.setDeviceId(getDataManager().getDeviceByImei(imei).getId()); } catch(Exception error) { Log.warning("Unknown device - " + imei); return null; - }*/ + } // Alarm message extendedInfo.append("<alarm>"); |