Home
last modified time | relevance | path

Searched refs:COAP_MESSAGE_CON (Results 1 – 15 of 15) 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()
338 pdu->type = COAP_MESSAGE_CON; in t_encode_pdu1()
358 pdu->type = COAP_MESSAGE_CON; in t_encode_pdu2()
502 pdu->type = COAP_MESSAGE_CON; in t_encode_pdu7()
525 pdu->type = COAP_MESSAGE_CON; in t_encode_pdu8()
/third_party/libcoap/src/
Dcoap_session.c219 if (q->pdu->type==COAP_MESSAGE_CON && session->context && session->context->nack_handler) in coap_session_mfree()
345 if (pdu->type == COAP_MESSAGE_CON && COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_session_delay_pdu()
368 pdu = coap_pdu_init(COAP_MESSAGE_CON, COAP_SIGNALING_CODE_CSM, 0, 20); in coap_session_send_csm()
395 ping = coap_pdu_init(COAP_MESSAGE_CON, 0, mid, 0); in coap_session_send_ping()
399 ping = coap_pdu_init(COAP_MESSAGE_CON, COAP_SIGNALING_CODE_PING, 0, 1); in coap_session_send_ping()
429 if (q->pdu->type == COAP_MESSAGE_CON && COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_session_connected()
441 if (q->pdu->type == COAP_MESSAGE_CON && COAP_PROTO_NOT_RELIABLE(session->proto)) { in coap_session_connected()
502 if (q->pdu->type==COAP_MESSAGE_CON in coap_session_disconnected()
514 if (q && q->pdu->type == COAP_MESSAGE_CON in coap_session_disconnected()
Dnet.c756 if (request && request->type == COAP_MESSAGE_CON && in coap_send_ack()
811 if (bytes_written >= 0 && pdu->type == COAP_MESSAGE_CON && in coap_send_pdu()
874 if (pdu->type == COAP_MESSAGE_CON && in coap_send_pdu()
883 (pdu->type == COAP_MESSAGE_CON && session->con_active >= COAP_DEFAULT_NSTART)) { in coap_send_pdu()
892 if (bytes_written >= 0 && pdu->type == COAP_MESSAGE_CON && in coap_send_pdu()
1312 if (pdu->type != COAP_MESSAGE_CON in coap_send_internal()
1413 if (node->pdu->type == COAP_MESSAGE_CON && context->nack_handler) in coap_retransmit()
1987 if (q->pdu->type == COAP_MESSAGE_CON && context->nack_handler) in coap_cancel_session_messages()
2003 if (q->pdu->type == COAP_MESSAGE_CON && context->nack_handler) in coap_cancel_session_messages()
2088 type = request->type == COAP_MESSAGE_CON in coap_new_error_response()
[all …]
Dresource.c892 response = coap_pdu_init(COAP_MESSAGE_CON, 0, 0, coap_session_max_pdu_size(obs->session));
923 response->type = COAP_MESSAGE_CON;
964 if (response->type == COAP_MESSAGE_CON ||
Dpdu.c839 pdu->type = COAP_MESSAGE_CON; in coap_pdu_parse_header()
/third_party/libcoap/examples/contiki/
Dcoap-observer.c133 request = coap_pdu_init(COAP_MESSAGE_CON, COAP_REQUEST_GET, in PROCESS_THREAD()
/third_party/libcoap/include/coap3/
Dpdu.h64 COAP_MESSAGE_CON, /* 0 confirmable message (requires ACK/RST) */ enumerator
/third_party/libcoap/man/
Dcoap_observe.txt.in118 _message_type_ (use COAP_MESSAGE_NON or COAP_MESSAGE_CON).
318 static unsigned char msgtype = COAP_MESSAGE_CON;
Dcoap_handler.txt.in278 if (!sent && (rcv_type == COAP_MESSAGE_CON ||
Dcoap_pdu_access.txt.in98 COAP_MESSAGE_CON Type confirmable.
Dcoap_block.txt.in304 build_send_pdu(context, session, COAP_MESSAGE_CON, COAP_REQUEST_PUT,
Dcoap_pdu_setup.txt.in139 COAP_MESSAGE_CON Set the _PDU_ to be of type confirmable.
/third_party/libcoap/examples/
Dcoap-client.c85 unsigned char msgtype = COAP_MESSAGE_CON; /* usually, requests are sent confirmable */
335 if (!sent && (rcv_type == COAP_MESSAGE_CON || in message_handler()
Dcoap-rd.c154 int type = (request->hdr->type == COAP_MESSAGE_CON) in hnd_put_resource()