aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-08-20 17:32:19 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-08-20 17:32:19 +1200
commit5848419666fc6eb14c5b0178a9738f19f0be2b61 (patch)
tree891288be7b13d70cff4cb6f36db3f7aeaa9f5a7c /src/org/traccar/protocol/MeiligaoProtocolDecoder.java
parent98fd364db65daf847b2b76819cd36602aaef8d25 (diff)
downloadtrackermap-server-5848419666fc6eb14c5b0178a9738f19f0be2b61.tar.gz
trackermap-server-5848419666fc6eb14c5b0178a9738f19f0be2b61.tar.bz2
trackermap-server-5848419666fc6eb14c5b0178a9738f19f0be2b61.zip
Implement wristband tracker protocol
Diffstat (limited to 'src/org/traccar/protocol/MeiligaoProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolDecoder.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
index 30905076e..9fbd053eb 100644
--- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
@@ -29,7 +29,6 @@ import org.traccar.helper.Parser;
import org.traccar.helper.PatternBuilder;
import org.traccar.model.Position;
-import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
@@ -206,15 +205,6 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder {
}
}
- private String getServer(Channel channel) {
- String server = Context.getConfig().getString(getProtocolName() + ".server");
- if (server == null && channel != null) {
- InetSocketAddress address = (InetSocketAddress) channel.localAddress();
- server = address.getAddress().getHostAddress() + ":" + address.getPort();
- }
- return server;
- }
-
private String decodeAlarm(short value) {
switch (value) {
case 0x01: