Lines Matching refs:COAP_DEBUG_FD
385 fprintf(COAP_DEBUG_FD, "v:%d t:%s c:%s i:%04x {", in coap_show_pdu()
390 fprintf(COAP_DEBUG_FD, "%02x", pdu->hdr->token[i]); in coap_show_pdu()
392 fprintf(COAP_DEBUG_FD, "}"); in coap_show_pdu()
397 fprintf(COAP_DEBUG_FD, " ["); in coap_show_pdu()
402 fprintf(COAP_DEBUG_FD, ","); in coap_show_pdu()
452 fprintf(COAP_DEBUG_FD, " %s:%.*s", msg_option_string(opt_iter.type), in coap_show_pdu()
456 fprintf(COAP_DEBUG_FD, " ]"); in coap_show_pdu()
460 fprintf(COAP_DEBUG_FD, " :: "); in coap_show_pdu()
463 fprintf(COAP_DEBUG_FD, "<<"); in coap_show_pdu()
465 fprintf(COAP_DEBUG_FD, "%02x", *data++); in coap_show_pdu()
467 fprintf(COAP_DEBUG_FD, ">>"); in coap_show_pdu()
470 fprintf(COAP_DEBUG_FD, "'%s'", buf); in coap_show_pdu()
475 fprintf(COAP_DEBUG_FD, "\n"); in coap_show_pdu()
476 fflush(COAP_DEBUG_FD); in coap_show_pdu()
492 log_fd = level <= LOG_CRIT ? COAP_ERR_FD : COAP_DEBUG_FD; in coap_log_impl()