Searched refs:COAP_MESSAGE_CON (Results 1 – 15 of 15) sorted by relevance
/third_party/libcoap/tests/ |
D | test_error_response.c | 37 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()
|
D | test_pdu.c | 34 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/ |
D | coap_session.c | 219 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()
|
D | net.c | 756 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 …]
|
D | resource.c | 892 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 ||
|
D | pdu.c | 839 pdu->type = COAP_MESSAGE_CON; in coap_pdu_parse_header()
|
/third_party/libcoap/examples/contiki/ |
D | coap-observer.c | 133 request = coap_pdu_init(COAP_MESSAGE_CON, COAP_REQUEST_GET, in PROCESS_THREAD()
|
/third_party/libcoap/include/coap3/ |
D | pdu.h | 64 COAP_MESSAGE_CON, /* 0 confirmable message (requires ACK/RST) */ enumerator
|
/third_party/libcoap/man/ |
D | coap_observe.txt.in | 118 _message_type_ (use COAP_MESSAGE_NON or COAP_MESSAGE_CON). 318 static unsigned char msgtype = COAP_MESSAGE_CON;
|
D | coap_handler.txt.in | 278 if (!sent && (rcv_type == COAP_MESSAGE_CON ||
|
D | coap_pdu_access.txt.in | 98 COAP_MESSAGE_CON Type confirmable.
|
D | coap_block.txt.in | 304 build_send_pdu(context, session, COAP_MESSAGE_CON, COAP_REQUEST_PUT,
|
D | coap_pdu_setup.txt.in | 139 COAP_MESSAGE_CON Set the _PDU_ to be of type confirmable.
|
/third_party/libcoap/examples/ |
D | coap-client.c | 85 unsigned char msgtype = COAP_MESSAGE_CON; /* usually, requests are sent confirmable */ 335 if (!sent && (rcv_type == COAP_MESSAGE_CON || in message_handler()
|
D | coap-rd.c | 154 int type = (request->hdr->type == COAP_MESSAGE_CON) in hnd_put_resource()
|