Home
last modified time | relevance | path

Searched refs:coap_find_options (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_rd_client/src/
Dstubs.h36 DECLARE_FAKE_VALUE_FUNC(int, coap_find_options, const struct coap_packet *, uint16_t,
105 FUNC(coap_find_options) \
Dstubs.c42 DEFINE_FAKE_VALUE_FUNC(int, coap_find_options, const struct coap_packet *, uint16_t,
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dquery.c34 r = coap_find_options(request, COAP_OPTION_URI_QUERY, options, 4); in query_get()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_gateway.c156 ret = coap_find_options(msg->in.in_cpkt, COAP_OPTION_URI_PATH, options, in lwm2m_gw_handle_req()
Dlwm2m_message_handling.c2343 r = coap_find_options(msg->in.in_cpkt, COAP_OPTION_URI_PATH, options, ARRAY_SIZE(options)); in handle_request()
2388 r = coap_find_options(msg->in.in_cpkt, COAP_OPTION_CONTENT_FORMAT, options, 1); in handle_request()
2398 r = coap_find_options(msg->in.in_cpkt, COAP_OPTION_ACCEPT, options, 1); in handle_request()
Dlwm2m_rd_client.c510 ret = coap_find_options(response, COAP_OPTION_LOCATION_PATH, in do_registration_reply_cb()
Dlwm2m_observation.c1156 nr_opt = coap_find_options(msg->in.in_cpkt, COAP_OPTION_URI_QUERY, options, NR_LWM2M_ATTR); in lwm2m_write_attr_handler()
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c271 count = coap_find_options(&cpkt, COAP_OPTION_CONTENT_FORMAT, in ZTEST()
282 count = coap_find_options(&cpkt, COAP_OPTION_ETAG, options, count); in ZTEST()
1106 r = coap_find_options(&cpkt, COAP_OPTION_CONTENT_FORMAT, &opt, 1); in ZTEST()
1109 r = coap_find_options(&cpkt, COAP_OPTION_PROXY_URI, &opt, 1); in ZTEST()
1114 r = coap_find_options(&cpkt, COAP_OPTION_PROXY_SCHEME, &opt, 1); in ZTEST()
1119 r = coap_find_options(&cpkt, COAP_OPTION_BLOCK2, &opt, 1); in ZTEST()
1651 res = coap_find_options(&cpkt, code, options, ARRAY_SIZE(options)); in assert_coap_packet_set_path_query_options()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_link_format.c477 r = coap_find_options(request, COAP_OPTION_URI_QUERY, &query, 1); in coap_well_known_core_get_len()
661 r = coap_find_options(request, COAP_OPTION_URI_QUERY, &query, 1); in coap_well_known_core_get_len()
Dcoap.c915 int coap_find_options(const struct coap_packet *cpkt, uint16_t code, in coap_find_options() function
1351 count = coap_find_options(cpkt, code, &option, count); in coap_get_option_int()
Dcoap_client.c766 return coap_find_options(response, COAP_OPTION_ECHO, option, 1); in find_echo_option()
/Zephyr-latest/include/zephyr/net/
Dcoap.h598 int coap_find_options(const struct coap_packet *cpkt, uint16_t code,
/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c200 ret = coap_find_options(&response, COAP_OPTION_ECHO, &option, 1); in z_impl_zsock_sendto_custom_fake_echo()
242 ret = coap_find_options(&response, COAP_OPTION_ECHO, &option, 1); in z_impl_zsock_sendto_custom_fake_echo_next_req()
/Zephyr-latest/doc/releases/
Drelease-notes-2.6.rst672 * Fixed coap_find_options() to return 0 when options are empty.