GitHub user chrisdutz added a comment to the discussion: Seeking assistance regarding the development of the Omron Fins protocol
Ok .. I've fixed that glitch in the Plc4xNettyHandler ... however now you would simply not get any error message. I would strongly reccomend you add an onTimeout and onError to your chain to make debugging issues easier. ` RequestTransactionManager.RequestTransaction transaction = tm.startRequest(); transaction.submit(() -> conversationContext.sendRequest(tpktPacket) .onTimeout(new TransactionErrorCallback<>(future, transaction)) .onError(new TransactionErrorCallback<>(future, transaction)) .expectResponse(TPKTPacket.class, REQUEST_TIMEOUT) .unwrap(TPKTPacket::getPayload) .only(COTPPacketData.class) .unwrap(COTPPacket::getPayload) .check(p -> p.getTpduReference() == tpduId) .handle(p -> { try { //future.complete(decodeEventSubscriptionRequest(tagName, p, subscriptionRequest)); futures.get("DATA_").complete(p); } catch (Exception e) { logger.warn("Error sending 'write' message: '{}'", e.getMessage(), e); } // Finish the request-transaction. transaction.endRequest(); }));` GitHub link: https://github.com/apache/plc4x/discussions/1988#discussioncomment-11981430 ---- This is an automatically sent email for dev@plc4x.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@plc4x.apache.org