/third_party/libcoap/tests/ |
D | test_pdu.c | 500 coap_add_data(pdu, 8, (const uint8_t *)"12345678"); in t_encode_pdu6() 520 result = coap_add_data(pdu, 0, NULL); in t_encode_pdu7() 547 result = coap_add_data(pdu, 1, (const uint8_t *)"\0"); in t_encode_pdu8() 598 result = coap_add_data(pdu, 4, (const uint8_t *)"data"); in t_encode_pdu9() 686 result = coap_add_data(pdu, 4, (const uint8_t *)"data"); in t_encode_pdu10() 707 result = coap_add_data(pdu, 10, (const uint8_t *)"0123456789"); in t_encode_pdu11() 886 coap_add_data(pdu, sizeof(data), data); in t_encode_pdu16() 1058 result = coap_add_data(pdu, 4, (const uint8_t *)"data"); in t_encode_pdu18() 1250 coap_add_data(pdu, sizeof(data), data); in t_encode_pdu21() 1327 coap_add_data(pdu, sizeof(data), data); in t_encode_pdu22() [all …]
|
/third_party/libcoap/examples/ |
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()
|
D | tiny.c | 68 coap_add_data(pdu, len, buf); in make_pdu()
|
D | coap-rd.c | 158 coap_add_data(response, rd->data.length, rd->data.s); in hnd_get_resource()
|
D | coap-server.c | 373 coap_add_data(response, 22, (const uint8_t *)"Invalid set time value"); in hnd_put_time()
|
/third_party/libcoap/src/ |
D | coap_block.c | 242 return coap_add_data(pdu, in coap_add_block() 264 return coap_add_data(pdu, in coap_add_block_b_data() 352 if (!coap_add_data(response, length, data)) { in coap_add_data_blocked_response() 373 coap_add_data(response, in coap_add_data_blocked_response() 537 coap_add_data(resend_pdu, data_len, data); in coap_retransmit_oscore_pdu() 775 if (!coap_add_data(pdu, rem, &data[block.num * chunk])) in coap_add_data_large_internal() 950 if (!coap_add_data(pdu, rem, &data[block.num * chunk])) in coap_add_data_large_internal() 975 if (!coap_add_data(pdu, length, data)) in coap_add_data_large_internal() 1125 coap_add_data(response, in coap_add_data_large_response() 2244 coap_add_data(response, sizeof("Both Block2 and Q-Block2 invalid")-1, in coap_handle_request_send_block() [all …]
|
D | coap_async.c | 89 coap_add_data(s->pdu, len, data); in coap_register_async()
|
D | coap_oscore.c | 567 if (!coap_add_data(plain_pdu, length, data)) in coap_oscore_new_pdu_encrypted() 611 if (!coap_add_data(osc_pdu, ciphertext_len, ciphertext_buffer)) in coap_oscore_new_pdu_encrypted() 682 coap_add_data(association->sent_pdu, size, data); in coap_oscore_new_pdu_encrypted() 740 coap_add_data(err_pdu, strlen(diagnostic), (const uint8_t *)diagnostic); in build_and_send_error_pdu() 1530 if (!coap_add_data(decrypt_pdu, in coap_oscore_decrypt_pdu()
|
D | coap_net.c | 1489 coap_add_data(pdu, len, (uint8_t *)cp); in coap_send_internal() 2468 coap_add_data(response, (size_t)strlen(phrase), (const uint8_t *)phrase); in coap_new_error_response() 2546 if (!coap_add_data(response, len, data_string->s)) { in hnd_get_wellknown()
|
D | coap_resource.c | 795 coap_add_data(s->pdu, len, data);
|
D | coap_pdu.c | 781 coap_add_data(coap_pdu_t *pdu, size_t len, const uint8_t *data) { in coap_add_data() function
|
/third_party/libcoap/man/ |
D | coap_pdu_setup.txt.in | 27 coap_add_data, 77 *int coap_add_data(coap_pdu_t *_pdu_, size_t _length_, const uint8_t *_data_);* 494 *Function: coap_add_data()* 496 The *coap_add_data*() function adds in the specified payload _data_ of length 504 as a direct replacement for *coap_add_data*() if it is possible that the data 542 and *coap_add_data*() return 0 on failure, 1 on success. 643 if (!coap_add_data(pdu, length, data))
|
D | Makefile.am | 160 @echo ".so man3/coap_pdu_setup.3" > coap_add_data.3
|
D | coap_block.txt.in | 202 The *coap_add_data_large_request*() function is similar to *coap_add_data*(), 230 should be used as a direct replacement for *coap_add_data*() if it is possible
|
D | coap_handler.txt.in | 107 *coap_add_data*() is used to update _response_pdu_ where a copy of the data is
|
D | coap_observe.txt.in | 396 if (!coap_add_data(pdu, length, data))
|
D | coap_resource.txt.in | 333 coap_add_data(response, strlen(INDEX), (const uint8_t *)INDEX);
|
/third_party/libcoap/ |
D | libcoap-3.map | 6 coap_add_data;
|
D | libcoap-3.sym | 4 coap_add_data
|
/third_party/libcoap/examples/lwip/ |
D | server-coap.c | 67 coap_add_data(response, len, buf); in hnd_get_time()
|
/third_party/libcoap/examples/riot/examples_libcoap_server/ |
D | server-coap.c | 71 coap_add_data(response, len, buf); in hnd_get_time()
|
/third_party/libcoap/include/coap3/ |
D | coap_pdu.h | 501 int coap_add_data(coap_pdu_t *pdu,
|
/third_party/libcoap/src/oscore/ |
D | oscore_context.c | 713 coap_add_data(association->sent_pdu, size, data); in oscore_new_association()
|
/third_party/libcoap/doc/ |
D | upgrade_4.2.1_4.3.0.txt | 354 `coap_add_data()` (or `coap_add_data_blocked_response()`) is replaced by
|