Home
last modified time | relevance | path

Searched refs:COAP_MESSAGE_NON (Results 1 – 17 of 17) sorted by relevance

/third_party/libcoap/tests/
Dtest_error_response.c66 pdu->type = COAP_MESSAGE_NON; in t_error_response2()
77 CU_ASSERT(response->type == COAP_MESSAGE_NON); in t_error_response2()
Dtest_pdu.c50 CU_ASSERT(pdu->type == COAP_MESSAGE_NON); in t_parse_pdu2()
97 CU_ASSERT(pdu->type == COAP_MESSAGE_NON); in t_parse_pdu5()
132 CU_ASSERT(pdu->type == COAP_MESSAGE_NON); in t_parse_pdu7()
157 CU_ASSERT(pdu->type == COAP_MESSAGE_NON); in t_parse_pdu8()
493 pdu->type = COAP_MESSAGE_NON; in t_encode_pdu6()
/third_party/libcoap/src/
Dcoap_block.c638 if (COAP_PROTO_RELIABLE(session->proto) && pdu->type == COAP_MESSAGE_NON) in coap_add_data_large_internal()
1326 if (COAP_PROTO_RELIABLE(session->proto) || p->last_type != COAP_MESSAGE_NON) in coap_block_check_lg_crcv_timeouts()
1381 pdu = coap_pdu_init(COAP_MESSAGE_NON, in pdu_408_build()
1516 if (COAP_PROTO_RELIABLE(session->proto) || p->last_type != COAP_MESSAGE_NON) in coap_block_check_lg_srcv_timeouts()
1670 ((pdu->type == COAP_MESSAGE_NON && in coap_send_q_blocks()
1713 if (block.m && ((block_pdu->type == COAP_MESSAGE_NON && in coap_send_q_blocks()
2430 if (pdu->type == COAP_MESSAGE_NON) in coap_handle_request_send_block()
2431 out_pdu->type = COAP_MESSAGE_NON; in coap_handle_request_send_block()
2792 pdu->type != COAP_MESSAGE_NON) in coap_handle_request_put_block()
3151 pdu->type == COAP_MESSAGE_NON) { in coap_handle_response_send_block()
[all …]
Dcoap_net.c1108 if (COAP_PROTO_RELIABLE(session->proto) && pdu->type == COAP_MESSAGE_NON) in coap_send()
1272 if (pdu->type == COAP_MESSAGE_NON && pdu->code == COAP_REQUEST_CODE_FETCH && in coap_send()
1303 ((pdu->type == COAP_MESSAGE_NON || COAP_PROTO_RELIABLE(session->proto)) && in coap_send()
2399 COAP_MESSAGE_ACK : COAP_MESSAGE_NON; in coap_new_error_response()
2722 (response->type == COAP_MESSAGE_NON || in no_response()
2734 if (request->type == COAP_MESSAGE_NON && in no_response()
2790 if (COAP_PROTO_RELIABLE(session->proto) || pdu->type != COAP_MESSAGE_NON) { in handle_request()
3051 COAP_MESSAGE_ACK : COAP_MESSAGE_NON, in handle_request()
3309 } else if (pdu->type == COAP_MESSAGE_NON) { in handle_request()
3549 if (pdu->type == COAP_MESSAGE_NON) { in coap_dispatch()
[all …]
Dcoap_oscore.c314 osc_pdu = coap_pdu_init(pdu->type == COAP_MESSAGE_NON && in coap_oscore_new_pdu_encrypted()
722 err_pdu = coap_pdu_init(rcvd->type == COAP_MESSAGE_NON ? COAP_MESSAGE_NON : in build_and_send_error_pdu()
Dcoap_resource.c1060 response->type = COAP_MESSAGE_NON;
1118 response->type = COAP_MESSAGE_NON;
Dcoap_session.c606 if (coap_cancel_observe(session, lg_crcv->app_token, COAP_MESSAGE_NON)) { in coap_session_mfree()
/third_party/libcoap/examples/
Dtiny.c61 if (!(pdu = coap_pdu_init(COAP_MESSAGE_NON, COAP_REQUEST_CODE_POST, in make_pdu()
Dcoap-client.c404 rcv_type == COAP_MESSAGE_NON)) { in message_handler()
1669 msgtype = COAP_MESSAGE_NON; in main()
Dcoap-rd.c175 ? COAP_MESSAGE_ACK : COAP_MESSAGE_NON; in hnd_put_resource()
/third_party/libcoap/include/coap3/
Dcoap_pdu.h70 COAP_MESSAGE_NON, /* 1 non-confirmable message (one-shot message) */ enumerator
/third_party/libcoap/examples/lwip/
Dclient-coap.c137 pdu_type = COAP_MESSAGE_NON; in client_coap_init()
/third_party/libcoap/doc/
Dupgrade_4.2.1_4.3.0.txt252 request->type = COAP_MESSAGE_NON;
254 coap_pdu_set_type(request, COAP_MESSAGE_NON);
/third_party/libcoap/man/
Dcoap_handler.txt.in361 rcv_type == COAP_MESSAGE_NON)) {
Dcoap_pdu_access.txt.in106 COAP_MESSAGE_NON Type non-confirmable.
Dcoap_observe.txt.in138 _message_type_ (use COAP_MESSAGE_NON or COAP_MESSAGE_CON).
Dcoap_pdu_setup.txt.in148 COAP_MESSAGE_NON Set the _PDU_ to be of type non-confirmable.