diff options
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java index b459f6340..72e8430ba 100644 --- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java @@ -330,7 +330,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder { String sentence = (String) msg; - if (sentence.contains("imei:") && sentence.length() <= 25) { + if (sentence.contains("imei:") && sentence.length() <= 30) { if (channel != null) { channel.writeAndFlush(new NetworkMessage("LOAD", remoteAddress)); Matcher matcher = Pattern.compile("imei:(\\d+),").matcher(sentence); |