aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-24 18:25:32 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-24 18:25:32 +1200
commitea8a50d6c6d2bfdf9b43cab08769be6866564b9e (patch)
tree1b83ae8115aa7f60b34324d562258c64f490feb5 /src
parent6e2e11c6079243a852f693b4e4f10c07d2e6867b (diff)
downloadtrackermap-server-ea8a50d6c6d2bfdf9b43cab08769be6866564b9e.tar.gz
trackermap-server-ea8a50d6c6d2bfdf9b43cab08769be6866564b9e.tar.bz2
trackermap-server-ea8a50d6c6d2bfdf9b43cab08769be6866564b9e.zip
Remove unused decode method
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolDecoder.java21
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)