From db2b7de91b76b1b1dfc240f9c5838b374ed2e4d4 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Fri, 16 Apr 2021 16:09:17 +0100 Subject: [PATCH] Update --- man/coap_async.txt.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man/coap_async.txt.in b/man/coap_async.txt.in index 3e10f38f..0737766a 100644 --- a/man/coap_async.txt.in +++ b/man/coap_async.txt.in @@ -64,10 +64,14 @@ application request handler will get called with a copy of _request_ after _delay_ ticks which will then cause a response to be sent. If _delay_ is 0, then the application request handler will not get called. -The coap_async_set_delay*() function is used to update the reamining _delay_ +The *coap_async_set_delay*() function is used to update the remaining _delay_ before the application request handler is called for the _async_ definition. If _delay_ is set to 0, then the application request handler will not get called. +An example of usage here is *coap_register_async*() sets _delay_ to 0, and +then when the response is ready at an indeterminate point in the future, +*coap_async_set_delay*() is called setting _delay_ to 1. + The *coap_free_async*() function is used to delete an _async_ definition. The *coap_find_async*() function is used to determine if there is an async