Home
last modified time | relevance | path

Searched refs:content_format (Results 1 - 3 of 3) sorted by relevance

/third_party/libcoap/src/
H A Dcoap_debug.c663 * Returns 1 if the given @p content_format is either unknown or known
665 * printable data which is also assumed if @p content_format is @c 01.
668 is_binary(int content_format) { in is_binary() argument
669 return !(content_format == -1 || in is_binary()
670 content_format == COAP_MEDIATYPE_TEXT_PLAIN || in is_binary()
671 content_format == COAP_MEDIATYPE_APPLICATION_LINK_FORMAT || in is_binary()
672 content_format == COAP_MEDIATYPE_APPLICATION_XML || in is_binary()
673 content_format == COAP_MEDIATYPE_APPLICATION_JSON); in is_binary()
719 int content_format = -1; in coap_show_pdu() local
820 content_format in coap_show_pdu()
[all...]
H A Dcoap_block.c2683 p->content_format = fmt; in coap_handle_request_put_block()
2702 if (fmt != p->content_format) { in coap_handle_request_put_block()
3449 p->content_format = fmt; in coap_handle_response_get_block()
3508 if (fmt != p->content_format) { in coap_handle_response_get_block()
/third_party/libcoap/include/coap3/
H A Dcoap_block_internal.h155 uint16_t content_format; /**< Content format for the set of blocks */ member
185 uint16_t content_format; /**< Content format for the set of blocks */ member

Completed in 7 milliseconds