diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-24 18:25:32 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-24 18:25:32 +1200 |
commit | ea8a50d6c6d2bfdf9b43cab08769be6866564b9e (patch) | |
tree | 1b83ae8115aa7f60b34324d562258c64f490feb5 | |
parent | 6e2e11c6079243a852f693b4e4f10c07d2e6867b (diff) | |
download | trackermap-server-ea8a50d6c6d2bfdf9b43cab08769be6866564b9e.tar.gz trackermap-server-ea8a50d6c6d2bfdf9b43cab08769be6866564b9e.tar.bz2 trackermap-server-ea8a50d6c6d2bfdf9b43cab08769be6866564b9e.zip |
Remove unused decode method
-rw-r--r-- | src/org/traccar/protocol/MeiligaoProtocolDecoder.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java index 97cafa172..07209a046 100644 --- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java +++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java @@ -136,27 +136,6 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder { return server; } - private Position decodeRfid(Position position, ChannelBuffer buf) { - - for (int i = 0; i < 15; i++) { - long rfid = buf.readUnsignedInt(); - if (rfid != 0) { - position.set(Event.KEY_RFID, String.format("%010d", rfid)); - } - } - - // Parse message - String sentence = buf.toString(buf.readerIndex(), buf.readableBytes() - 4, Charset.defaultCharset()); - Matcher parser = pattern.matcher(sentence); - if (!parser.matches()) { - return null; - } - Integer index = 1; - - - return position; - } - @Override protected Object decode( Channel channel, SocketAddress remoteAddress, Object msg) |