You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cg...@apache.org on 2025/08/08 03:51:40 UTC
(plc4x) 01/03: Check S7HMuxImpl.
This is an automated email from the ASF dual-hosted git repository.
cgarcia pushed a commit to branch fix/s7hmux
in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit 1f56e2c0dfd7bab6c0c61edc5e92d70ed535e151
Author: César García <ce...@ceos.com.ve>
AuthorDate: Sat May 24 17:34:52 2025 -0400
Check S7HMuxImpl.
---
.../java/org/apache/plc4x/java/s7/readwrite/protocol/S7HMuxImpl.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/plc4j/drivers/s7/src/main/java/org/apache/plc4x/java/s7/readwrite/protocol/S7HMuxImpl.java b/plc4j/drivers/s7/src/main/java/org/apache/plc4x/java/s7/readwrite/protocol/S7HMuxImpl.java
index 6d0c3c0d7c..ec76207414 100644
--- a/plc4j/drivers/s7/src/main/java/org/apache/plc4x/java/s7/readwrite/protocol/S7HMuxImpl.java
+++ b/plc4j/drivers/s7/src/main/java/org/apache/plc4x/java/s7/readwrite/protocol/S7HMuxImpl.java
@@ -19,6 +19,7 @@
package org.apache.plc4x.java.s7.readwrite.protocol;
import io.netty.buffer.ByteBuf;
+import io.netty.buffer.ByteBufUtil;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandler.Sharable;
@@ -143,6 +144,7 @@ public class S7HMuxImpl extends MessageToMessageCodec<ByteBuf, ByteBuf> implemen
*/
@Override
protected void decode(ChannelHandlerContext ctx, ByteBuf inBB, List<Object> list) throws Exception {
+ System.out.println(ByteBufUtil.hexDump(inBB));
embedCtx.fireChannelRead(inBB.copy());
}