aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java b/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java
index dca4b908a..474ceabdc 100644
--- a/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java
@@ -56,7 +56,7 @@ public class BlackKiteProtocolDecoder extends BaseProtocolDecoder {
private static final int TAG_XT2 = 0x61;
private static final int TAG_XT3 = 0x62;
- private void sendReply(Channel channel, int checksum) {
+ private void sendResponse(Channel channel, int checksum) {
if (channel != null) {
ByteBuf reply = Unpooled.buffer(3);
reply.writeByte(0x02);
@@ -179,7 +179,7 @@ public class BlackKiteProtocolDecoder extends BaseProtocolDecoder {
return null;
}
- sendReply(channel, buf.readUnsignedShortLE());
+ sendResponse(channel, buf.readUnsignedShortLE());
for (Position p : positions) {
p.setDeviceId(deviceSession.getDeviceId());