Home
last modified time | relevance | path

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

/dports/net/libcoap/libcoap-4.3.0/tests/
H A 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()
/dports/net/libcoap/libcoap-4.3.0/src/
H A 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 …]
H A Dasync.c78 coap_add_data(s->pdu, len, data); in coap_register_async()
H A Dresource.c777 coap_add_data(s->pdu, len, data);
H A Dpdu.c624 coap_add_data(coap_pdu_t *pdu, size_t len, const uint8_t *data) { in coap_add_data() function
H A Dnet.c1247 coap_add_data(pdu, len, (uint8_t*)cp); in coap_send_internal()
2158 coap_add_data(response, (size_t)strlen(phrase), (const uint8_t *)phrase); in coap_new_error_response()
/dports/net/libcoap/libcoap-4.3.0/examples/
H A 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()
H A Dtiny.c68 coap_add_data( pdu, len, buf ); in make_pdu()
H A Dcoap-rd.c138 coap_add_data(response, rd->data.length, rd->data.s); in hnd_get_resource()
H A Dcoap-server.c344 coap_add_data(response, 22, (const uint8_t*)"Invalid set time value"); in hnd_put_time()
/dports/net/libcoap/libcoap-4.3.0/examples/lwip/
H A Dserver-coap.c63 coap_add_data(response, len, buf); in hnd_get_time()
/dports/net/libcoap/libcoap-4.3.0/man/
H A DMakefile.am110 @echo ".so man3/coap_pdu_setup.3" > coap_add_data.3
H A 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))
H A 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
H A Dcoap_handler.txt.in81 exiting this function as _incoming_pdu_ is deleted, unless *coap_add_data*()
H A Dcoap_observe.txt.in362 if (!coap_add_data(pdu, length, data))
H A Dcoap_resource.txt.in219 coap_add_data(response, strlen(INDEX), (const uint8_t *)INDEX);
/dports/net/libcoap/libcoap-4.3.0/
H A Dlibcoap-3.map5 coap_add_data;
H A Dlibcoap-3.sym3 coap_add_data
/dports/net/libcoap/libcoap-4.3.0/include/coap3/
H A Dpdu.h452 int coap_add_data(coap_pdu_t *pdu,