aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/PricolProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-21 22:53:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-21 22:53:25 +1300
commitde43b1203b70a27c2833129983b86253371834d9 (patch)
tree2d6af2c99accc480ee76916c3f7ece9013f6bfd3 /src/org/traccar/protocol/PricolProtocolDecoder.java
parent6838a1264922e656da2ed8b4ce390fa17e039571 (diff)
downloadtrackermap-server-de43b1203b70a27c2833129983b86253371834d9.tar.gz
trackermap-server-de43b1203b70a27c2833129983b86253371834d9.tar.bz2
trackermap-server-de43b1203b70a27c2833129983b86253371834d9.zip
Add UDP support for Pricol protocol
Diffstat (limited to 'src/org/traccar/protocol/PricolProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/PricolProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/PricolProtocolDecoder.java b/src/org/traccar/protocol/PricolProtocolDecoder.java
index 52b68cca6..3313afa22 100644
--- a/src/org/traccar/protocol/PricolProtocolDecoder.java
+++ b/src/org/traccar/protocol/PricolProtocolDecoder.java
@@ -87,7 +87,7 @@ public class PricolProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_RPM, buf.readUnsignedShort());
if (channel != null) {
- channel.write(ChannelBuffers.copiedBuffer("ACK", StandardCharsets.US_ASCII));
+ channel.write(ChannelBuffers.copiedBuffer("ACK", StandardCharsets.US_ASCII), remoteAddress);
}
return position;