From 4c7ce99e09883d31bbf486986398dcdc34f6a0da Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Fri, 21 Feb 2025 13:57:50 +0000 Subject: [PATCH] Async: Report async delayed PDU when request handler is re-invoked --- src/coap_net.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coap_net.c b/src/coap_net.c index 3df67c4e..164647f5 100644 --- a/src/coap_net.c +++ b/src/coap_net.c @@ -4681,6 +4681,8 @@ coap_check_async(coap_context_t *context, coap_tick_t now) { LL_FOREACH_SAFE(context->async_state, async, tmp) { if (async->delay != 0 && async->delay <= now) { /* Send off the request to the application */ + coap_log_debug("Async PDU presented to app.\n"); + coap_show_pdu(COAP_LOG_DEBUG, async->pdu); handle_request(context, async->session, async->pdu, NULL); /* Remove this async entry as it has now fired */