diff options
Diffstat (limited to 'src/org/traccar/protocol/Gps103ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Gps103ProtocolDecoder.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java index 88a83ef80..2578065c1 100644 --- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java @@ -68,11 +68,13 @@ public class Gps103ProtocolDecoder extends GenericProtocolDecoder { // Send response #1 if (sentence.contains("##")) { channel.write("LOAD"); + return null; } // Send response #2 if (sentence.length() == 15 && Character.isDigit(sentence.charAt(0))) { channel.write("ON"); + return null; } // Parse message |