Home
last modified time | relevance | path

Searched refs:coap_packet_append_option (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_rd_client/src/
Dstubs.h31 DECLARE_FAKE_VALUE_FUNC(int, coap_packet_append_option, struct coap_packet *, uint16_t,
103 FUNC(coap_packet_append_option) \
Dstubs.c33 DEFINE_FAKE_VALUE_FUNC(int, coap_packet_append_option, struct coap_packet *, uint16_t,
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_pull_context.c138 ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_PATH, cursor, strlen(cursor)); in transfer_request()
160 ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_PATH, cursor, in transfer_request()
175 ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_PATH, cursor, len); in transfer_request()
190 ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_PROXY_URI, context.uri, in transfer_request()
Dlwm2m_rd_client.c754 ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_PATH, in sm_send_bootstrap_registration()
763 ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_QUERY, in sm_send_bootstrap_registration()
780 coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_QUERY, in sm_send_bootstrap_registration()
888 ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_PATH, in sm_send_registration()
896 ret = coap_packet_append_option( in sm_send_registration()
916 ret = coap_packet_append_option( in sm_send_registration()
925 ret = coap_packet_append_option( in sm_send_registration()
938 ret = coap_packet_append_option( in sm_send_registration()
953 ret = coap_packet_append_option( in sm_send_registration()
965 ret = coap_packet_append_option( in sm_send_registration()
[all …]
Dlwm2m_message_handling.c431 coap_packet_append_option(&msg->body_encode_buffer, COAP_OPTION_ETAG, in prepare_msg_for_send()
3614 ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_PATH, LWM2M_DP_CLIENT_URI, in lwm2m_send_cb()
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dlocation_query.c54 r = coap_packet_append_option(&response, in location_query_post()
Dtest.c216 r = coap_packet_append_option(&response, in test_post()
/Zephyr-latest/samples/net/sockets/coap_client/src/
Dcoap-client.c152 r = coap_packet_append_option(&request, COAP_OPTION_URI_PATH, in send_simple_coap_request()
339 r = coap_packet_append_option(&request, COAP_OPTION_URI_PATH, in send_large_coap_request()
517 r = coap_packet_append_option(&request, COAP_OPTION_URI_PATH, in send_obs_coap_request()
567 r = coap_packet_append_option(&request, COAP_OPTION_URI_PATH, in send_obs_reset_coap_request()
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c985 r = coap_packet_append_option(&req, COAP_OPTION_URI_PATH, in ZTEST()
1034 r = coap_packet_append_option(&pkt, COAP_OPTION_URI_PATH, in ZTEST()
1070 r = coap_packet_append_option(&cpkt, COAP_OPTION_PROXY_URI, proxy_uri, strlen(proxy_uri)); in ZTEST()
1080 r = coap_packet_append_option(&cpkt, COAP_OPTION_PROXY_SCHEME, proxy_scheme, in ZTEST()
1169 r = coap_packet_append_option(&cpkt, COAP_OPTION_URI_PATH, uri_path, strlen(uri_path)); in ZTEST()
1191 r = coap_packet_append_option(&cpkt, COAP_OPTION_URI_HOST, uri_host, strlen(uri_host)); in ZTEST()
1214 r = coap_packet_append_option(&cpkt, COAP_OPTION_URI_QUERY, uri_query0, strlen(uri_query0)); in ZTEST()
1219 r = coap_packet_append_option(&cpkt, COAP_OPTION_URI_QUERY, uri_query1, strlen(uri_query1)); in ZTEST()
1318 r = coap_packet_append_option(cpkt, COAP_OPTION_URI_PATH, uri_path, strlen(uri_path)); in init_basic_test_msg()
1324 r = coap_packet_append_option(cpkt, COAP_OPTION_URI_HOST, uri_host, strlen(uri_host)); in init_basic_test_msg()
[all …]
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c276 ret = coap_packet_append_option(&request_packet, in send_request()
292 ret = coap_packet_append_option(&request_packet, 2048, in send_request()
302 ret = coap_packet_append_option(&request_packet, in send_request()
319 ret = coap_packet_append_option(&request_packet, 2048, in send_request()
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c232 ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_QUERY, query, strlen(query)); in ZTEST_F()
307 ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_PROXY_SCHEME, proxy_scheme, in ZTEST_F()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_client.c266 ret = coap_packet_append_option(&internal_req->request, req->options[i].code, in coap_client_init_request()
300 ret = coap_packet_append_option(&internal_req->request, in coap_client_init_request()
408 ret = coap_packet_append_option(&internal_req->request, COAP_OPTION_ECHO, in coap_client_req()
837 ret = coap_packet_append_option(&internal_req->request, COAP_OPTION_ECHO, in handle_response()
Dcoap.c344 int coap_packet_append_option(struct coap_packet *cpkt, uint16_t code, in coap_packet_append_option() function
401 return coap_packet_append_option(cpkt, code, data, len); in coap_append_option_int()
829 ret = coap_packet_append_option(cpkt, COAP_OPTION_URI_PATH, in coap_packet_set_path()
849 ret = coap_packet_append_option(cpkt, COAP_OPTION_URI_PATH, in coap_packet_set_path()
874 ret = coap_packet_append_option(cpkt, COAP_OPTION_URI_QUERY, in coap_packet_set_path()
897 ret = coap_packet_append_option(cpkt, COAP_OPTION_URI_QUERY, in coap_packet_set_path()
901 ret = coap_packet_append_option(cpkt, COAP_OPTION_URI_PATH, in coap_packet_set_path()
/Zephyr-latest/include/zephyr/net/
Dcoap.h615 int coap_packet_append_option(struct coap_packet *cpkt, uint16_t code,
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap.rst127 coap_packet_append_option(&request, COAP_OPTION_URI_PATH,