/dports/net/libcoap/libcoap-4.3.0/tests/ |
H A D | test_error_response.c | 69 coap_add_option(pdu, COAP_OPTION_URI_HOST, 4, (const uint8_t *)"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, (const uint8_t *)"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 …]
|
H A D | test_pdu.c | 398 result = coap_add_option(pdu, COAP_OPTION_URI_HOST, in t_encode_pdu4() 406 result = coap_add_option(pdu, COAP_OPTION_URI_PATH, in t_encode_pdu4() 453 result = coap_add_option(pdu, COAP_OPTION_IF_MATCH, in t_encode_pdu5() 461 result = coap_add_option(pdu, COAP_OPTION_ACCEPT, in t_encode_pdu5() 578 result = coap_add_option(pdu, COAP_OPTION_PROXY_URI, in t_encode_pdu9() 866 coap_add_option(pdu, opt_num[n], in t_encode_pdu16() 926 coap_add_option(pdu, opt_num[n], in t_encode_pdu17() 1072 coap_add_option(pdu, opt_num[n], in t_encode_pdu19() 1129 coap_add_option(pdu, opt_num[n], in t_encode_pdu20() 1183 coap_add_option(pdu, opt_num[n], in t_encode_pdu21() [all …]
|
H A D | test_wellknown.c | 194 if (!coap_add_option(pdu, COAP_OPTION_BLOCK2, in t_wellknown5() 233 if (!pdu || !coap_add_option(pdu, COAP_OPTION_BLOCK2, in t_wellknown6()
|
/dports/net/libcoap/libcoap-4.3.0/examples/contiki/ |
H A D | coap-observer.c | 141 coap_add_option(request, COAP_OPTION_URI_PORT, in PROCESS_THREAD() 159 coap_add_option(request, COAP_OPTION_URI_PATH, in PROCESS_THREAD() 166 coap_add_option(request, COAP_OPTION_OBSERVE, 0, NULL); in PROCESS_THREAD() 170 coap_add_option(request, COAP_OPTION_TOKEN, 2, buf); in PROCESS_THREAD()
|
/dports/net/libcoap/libcoap-4.3.0/examples/lwip/ |
H A D | server-coap.c | 44 coap_add_option(response, COAP_OPTION_CONTENT_FORMAT, in hnd_get_time() 49 coap_add_option(response, COAP_OPTION_MAXAGE, in hnd_get_time()
|
/dports/net/libcoap/libcoap-4.3.0/examples/ |
H A D | etsi_iot_01.c | 104 coap_add_option(response, COAP_OPTION_CONTENT_TYPE, 109 coap_add_option(response, COAP_OPTION_MAXAGE, 214 coap_add_option(response, COAP_OPTION_LOCATION_PATH, in hnd_post_test() 310 coap_add_option(response, COAP_OPTION_CONTENT_TYPE, in hnd_get_query()
|
H A D | coap-rd.c | 128 coap_add_option(response, in hnd_get_resource() 135 coap_add_option(response, COAP_OPTION_ETAG, rd->etag_len, rd->etag); in hnd_get_resource() 246 coap_add_option(response, in hnd_get_rd() 252 coap_add_option(response, in hnd_get_rd() 540 coap_add_option(response, in hnd_post_rd()
|
H A D | coap-server.c | 340 coap_add_option(response, in hnd_put_time()
|
/dports/net/libcoap/libcoap-4.3.0/man/ |
H A D | Makefile.am | 109 @echo ".so man3/coap_pdu_setup.3" > coap_add_option.3
|
H A D | coap_pdu_setup.txt.in | 25 coap_add_option, 71 *size_t coap_add_option(coap_pdu_t *_pdu_, uint16_t _number_, size_t _length_, 323 The *coap_add_option*() function adds in the specified option of type _number_
|
H A D | coap_resource.txt.in | 209 coap_add_option(response, 215 coap_add_option(response,
|
/dports/net/libcoap/libcoap-4.3.0/ |
H A D | libcoap-3.map | 10 coap_add_option;
|
H A D | libcoap-3.sym | 8 coap_add_option
|
H A D | ChangeLog | 270 * pdu.c (coap_add_option): allow more than 15 options.
|
/dports/net/libcoap/libcoap-4.3.0/include/coap3/ |
H A D | pdu.h | 436 size_t coap_add_option(coap_pdu_t *pdu,
|
/dports/net/libcoap/libcoap-4.3.0/src/ |
H A D | pdu.c | 193 if (!coap_add_option(pdu, opt_iter.number, in coap_pdu_duplicate() 425 return coap_add_option(pdu, number, len, data); in coap_insert_option() 543 coap_add_option(coap_pdu_t *pdu, coap_option_num_t number, size_t len, in coap_add_option() function
|
H A D | block.c | 177 coap_add_option(response, COAP_OPTION_ETAG, sizeof(etag), etag); in coap_add_data_blocked_response() 209 coap_add_option(response, in coap_add_data_blocked_response() 232 coap_add_option(response, in coap_add_data_blocked_response() 1085 if (!coap_add_option(response, opt_iter.number, in coap_handle_request_send_block()
|
H A D | option.c | 557 coap_add_option(pdu, opt->number, opt->length, opt->data); in coap_add_optlist_pdu()
|
H A D | net.c | 2150 coap_add_option(response, opt_iter.number, in coap_new_error_response() 2276 coap_add_option(resp, in coap_wellknown_response() 2286 coap_add_option(resp, COAP_OPTION_CONTENT_FORMAT, in coap_wellknown_response() 2300 coap_add_option(resp, in coap_wellknown_response() 2785 coap_add_option(response, COAP_OPTION_OBSERVE, in handle_request() 2964 coap_add_option(pong, COAP_SIGNALING_OPTION_CUSTODY, 0, NULL); in handle_signaling()
|
H A D | resource.c | 928 coap_add_option(response, COAP_OPTION_OBSERVE, 934 coap_add_option(response, COAP_OPTION_BLOCK2,
|
H A D | coap_session.c | 362 || coap_add_option(pdu, COAP_SIGNALING_OPTION_MAX_MESSAGE_SIZE, in coap_session_send_csm() 365 || coap_add_option(pdu, COAP_SIGNALING_OPTION_BLOCK_WISE_TRANSFER, in coap_session_send_csm()
|