aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
index 8b559beec..3510b56a3 100644
--- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
@@ -303,12 +303,15 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder {
if (command == MSG_LOGIN) {
response = ChannelBuffers.wrappedBuffer(new byte[] {0x01});
sendResponse(channel, remoteAddress, id, MSG_LOGIN_RESPONSE, response);
+ return null;
} else if (command == MSG_HEARTBEAT) {
response = ChannelBuffers.wrappedBuffer(new byte[] {0x01});
sendResponse(channel, remoteAddress, id, MSG_HEARTBEAT, response);
+ return null;
} else if (command == MSG_SERVER) {
response = ChannelBuffers.copiedBuffer(getServer(channel), StandardCharsets.US_ASCII);
sendResponse(channel, remoteAddress, id, MSG_SERVER, response);
+ return null;
}
}