/net-tools-3.4.0/libcoap/tests/ |
D | test_error_response.c | 69 coap_add_option(pdu, COAP_OPTION_URI_HOST, 4, (unsigned char *)"time"); in t_error_response2() 101 coap_add_option(pdu, 9, 0, NULL); in t_error_response3() 140 coap_add_option(pdu, 9, sizeof(optval), optval); in t_error_response4() 181 coap_add_option(pdu, 9, sizeof(optval), optval); in t_error_response5() 222 coap_add_option(pdu, 23, sizeof(optval), optval); in t_error_response6() 261 coap_add_option(pdu, 11, 4, (unsigned char *)"time"); in t_error_response7() 264 coap_add_option(pdu, 23, sizeof(optval), optval); in t_error_response7() 297 coap_add_option(pdu, 1000, 0, NULL); in t_error_response8() 300 coap_add_option(pdu, 1001, 0, NULL); in t_error_response8() 301 coap_add_option(pdu, 1014, 0, NULL); in t_error_response8() [all …]
|
D | test_pdu.c | 319 result = coap_add_option(pdu, COAP_OPTION_URI_HOST, in t_encode_pdu4() 327 result = coap_add_option(pdu, COAP_OPTION_URI_PATH, in t_encode_pdu4() 335 result = coap_add_option(pdu, COAP_OPTION_URI_PATH, 0, NULL); in t_encode_pdu4() 342 result = coap_add_option(pdu, 8000, 8, (unsigned char *)"fancyopt"); in t_encode_pdu4() 374 result = coap_add_option(pdu, COAP_OPTION_IF_MATCH, in t_encode_pdu5() 382 result = coap_add_option(pdu, COAP_OPTION_ACCEPT, in t_encode_pdu5() 484 result = coap_add_option(pdu, COAP_OPTION_ETAG, 8, (unsigned char *)"someetag"); in t_encode_pdu9() 491 result = coap_add_option(pdu, COAP_OPTION_IF_NONE_MATCH, 0, NULL); in t_encode_pdu9() 498 result = coap_add_option(pdu, COAP_OPTION_PROXY_URI, in t_encode_pdu9() 569 result = coap_add_option(pdu, COAP_OPTION_LOCATION_PATH, 255, in t_encode_pdu10() [all …]
|
D | test_wellknown.c | 189 if (!coap_add_option(pdu, COAP_OPTION_BLOCK2, in t_wellknown5() 227 if (!pdu || !coap_add_option(pdu, COAP_OPTION_BLOCK2, in t_wellknown6()
|
/net-tools-3.4.0/libcoap/examples/contiki/ |
D | coap-observer.c | 142 coap_add_option(request, COAP_OPTION_URI_PORT, in PROCESS_THREAD() 158 coap_add_option(request, COAP_OPTION_URI_PATH, in PROCESS_THREAD() 165 coap_add_option(request, COAP_OPTION_SUBSCRIPTION, 0, NULL); in PROCESS_THREAD() 169 coap_add_option(request, COAP_OPTION_TOKEN, 2, buf); in PROCESS_THREAD()
|
D | server.c | 112 coap_add_option(response, COAP_OPTION_OBSERVE, in hnd_get_time() 117 coap_add_option(response, COAP_OPTION_CONTENT_FORMAT, in hnd_get_time() 120 coap_add_option(response, COAP_OPTION_MAXAGE, in hnd_get_time()
|
/net-tools-3.4.0/libcoap/examples/ |
D | coap-server.c | 80 coap_add_option(response, in hnd_get_index() 84 coap_add_option(response, in hnd_get_index() 115 coap_add_option(response, in hnd_get_time() 121 coap_add_option(response, in hnd_get_time() 125 coap_add_option(response, in hnd_get_time()
|
D | etsi_iot_01.c | 136 coap_add_option(response, COAP_OPTION_CONTENT_TYPE, in hnd_get_index() 139 coap_add_option(response, COAP_OPTION_MAXAGE, in hnd_get_index() 164 coap_add_option(response, COAP_OPTION_CONTENT_TYPE, in hnd_get_resource() 171 coap_add_option(response, COAP_OPTION_ETAG, sizeof(etag), etag); in hnd_get_resource() 293 coap_add_option(response, COAP_OPTION_LOCATION_PATH, in hnd_post_test() 383 coap_add_option(response, COAP_OPTION_CONTENT_TYPE, in hnd_get_query() 482 coap_add_option(response, COAP_OPTION_CONTENT_TYPE, in check_async()
|
D | client.c | 160 coap_add_option(pdu, in coap_new_request() 204 if (!coap_add_option(pdu, in clear_obs() 214 if (!coap_add_option(pdu, in clear_obs() 228 if (!coap_add_option (pdu, in clear_obs() 389 coap_add_option (pdu, in message_handler() 402 coap_add_option(pdu, in message_handler() 454 coap_add_option (pdu, in message_handler() 470 coap_add_option(pdu, in message_handler()
|
D | coap-rd.c | 110 coap_add_option(response, in hnd_get_resource() 117 coap_add_option(response, COAP_OPTION_ETAG, rd->etag_len, rd->etag); in hnd_get_resource() 235 coap_add_option(response, in hnd_get_rd() 241 coap_add_option(response, in hnd_get_rd() 530 coap_add_option(response, in hnd_post_rd()
|
/net-tools-3.4.0/libcoap/ |
D | libcoap-1.sym | 5 coap_add_option
|
D | libcoap-1.map | 7 coap_add_option;
|
D | ChangeLog | 183 * pdu.c (coap_add_option): allow more than 15 options.
|
/net-tools-3.4.0/libcoap/src/ |
D | block.c | 110 coap_add_option(pdu, type, coap_encode_var_bytes(buf, ((block->num << 4) | in coap_write_block_opt()
|
D | pdu.c | 171 coap_add_option(coap_pdu_t *pdu, unsigned short type, unsigned int len, const unsigned char *data) { in coap_add_option() function
|
D | net.c | 1110 coap_add_option(response, opt_iter.type, in coap_new_error_response() 1213 coap_add_option(resp, COAP_OPTION_CONTENT_FORMAT, in coap_wellknown_response()
|
/net-tools-3.4.0/libcoap/include/coap/ |
D | pdu.h | 354 size_t coap_add_option(coap_pdu_t *pdu,
|
/net-tools-3.4.0/ |
D | coap-client.c | 1127 coap_add_option(pdu, in add_options() 1186 coap_add_option(pdu, in coap_new_request() 1234 coap_add_option(pdu, blktype, in read_blocks() 1420 coap_add_option(pdu, in coap_message_handler()
|