Home
last modified time | relevance | path

Searched refs:COAP_RESPONSE_CODE (Results 1 – 9 of 9) sorted by relevance

/third_party/libcoap/include/coap3/
Dpdu.h147 #define COAP_RESPONSE_CODE(N) (((N)/100 << 5) | (N)%100) macro
309 COAP_RESPONSE_CODE_OK = COAP_RESPONSE_CODE(200),
310 COAP_RESPONSE_CODE_CREATED = COAP_RESPONSE_CODE(201),
311 COAP_RESPONSE_CODE_DELETED = COAP_RESPONSE_CODE(202),
312 COAP_RESPONSE_CODE_VALID = COAP_RESPONSE_CODE(203),
313 COAP_RESPONSE_CODE_CHANGED = COAP_RESPONSE_CODE(204),
314 COAP_RESPONSE_CODE_CONTENT = COAP_RESPONSE_CODE(205),
315 COAP_RESPONSE_CODE_CONTINUE = COAP_RESPONSE_CODE(231),
316 COAP_RESPONSE_CODE_BAD_REQUEST = COAP_RESPONSE_CODE(400),
317 COAP_RESPONSE_CODE_UNAUTHORIZED = COAP_RESPONSE_CODE(401),
[all …]
/third_party/libcoap/src/
Dpdu.c698 { COAP_RESPONSE_CODE(201), "Created" },
699 { COAP_RESPONSE_CODE(202), "Deleted" },
700 { COAP_RESPONSE_CODE(203), "Valid" },
701 { COAP_RESPONSE_CODE(204), "Changed" },
702 { COAP_RESPONSE_CODE(205), "Content" },
703 { COAP_RESPONSE_CODE(231), "Continue" },
704 { COAP_RESPONSE_CODE(400), "Bad Request" },
705 { COAP_RESPONSE_CODE(401), "Unauthorized" },
706 { COAP_RESPONSE_CODE(402), "Bad Option" },
707 { COAP_RESPONSE_CODE(403), "Forbidden" },
[all …]
Dblock.c167 response->code = COAP_RESPONSE_CODE(400); in coap_add_data_blocked_response()
172 response->code = COAP_RESPONSE_CODE(205); in coap_add_data_blocked_response()
197 response->code = COAP_RESPONSE_CODE(400); in coap_add_data_blocked_response()
203 response->code = COAP_RESPONSE_CODE(500); in coap_add_data_blocked_response()
667 response->code = COAP_RESPONSE_CODE(400); in coap_add_data_large_response()
692 response->code = COAP_RESPONSE_CODE(400); in coap_add_data_large_response()
698 response->code = COAP_RESPONSE_CODE(500); in coap_add_data_large_response()
707 response->code = COAP_RESPONSE_CODE(500); in coap_add_data_large_response()
720 response->code = COAP_RESPONSE_CODE(400); in coap_add_data_large_response()
989 out_pdu->code = COAP_RESPONSE_CODE(203); in coap_handle_request_send_block()
[all …]
Dnet.c1159 if (pdu->code == COAP_RESPONSE_CODE(508)) { in coap_send_internal()
2067 if (code != COAP_RESPONSE_CODE(508)) { in coap_new_error_response()
2203 COAP_RESPONSE_CODE(205), in coap_wellknown_response()
2222 resp->code = COAP_RESPONSE_CODE(400); in coap_wellknown_response()
2232 resp->code = COAP_RESPONSE_CODE(400); in coap_wellknown_response()
2324 resp->code = COAP_RESPONSE_CODE(503); in coap_wellknown_response()
2669 response = coap_new_error_response(pdu, COAP_RESPONSE_CODE(405), in handle_request()
2704 coap_new_error_response(pdu, COAP_RESPONSE_CODE(202), in handle_request()
2711 coap_new_error_response(pdu, COAP_RESPONSE_CODE(404), in handle_request()
2774 response->code = COAP_RESPONSE_CODE(400); in handle_request()
[all …]
Dresource.c960 response->code = COAP_RESPONSE_CODE(404);
/third_party/libcoap/tests/
Dtest_error_response.c42 response = coap_new_error_response(pdu, COAP_RESPONSE_CODE(400), &opts); in t_error_response1()
72 response = coap_new_error_response(pdu, COAP_RESPONSE_CODE(404), &opts); in t_error_response2()
87 const uint8_t code = COAP_RESPONSE_CODE(402); in t_error_response3()
120 const uint8_t code = COAP_RESPONSE_CODE(402); in t_error_response4()
159 const uint8_t code = COAP_RESPONSE_CODE(402); in t_error_response5()
200 const uint8_t code = COAP_RESPONSE_CODE(402); in t_error_response6()
241 const uint8_t code = COAP_RESPONSE_CODE(402); in t_error_response7()
283 const uint8_t code = COAP_RESPONSE_CODE(503); in t_error_response8()
Dtest_pdu.c444 pdu->code = COAP_RESPONSE_CODE(404); in t_encode_pdu5()
503 pdu->code = COAP_RESPONSE_CODE(203); in t_encode_pdu7()
526 pdu->code = COAP_RESPONSE_CODE(203); in t_encode_pdu8()
559 pdu->code = COAP_RESPONSE_CODE(204); in t_encode_pdu9()
641 pdu->code = COAP_RESPONSE_CODE(204); in t_encode_pdu10()
1007 pdu->code = COAP_RESPONSE_CODE(204); in t_encode_pdu18()
/third_party/libcoap/examples/lwip/
Dserver-coap.c41 my_clock_base ? COAP_RESPONSE_CODE(205) : COAP_RESPONSE_CODE(404); in hnd_get_time()
/third_party/libcoap/doc/
Dupgrade_4.2.1_4.3.0.txt229 response->code = COAP_RESPONSE_CODE(404);