Home
last modified time | relevance | path

Searched refs:COAP_MESSAGE_CON (Results 1 – 20 of 20) sorted by relevance

/third_party/libcoap/tests/
Dtest_error_response.c37 pdu->type = COAP_MESSAGE_CON; in t_error_response1()
96 pdu->type = COAP_MESSAGE_CON; in t_error_response3()
135 pdu->type = COAP_MESSAGE_CON; in t_error_response4()
176 pdu->type = COAP_MESSAGE_CON; in t_error_response5()
217 pdu->type = COAP_MESSAGE_CON; in t_error_response6()
258 pdu->type = COAP_MESSAGE_CON; in t_error_response7()
294 pdu->type = COAP_MESSAGE_CON; in t_error_response8()
Dtest_pdu.c34 CU_ASSERT(pdu->type == COAP_MESSAGE_CON); in t_parse_pdu1()
341 pdu->type = COAP_MESSAGE_CON; in t_encode_pdu1()
362 pdu->type = COAP_MESSAGE_CON; in t_encode_pdu2()
514 pdu->type = COAP_MESSAGE_CON; in t_encode_pdu7()
537 pdu->type = COAP_MESSAGE_CON; in t_encode_pdu8()
/third_party/libcoap/src/
Dcoap_net.c781 if (request && request->type == COAP_MESSAGE_CON && in coap_send_ack()
816 if (pdu->type == COAP_MESSAGE_CON && in coap_send_pdu()
825 (pdu->type == COAP_MESSAGE_CON && in coap_send_pdu()
835 if (bytes_written >= 0 && pdu->type == COAP_MESSAGE_CON && in coap_send_pdu()
965 pdu = coap_pdu_init(COAP_MESSAGE_CON, COAP_REQUEST_CODE_GET, in coap_send_test_extended_token()
1109 pdu->type = COAP_MESSAGE_CON; in coap_send()
1277 pdu->type = COAP_MESSAGE_CON; in coap_send()
1286 lg_xmit->pdu.type = COAP_MESSAGE_CON; in coap_send()
1592 if (pdu->type != COAP_MESSAGE_CON in coap_send_internal()
1708 if (node->pdu->type == COAP_MESSAGE_CON && context->nack_handler) { in coap_retransmit()
[all …]
Dcoap_session.c644 if (q->pdu->type==COAP_MESSAGE_CON && session->context && in coap_session_mfree()
807 if (pdu->type == COAP_MESSAGE_CON && COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_session_delay_pdu()
831 pdu = coap_pdu_init(COAP_MESSAGE_CON, COAP_SIGNALING_CODE_CSM, 0, 20); in coap_session_send_csm()
877 ping = coap_pdu_init(COAP_MESSAGE_CON, 0, mid, 0); in coap_session_send_ping()
881 ping = coap_pdu_init(COAP_MESSAGE_CON, COAP_SIGNALING_CODE_PING, 0, 1); in coap_session_send_ping()
915 if (q->pdu->type == COAP_MESSAGE_CON && COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_session_connected()
927 if (q->pdu->type == COAP_MESSAGE_CON && COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_session_connected()
1050 if (q && q->pdu->type == COAP_MESSAGE_CON in coap_session_disconnected()
Dcoap_resource.c1033 response = coap_pdu_init(COAP_MESSAGE_CON, 0, 0, coap_session_max_pdu_size(obs->session));
1062 response->type = COAP_MESSAGE_CON;
1124 if (response->type == COAP_MESSAGE_CON ||
Dcoap_debug.c741 if (pdu->type != COAP_MESSAGE_CON) in coap_show_pdu()
746 if (pdu->type != COAP_MESSAGE_CON) in coap_show_pdu()
Dcoap_block.c449 pdu->type = COAP_MESSAGE_CON; in coap_cancel_observe()
639 pdu->type = COAP_MESSAGE_CON; in coap_add_data_large_internal()
1659 if (pdu->type == COAP_MESSAGE_CON) { in coap_send_q_blocks()
1675 (pdu->type == COAP_MESSAGE_CON && in coap_send_q_blocks()
1694 block_pdu->type = COAP_MESSAGE_CON; in coap_send_q_blocks()
1716 (block_pdu->type == COAP_MESSAGE_CON && in coap_send_q_blocks()
2005 pdu = coap_pdu_init(COAP_MESSAGE_CON, COAP_REQUEST_CODE_GET, in coap_block_test_q_block()
Dcoap_pdu.c1011 pdu->type = COAP_MESSAGE_CON; in coap_pdu_parse_header()
1016 pdu->type = COAP_MESSAGE_CON; in coap_pdu_parse_header()
Dcoap_oscore.c316 COAP_MESSAGE_CON : pdu->type, in coap_oscore_new_pdu_encrypted()
638 osc_pdu->type = COAP_MESSAGE_CON; in coap_oscore_new_pdu_encrypted()
/third_party/libcoap/examples/riot/examples_libcoap_client/
Dclient-coap.c210 pdu = coap_pdu_init(COAP_MESSAGE_CON, in client_coap_init()
/third_party/libcoap/include/coap3/
Dcoap_pdu.h69 COAP_MESSAGE_CON, /* 0 confirmable message (requires ACK/RST) */ enumerator
/third_party/libcoap/examples/lwip/
Dclient-coap.c120 coap_pdu_type_t pdu_type = COAP_MESSAGE_CON; in client_coap_init()
/third_party/libcoap/man/
Dcoap_pdu_access.txt.in105 COAP_MESSAGE_CON Type confirmable.
112 this will always return COAP_MESSAGE_CON.
Dcoap_observe.txt.in138 _message_type_ (use COAP_MESSAGE_NON or COAP_MESSAGE_CON).
352 static unsigned char msgtype = COAP_MESSAGE_CON;
Dcoap_uri.txt.in216 pdu = coap_pdu_init(COAP_MESSAGE_CON,
Dcoap_handler.txt.in360 if (!sent && (rcv_type == COAP_MESSAGE_CON ||
Dcoap_block.txt.in430 build_send_pdu(context, session, COAP_MESSAGE_CON, COAP_REQUEST_PUT,
Dcoap_pdu_setup.txt.in147 COAP_MESSAGE_CON Set the _PDU_ to be of type confirmable.
/third_party/libcoap/examples/
Dcoap-client.c102 unsigned char msgtype = COAP_MESSAGE_CON; /* usually, requests are sent confirmable */
403 if (!sent && (rcv_type == COAP_MESSAGE_CON || in message_handler()
Dcoap-rd.c174 int type = (request->hdr->type == COAP_MESSAGE_CON) in hnd_put_resource()