/dports/net/libcoap/libcoap-4.3.0/tests/ |
H A D | test_pdu.c | 488 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 D | block.c | 135 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 D | async.c | 78 coap_add_data(s->pdu, len, data); in coap_register_async()
|
H A D | resource.c | 777 coap_add_data(s->pdu, len, data);
|
H A D | pdu.c | 624 coap_add_data(coap_pdu_t *pdu, size_t len, const uint8_t *data) { in coap_add_data() function
|
H A D | net.c | 1247 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 D | etsi_iot_01.c | 112 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 D | tiny.c | 68 coap_add_data( pdu, len, buf ); in make_pdu()
|
H A D | coap-rd.c | 138 coap_add_data(response, rd->data.length, rd->data.s); in hnd_get_resource()
|
H A D | coap-server.c | 344 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 D | server-coap.c | 63 coap_add_data(response, len, buf); in hnd_get_time()
|
/dports/net/libcoap/libcoap-4.3.0/man/ |
H A D | Makefile.am | 110 @echo ".so man3/coap_pdu_setup.3" > coap_add_data.3
|
H A D | coap_pdu_setup.txt.in | 26 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 D | coap_block.txt.in | 122 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 D | coap_handler.txt.in | 81 exiting this function as _incoming_pdu_ is deleted, unless *coap_add_data*()
|
H A D | coap_observe.txt.in | 362 if (!coap_add_data(pdu, length, data))
|
H A D | coap_resource.txt.in | 219 coap_add_data(response, strlen(INDEX), (const uint8_t *)INDEX);
|
/dports/net/libcoap/libcoap-4.3.0/ |
H A D | libcoap-3.map | 5 coap_add_data;
|
H A D | libcoap-3.sym | 3 coap_add_data
|
/dports/net/libcoap/libcoap-4.3.0/include/coap3/ |
H A D | pdu.h | 452 int coap_add_data(coap_pdu_t *pdu,
|