Searched refs:async (Results 1 – 5 of 5) sorted by relevance
50 static coap_async_state_t *async = NULL; variable222 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 …]
68 static coap_async_state_t *async = NULL; variable418 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 …]
1 ….c debug.c encode.c uri.c subscribe.c resource.c hashkey.c str.c option.c async.c block.c mem.c co…
52 src/async.c \75 include/coap/async.h \
36 #include "async.h"