aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-02-16 13:42:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-02-16 13:42:38 +1300
commit65fa2bc1268481e4a3b5beb59d6b72645dc77017 (patch)
treeee24fb6ba8fa9468ca469bca898b52c551ae4440 /src/org/traccar
parent20c2cd584b8632c0a8cae2cd8285b9a279c1991e (diff)
downloadtrackermap-server-65fa2bc1268481e4a3b5beb59d6b72645dc77017.tar.gz
trackermap-server-65fa2bc1268481e4a3b5beb59d6b72645dc77017.tar.bz2
trackermap-server-65fa2bc1268481e4a3b5beb59d6b72645dc77017.zip
Uncomment GPS103 device id
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java4
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>");