Home
last modified time | relevance | path

Searched refs:coap_client (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dcoap_client.h107 struct coap_client { struct
129 int coap_client_init(struct coap_client *client, const char *info);
148 int coap_client_req(struct coap_client *client, int sock, const struct sockaddr *addr,
159 void coap_client_cancel_requests(struct coap_client *client);
174 void coap_client_cancel_request(struct coap_client *client, struct coap_client_request *req);
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_client.c24 static struct coap_client *clients[CONFIG_COAP_CLIENT_MAX_INSTANCES];
29 static void cancel_requests_with(struct coap_client *client, int error);
30 static int recv_response(struct coap_client *client, struct coap_packet *response, bool *truncated);
31 static int handle_response(struct coap_client *client, const struct coap_packet *response,
33 static struct coap_client_internal_request *get_request_with_mid(struct coap_client *client,
87 static int coap_client_schedule_poll(struct coap_client *client, int sock, in coap_client_schedule_poll()
119 static bool has_ongoing_request(struct coap_client *client) in has_ongoing_request()
130 static bool has_ongoing_exchange(struct coap_client *client) in has_ongoing_exchange()
142 static bool has_timeout_expired(struct coap_client *client) in has_timeout_expired()
152 static struct coap_client_internal_request *get_free_request(struct coap_client *client) in get_free_request()
[all …]
DCMakeLists.txt11 coap_client.c
/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c42 static struct coap_client client;
43 static struct coap_client client2 = {
517 ZTEST_SUITE(coap_client, NULL, suite_setup, test_setup, test_after, NULL);
519 ZTEST(coap_client, test_get_request) in ZTEST() argument
527 ZTEST(coap_client, test_request_block) in ZTEST() argument
534 ZTEST(coap_client, test_resend_request) in ZTEST() argument
553 ZTEST(coap_client, test_echo_option) in ZTEST() argument
563 ZTEST(coap_client, test_echo_option_next_req) in ZTEST() argument
587 ZTEST(coap_client, test_get_no_path) in ZTEST() argument
595 ZTEST(coap_client, test_send_large_data) in ZTEST() argument
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dprotocols.rst11 coap_client
Dcoap_client.rst27 static struct coap_client;
89 static struct coap_client;
113 .. doxygengroup:: coap_client
/Zephyr-latest/samples/net/sockets/coap_client/
DCMakeLists.txt5 project(coap_client) project
/Zephyr-latest/tests/net/lib/coap_client/
DCMakeLists.txt12 target_sources(app PRIVATE ${ZEPHYR_BASE}/subsys/net/lib/coap/coap_client.c)
/Zephyr-latest/samples/net/sockets/coap_download/src/
Dmain.c22 static struct coap_client client = {0};
/Zephyr-latest/doc/releases/
Drelease-notes-2.6.rst1714 …verity CID :219573] Untrusted value as argument in samples/net/sockets/coap_client/src/coap-client…
1761 …verity CID :219658] Untrusted value as argument in samples/net/sockets/coap_client/src/coap-client…
1771 …verity CID :219673] Untrusted value as argument in samples/net/sockets/coap_client/src/coap-client…
Drelease-notes-1.14.rst217 * :github:`18961` - [Coverity CID :203912]Error handling issues in /samples/net/sockets/coap_client
427 * :github:`18961` - [Coverity CID :203912]Error handling issues in /samples/net/sockets/coap_client
1449 … [Coverity CID :190969]Uninitialized variables in /samples/net/sockets/coap_client/src/coap-client…
Drelease-notes-3.0.rst632 * Refactored ``coap_client``/``coap_server`` samples to make better use of