Home
last modified time | relevance | path

Searched refs:coap_add_data (Results 1 – 21 of 21) sorted by relevance

/third_party/libcoap/tests/
Dtest_pdu.c488 coap_add_data(pdu, 8, (const uint8_t *)"12345678"); in t_encode_pdu6()
508 result = coap_add_data(pdu, 0, NULL); in t_encode_pdu7()
535 result = coap_add_data(pdu, 1, (const uint8_t *)"\0"); in t_encode_pdu8()
586 result = coap_add_data(pdu, 4, (const uint8_t *)"data"); in t_encode_pdu9()
673 result = coap_add_data(pdu, 4, (const uint8_t *)"data"); in t_encode_pdu10()
694 result = coap_add_data(pdu, 10, (const uint8_t *)"0123456789"); in t_encode_pdu11()
869 coap_add_data(pdu, sizeof(data), data); in t_encode_pdu16()
1037 result = coap_add_data(pdu, 4, (const uint8_t *)"data"); in t_encode_pdu18()
1132 coap_add_data(pdu, sizeof(data), data); in t_encode_pdu20()
1186 coap_add_data(pdu, sizeof(data), data); in t_encode_pdu21()
/third_party/libcoap/src/
Dblock.c135 return coap_add_data(pdu, in coap_add_block()
222 if (!coap_add_data(response, length, data)) { in coap_add_data_blocked_response()
243 coap_add_data(response, in coap_add_data_blocked_response()
316 coap_add_data(pdu, size, data); in coap_cancel_observe()
445 if (!coap_add_data(pdu, rem, &data[block.num * chunk])) in coap_add_data_large_internal()
592 if (!coap_add_data(pdu, rem, &data[block.num * chunk])) in coap_add_data_large_internal()
609 if (!coap_add_data(pdu, length, data)) in coap_add_data_large_internal()
727 coap_add_data(response, in coap_add_data_large_response()
1038 coap_add_data(response, in coap_handle_request_send_block()
1153 coap_add_data(response, strlen(error_phrase), in coap_handle_request_send_block()
[all …]
Dasync.c78 coap_add_data(s->pdu, len, data); in coap_register_async()
Dresource.c777 coap_add_data(s->pdu, len, data);
Dpdu.c624 coap_add_data(coap_pdu_t *pdu, size_t len, const uint8_t *data) { in coap_add_data() function
Dnet.c1247 coap_add_data(pdu, len, (uint8_t*)cp); in coap_send_internal()
2157 coap_add_data(response, (size_t)strlen(phrase), (const uint8_t *)phrase); in coap_new_error_response()
/third_party/libcoap/examples/
Detsi_iot_01.c112 coap_add_data(response, strlen(INDEX), (const uint8_t *)INDEX);
334 coap_add_data(response, len, buf); in hnd_get_query()
394 coap_add_data(response, 4, (const uint8_t *)"done"); in hnd_get_separate()
Dtiny.c68 coap_add_data( pdu, len, buf ); in make_pdu()
Dcoap-rd.c138 coap_add_data(response, rd->data.length, rd->data.s); in hnd_get_resource()
Dcoap-server.c344 coap_add_data(response, 22, (const uint8_t*)"Invalid set time value"); in hnd_put_time()
/third_party/libcoap/examples/lwip/
Dserver-coap.c63 coap_add_data(response, len, buf); in hnd_get_time()
/third_party/libcoap/man/
DMakefile.am110 @echo ".so man3/coap_pdu_setup.3" > coap_add_data.3
Dcoap_pdu_setup.txt.in26 coap_add_data,
74 *int coap_add_data(coap_pdu_t *_pdu_, size_t _length_, const uint8_t *_data_);*
354 The *coap_add_data*() function adds in the specified payload _data_ of length
360 as a direct replacement for *coap_add_data*() if it is possible that the data
390 *coap_add_optlist_pdu*() and *coap_add_data*()
487 if (!coap_add_data(pdu, length, data))
Dcoap_block.txt.in122 The *coap_add_data_large_request*() function is similar to *coap_add_data*(),
136 should be used as a direct replacement for *coap_add_data*() if it is possible
Dcoap_handler.txt.in81 exiting this function as _incoming_pdu_ is deleted, unless *coap_add_data*()
Dcoap_observe.txt.in362 if (!coap_add_data(pdu, length, data))
Dcoap_resource.txt.in219 coap_add_data(response, strlen(INDEX), (const uint8_t *)INDEX);
/third_party/libcoap/
Dlibcoap-3.sym3 coap_add_data
Dlibcoap-3.map5 coap_add_data;
/third_party/libcoap/include/coap3/
Dpdu.h459 int coap_add_data(coap_pdu_t *pdu,
/third_party/libcoap/doc/
Dupgrade_4.2.1_4.3.0.txt354 `coap_add_data()` (or `coap_add_data_blocked_response()`) is replaced by