diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/V680ProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/V680ProtocolDecoder.java b/src/org/traccar/protocol/V680ProtocolDecoder.java index ffdbaeb99..ab70b477e 100644 --- a/src/org/traccar/protocol/V680ProtocolDecoder.java +++ b/src/org/traccar/protocol/V680ProtocolDecoder.java @@ -60,7 +60,8 @@ public class V680ProtocolDecoder extends BaseProtocolDecoder { throws Exception { String sentence = (String) msg; - + sentence = sentence.trim(); + // Detect device ID if (sentence.length() == 16) { String imei = sentence.substring(1, sentence.length()); |