diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-29 13:20:39 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-29 13:20:39 +1200 |
commit | b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2 (patch) | |
tree | aa32e4c8b7cba58329d8cd077ef13c310f32f249 /src/org/traccar/protocol/Gps103ProtocolDecoder.java | |
parent | 9d0819b538ab123bcf125f32d02920865090d14d (diff) | |
download | trackermap-server-b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2.tar.gz trackermap-server-b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2.tar.bz2 trackermap-server-b7327c3addc914c729ca2f9b50cd9a82e6d5d7d2.zip |
Combine MTA6 protocols
Diffstat (limited to 'src/org/traccar/protocol/Gps103ProtocolDecoder.java')
-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 3f21beea8..fcfcb3dbb 100644 --- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java @@ -73,7 +73,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder { if (channel != null) { channel.write("LOAD", remoteAddress); Matcher handshakeMatcher = handshakePattern.matcher(sentence); - if(handshakeMatcher.matches()) { + if (handshakeMatcher.matches()) { identify(handshakeMatcher.group(1), channel); } } |