From 65fa2bc1268481e4a3b5beb59d6b72645dc77017 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 16 Feb 2013 13:42:38 +1300 Subject: Uncomment GPS103 device id --- src/org/traccar/protocol/Gps103ProtocolDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org/traccar/protocol') 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(""); -- cgit v1.2.3