aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gl100ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-09 09:46:34 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-09 09:46:34 +1200
commit43ea9461037772d7754c0bac4f2756f43f3ecab7 (patch)
treea351116876047976ba110799746a10d0ead76825 /src/org/traccar/protocol/Gl100ProtocolDecoder.java
parentfdebac5f1244af67fc2398ba3e4adf96255a27d8 (diff)
downloadtraccar-server-43ea9461037772d7754c0bac4f2756f43f3ecab7.tar.gz
traccar-server-43ea9461037772d7754c0bac4f2756f43f3ecab7.tar.bz2
traccar-server-43ea9461037772d7754c0bac4f2756f43f3ecab7.zip
Update missed write calls
Diffstat (limited to 'src/org/traccar/protocol/Gl100ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gl100ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gl100ProtocolDecoder.java b/src/org/traccar/protocol/Gl100ProtocolDecoder.java
index 13ed7120e..a1654d062 100644
--- a/src/org/traccar/protocol/Gl100ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl100ProtocolDecoder.java
@@ -65,7 +65,7 @@ public class Gl100ProtocolDecoder extends BaseProtocolDecoder {
String response = "+RESP:GTHBD,GPRS ACTIVE,";
response += sentence.substring(9, sentence.lastIndexOf(','));
response += '\0';
- channel.write(new NetworkMessage(response, remoteAddress)); // heartbeat response
+ channel.writeAndFlush(new NetworkMessage(response, remoteAddress)); // heartbeat response
}
Parser parser = new Parser(PATTERN, sentence);