Lines Matching defs:code
490 /** Returns a textual description of the method or response code. */
513 msg_option_string(uint8_t code, uint16_t option_type) {
570 if (code == COAP_SIGNALING_CSM) {
576 } else if (code == COAP_SIGNALING_PING || code == COAP_SIGNALING_PONG) {
582 } else if (code == COAP_SIGNALING_RELEASE) {
588 } else if (code == COAP_SIGNALING_ABORT) {
738 msg_code_string(pdu->code), pdu->mid);
744 msg_code_string(pdu->code));
749 msg_code_string(pdu->code));
774 if (pdu->code == COAP_SIGNALING_CODE_CSM) {
786 } else if (pdu->code == COAP_SIGNALING_CODE_PING ||
787 pdu->code == COAP_SIGNALING_CODE_PONG) {
789 } else if (pdu->code == COAP_SIGNALING_CODE_RELEASE) {
805 } else if (pdu->code == COAP_SIGNALING_CODE_ABORT) {
965 " %s:%.*s", msg_option_string(pdu->code, opt_iter.number),