Home
last modified time | relevance | path

Searched refs:coap_check_option (Results 1 – 13 of 13) sorted by relevance

/third_party/libcoap/man/
Dcoap_pdu_access.txt.in14 coap_check_option,
36 *coap_opt_t *coap_check_option(const coap_pdu_t *_pdu_,
214 The *coap_check_option*() function is used to check whether the specified option
301 option = coap_check_option(pdu, COAP_OPTION_OBSERVE, &opt_iter);
Dcoap_cache.txt.in325 if ((option = coap_check_option(request, COAP_OPTION_CONTENT_FORMAT,
/third_party/libcoap/src/
Dblock.c45 if (pdu && (option = coap_check_option(pdu, number, &opt_iter)) != NULL) { in coap_get_block()
981 etag_opt = coap_check_option(pdu, COAP_OPTION_ETAG, &opt_iter); in coap_handle_request_send_block()
1249 coap_opt_t *size_opt = coap_check_option(pdu, in coap_handle_request_put_block()
1252 coap_opt_t *fmt_opt = coap_check_option(pdu, in coap_handle_request_put_block()
1639 coap_opt_t *size_opt = coap_check_option(rcvd, COAP_OPTION_SIZE2, in coap_handle_response_get_block()
1653 coap_opt_t *fmt_opt = coap_check_option(rcvd, in coap_handle_response_get_block()
1660 coap_opt_t *etag_opt = coap_check_option(rcvd, in coap_handle_response_get_block()
1745 coap_opt_t *obs_opt = coap_check_option(rcvd, in coap_handle_response_get_block()
1879 coap_opt_t *obs_opt = coap_check_option(rcvd, in coap_handle_response_get_block()
Dnet.c1074 opt = coap_check_option(pdu, COAP_OPTION_OBSERVE, &opt_iter); in coap_send()
1193 opt = coap_check_option(pdu, COAP_OPTION_HOP_LIMIT, &opt_iter); in coap_send_internal()
1276 if (coap_check_option(pdu, COAP_OPTION_BLOCK1, &opt_iter) != NULL) { in coap_send_internal()
1280 if (coap_check_option(pdu, COAP_OPTION_BLOCK2, &opt_iter) != NULL) { in coap_send_internal()
2215 query_filter = coap_check_option(request, COAP_OPTION_URI_QUERY, &opt_iter); in coap_wellknown_response()
2420 nores = coap_check_option(request, COAP_OPTION_NORESPONSE, &opt_iter); in no_response()
2539 opt = coap_check_option(pdu, COAP_OPTION_PROXY_SCHEME, &opt_iter); in handle_request()
2543 opt = coap_check_option(pdu, COAP_OPTION_PROXY_URI, &opt_iter); in handle_request()
2580 opt = coap_check_option(pdu, COAP_OPTION_URI_HOST, &opt_iter); in handle_request()
2605 opt = coap_check_option(pdu, COAP_OPTION_HOP_LIMIT, &opt_iter); in handle_request()
[all …]
Dpdu.c511 option = coap_check_option(pdu, number, &opt_iter); in coap_update_option()
525 option = coap_check_option(pdu, number, &opt_iter); in coap_update_option()
578 if (coap_check_option(pdu, COAP_OPTION_HOP_LIMIT, &opt_iter) == NULL) { in coap_add_option()
Doption.c201 coap_check_option(const coap_pdu_t *pdu, coap_option_num_t number, in coap_check_option() function
/third_party/libcoap/include/coap3/
Doption.h230 coap_opt_t *coap_check_option(const coap_pdu_t *pdu,
/third_party/libcoap/
Dlibcoap-3.sym32 coap_check_option
Dlibcoap-3.map34 coap_check_option;
/third_party/libcoap/examples/
Detsi_iot_01.c201 option = coap_check_option(request, COAP_OPTION_CONTENT_TYPE, &opt_iter); in hnd_post_test()
259 option = coap_check_option(request, COAP_OPTION_CONTENT_TYPE, &opt_iter); in hnd_put_test()
Dcoap-client.c353 coap_check_option(received, COAP_OPTION_OBSERVE, &opt_iter)) { in message_handler()
369 block_opt = coap_check_option(received, COAP_OPTION_BLOCK2, &opt_iter); in message_handler()
375 ready = doing_observe ? coap_check_option(received, in message_handler()
406 ready = doing_observe ? coap_check_option(received, in message_handler()
Dcoap-server.c573 if ((option = coap_check_option(request, COAP_OPTION_CONTENT_FORMAT, in hnd_put_example_data()
697 opt = coap_check_option(request, COAP_OPTION_URI_HOST, &opt_iter); in get_uri_proxy_scheme_info()
706 opt = coap_check_option(request, COAP_OPTION_URI_PORT, &opt_iter); in get_uri_proxy_scheme_info()
1022 opt = coap_check_option(request, COAP_OPTION_PROXY_SCHEME, &opt_iter); in hnd_proxy_uri()
1035 proxy_uri = coap_check_option(request, COAP_OPTION_PROXY_URI, &opt_iter); in hnd_proxy_uri()
1383 if ((option = coap_check_option(request, COAP_OPTION_CONTENT_FORMAT, in hnd_put()
Dcoap-rd.c164 etag = coap_check_option(request, COAP_OPTION_ETAG, &opt_iter); in hnd_put_resource()
391 etag = coap_check_option(pdu, COAP_OPTION_ETAG, &opt_iter); in make_rd()