Searched refs:content_format (Results 1 – 1 of 1) sorted by relevance
448 is_binary(int content_format) { in is_binary() argument449 return !(content_format == -1 || in is_binary()450 content_format == COAP_MEDIATYPE_TEXT_PLAIN || in is_binary()451 content_format == COAP_MEDIATYPE_APPLICATION_LINK_FORMAT || in is_binary()452 content_format == COAP_MEDIATYPE_APPLICATION_XML || in is_binary()453 content_format == COAP_MEDIATYPE_APPLICATION_JSON); in is_binary()480 int content_format = -1; in coap_show_pdu() local555 content_format = (int)coap_decode_var_bytes(coap_opt_value(option), in coap_show_pdu()558 buf_len = print_content_format(content_format, buf, sizeof(buf)); in coap_show_pdu()615 if (is_binary(content_format)) { in coap_show_pdu()