Home
last modified time | relevance | path

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

/net-tools-3.4.0/libcoap/tests/
Dtest_error_response.c37 pdu->hdr->type = COAP_MESSAGE_CON; in t_error_response1()
96 pdu->hdr->type = COAP_MESSAGE_CON; in t_error_response3()
135 pdu->hdr->type = COAP_MESSAGE_CON; in t_error_response4()
176 pdu->hdr->type = COAP_MESSAGE_CON; in t_error_response5()
217 pdu->hdr->type = COAP_MESSAGE_CON; in t_error_response6()
258 pdu->hdr->type = COAP_MESSAGE_CON; in t_error_response7()
294 pdu->hdr->type = COAP_MESSAGE_CON; in t_error_response8()
Dtest_pdu.c35 CU_ASSERT(pdu->hdr->type == COAP_MESSAGE_CON); in t_parse_pdu1()
260 pdu->hdr->type = COAP_MESSAGE_CON; in t_encode_pdu1()
279 pdu->hdr->type = COAP_MESSAGE_CON; in t_encode_pdu2()
422 pdu->hdr->type = COAP_MESSAGE_CON; in t_encode_pdu7()
445 pdu->hdr->type = COAP_MESSAGE_CON; in t_encode_pdu8()
/net-tools-3.4.0/
Dcoap-client.c236 COAP_MESSAGE_CON)
238 COAP_MESSAGE_CON)
240 p, sizeof(p), c, COAP_MESSAGE_CON)
242 COAP_MESSAGE_CON)
254 c, COAP_MESSAGE_CON)
256 sizeof(r), c, COAP_MESSAGE_CON)
259 COAP_MESSAGE_CON)
261 sizeof(r), c, COAP_MESSAGE_CON)
266 COAP_MESSAGE_CON)
810 if (pdu->hdr->type == COAP_MESSAGE_CON) in send_packets()
[all …]
/net-tools-3.4.0/libcoap/examples/
Dclient.c51 unsigned char msgtype = COAP_MESSAGE_CON; /* usually, requests are sent confirmable */
242 if (pdu->hdr->type == COAP_MESSAGE_CON) in clear_obs()
250 } else if (pdu->hdr->type != COAP_MESSAGE_CON) in clear_obs()
342 if (!sent && (received->hdr->type == COAP_MESSAGE_CON || in message_handler()
408 if (pdu->hdr->type == COAP_MESSAGE_CON) in message_handler()
418 if (pdu->hdr->type != COAP_MESSAGE_CON) in message_handler()
481 if (pdu->hdr->type == COAP_MESSAGE_CON) in message_handler()
491 if (pdu->hdr->type != COAP_MESSAGE_CON) in message_handler()
1198 if (pdu->hdr->type == COAP_MESSAGE_CON) in main()
1203 if (pdu->hdr->type != COAP_MESSAGE_CON || tid == COAP_INVALID_TID) in main()
Dcoap-server.c260 ? COAP_MESSAGE_CON in check_async()
Detsi_iot_01.c467 ? COAP_MESSAGE_CON in check_async()
Dcoap-rd.c138 int type = (request->hdr->type == COAP_MESSAGE_CON) in hnd_put_resource()
/net-tools-3.4.0/libcoap/src/
Dasync.c51 if (request->hdr->type == COAP_MESSAGE_CON) in coap_register_async()
Dresource.c630 response = coap_pdu_init(COAP_MESSAGE_CON, 0, 0, COAP_MAX_PDU_SIZE);
654 response->hdr->type = COAP_MESSAGE_CON;
662 if (response->hdr->type == COAP_MESSAGE_CON) {
670 if (COAP_INVALID_TID == tid || response->hdr->type != COAP_MESSAGE_CON)
Dnet.c541 if (request && request->hdr->type == COAP_MESSAGE_CON) { in coap_send_ack()
1052 type = request->hdr->type == COAP_MESSAGE_CON in coap_new_error_response()
1158 resp = coap_pdu_init(request->hdr->type == COAP_MESSAGE_CON in coap_wellknown_response()
1416 response = coap_pdu_init(node->pdu->hdr->type == COAP_MESSAGE_CON in handle_request()
1595 case COAP_MESSAGE_CON : /* check for unknown critical options */
/net-tools-3.4.0/libcoap/include/coap/
Dpdu.h43 #define COAP_MESSAGE_CON 0 /* confirmable message (requires ACK/RST) */ macro
/net-tools-3.4.0/libcoap/examples/contiki/
Dcoap-observer.c134 request = coap_pdu_init(COAP_MESSAGE_CON, COAP_REQUEST_GET, in PROCESS_THREAD()