Home
last modified time | relevance | path

Searched refs:async (Results 1 – 5 of 5) sorted by relevance

/net-tools-latest/libcoap/examples/
Dcoap-server.c50 static coap_async_state_t *async = NULL; variable
222 if (async) { in hnd_get_async()
223 if (async->id != request->hdr->id) { in hnd_get_async()
240 async = coap_register_async(ctx, in hnd_get_async()
256 if (!async || now < async->created + (unsigned long)async->appdata) in check_async()
259 response = coap_pdu_init(async->flags & COAP_ASYNC_CONFIRM in check_async()
265 async->appdata = in check_async()
266 (void *)((unsigned long)async->appdata + 15 * COAP_TICKS_PER_SECOND); in check_async()
272 if (async->tokenlen) in check_async()
273 coap_add_token(response, async->tokenlen, async->token); in check_async()
[all …]
Detsi_iot_01.c68 static coap_async_state_t *async = NULL; variable
418 if (async) { in hnd_get_separate()
419 if (async->id != request->hdr->id) { in hnd_get_separate()
450 async = coap_register_async(ctx, peer, request, COAP_ASYNC_SEPARATE, in hnd_get_separate()
461 if (!async || now < async->created + (unsigned long)async->appdata) in check_async()
464 size += async->tokenlen; in check_async()
466 response = coap_pdu_init(async->flags & COAP_ASYNC_CONFIRM in check_async()
472 async->appdata = in check_async()
473 (void *)((unsigned long)async->appdata + 15 * COAP_TICKS_PER_SECOND); in check_async()
479 if (async->tokenlen) in check_async()
[all …]
/net-tools-latest/libcoap/
DMakefile.libcoap1 ….c debug.c encode.c uri.c subscribe.c resource.c hashkey.c str.c option.c async.c block.c mem.c co…
DMakefile.am52 src/async.c \
75 include/coap/async.h \
/net-tools-latest/libcoap/include/coap/
Dcoap.h.in36 #include "async.h"