Searched refs:content_format (Results 1 – 3 of 3) sorted by relevance
668 is_binary(int content_format) { in is_binary() argument669 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() local820 content_format = (int)coap_decode_var_bytes(coap_opt_value(option), in coap_show_pdu()823 buf_len = print_content_format(content_format, buf, sizeof(buf)); in coap_show_pdu()977 if (is_binary(content_format) || !isprint(data[0]) || is_oscore_payload) { in coap_show_pdu()
2683 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()
155 uint16_t content_format; /**< Content format for the set of blocks */ member185 uint16_t content_format; /**< Content format for the set of blocks */ member