From 6fd9d34b4eaf60289462a87096fdda587ea74482 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 13 Feb 2019 23:45:43 -0800 Subject: Support Sierra Wireless GX440 login --- src/org/traccar/protocol/T55ProtocolDecoder.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/org') diff --git a/src/org/traccar/protocol/T55ProtocolDecoder.java b/src/org/traccar/protocol/T55ProtocolDecoder.java index 214a40a49..ba231a635 100644 --- a/src/org/traccar/protocol/T55ProtocolDecoder.java +++ b/src/org/traccar/protocol/T55ProtocolDecoder.java @@ -249,6 +249,8 @@ public class T55ProtocolDecoder extends BaseProtocolDecoder { if (sentence.startsWith("$PGID")) { getDeviceSession(channel, remoteAddress, sentence.substring(6, sentence.length() - 3)); + } else if (sentence.startsWith("$DEVID")) { + getDeviceSession(channel, remoteAddress, sentence.substring(7, sentence.lastIndexOf('*'))); } else if (sentence.startsWith("$PCPTI")) { getDeviceSession(channel, remoteAddress, sentence.substring(7, sentence.indexOf(",", 7))); } else if (sentence.startsWith("IMEI")) { -- cgit v1.2.3