Home
last modified time | relevance | path

Searched refs:client (Results 76 – 100 of 326) sorted by relevance

12345678910>>...14

/Zephyr-latest/samples/net/sockets/websocket_client/
DREADME.rst1 .. zephyr:code-sample:: sockets-websocket-client
5 Implement a Websocket client that connects to a Websocket server.
10 This sample application implements a Websocket client that will do an HTTP
28 Build websocket-client sample application like this:
60 You can run this ``websocket-client`` sample application in QEMU
79 Run ``websocket-client`` application in QEMU:
90 the Linux host terminal window before you start the ``websocket-client``
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt_client/
DCMakeLists.txt7 # Image management client group public API is exported by MCUmgr interface API,
8 # when Image Management client is enabled.
DKconfig5 # of MCUmgr client subsystem and provides Kconfig options to configure
15 bool "MCUmgr client handlers for image management"
19 Enables MCUmgr client handlers for image management.
/Zephyr-latest/samples/net/sockets/http_server/src/
Dws.c119 int client; in ws_echo_handler() local
122 client = cfg->sock; in ws_echo_handler()
124 cfg->fds[0].fd = client; in ws_echo_handler()
144 LOG_DBG("Client #%d has disconnected", client); in ws_echo_handler()
148 received = recv(client, in ws_echo_handler()
171 (recv(client, cfg->recv_buffer + offset, in ws_echo_handler()
176 ret = sendall(client, cfg->recv_buffer, offset); in ws_echo_handler()
198 (void)websocket_unregister(client); in ws_echo_handler()
/Zephyr-latest/subsys/net/lib/websocket/
DKconfig5 bool "Websocket client support [EXPERIMENTAL]"
15 Enable Websocket client library.
35 module-help = Enable debug message of Websocket client library.
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/
Dgatt.rst6 To perform service discovery on the client side, use the :code:`gatt discover` command. This should
10 command. When done, you should see the newly added services on the client side when running the
13 You can now subscribe to those new services on the client side. Here is an example on how to
21 The server can now notify the client with the command :code:`gatt notify`.
/Zephyr-latest/samples/net/lwm2m_client/
DREADME.rst1 .. zephyr:code-sample:: lwm2m-client
2 :name: LwM2M client
5 Implement a LwM2M client that connects to a LwM2M server.
14 This LwM2M client sample application for Zephyr implements the LwM2M library
58 Build the lwm2m-client sample application like this:
81 Build the lwm2m-client sample application for QEMU like this:
91 an IPv6 client endpoint "qemu_x86".
102 To build the lwm2m-client sample for QEMU with DTLS support do the following:
116 #. Click on "Add new client security configuration"
142 Configure the lwm2m-client sample in the Demo Bootstrap Server:
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dlwm2m.rst21 One of the key differences between LwM2M and CoAP is that an LwM2M client
23 REST API to manage various interfaces with the client.
225 operation to the client.
231 client sample in :zephyr_file:`samples/net/lwm2m_client`. For more information
232 about the provided sample see: :zephyr:code-sample:`lwm2m-client`. The sample can be
238 * RD client which performs BOOTSTRAP and REGISTRATION functions
252 To use the LwM2M library, start by creating an LwM2M client context
257 /* LwM2M client context */
258 static struct lwm2m_ctx client;
273 The LwM2M RD client can send events back to the sample. To receive those
[all …]
/Zephyr-latest/samples/net/sockets/coap_client/
DREADME.rst1 .. zephyr:code-sample:: coap-client
2 :name: CoAP client
5 Use the CoAP library to implement a client that fetches a resource.
10 This sample is a simple CoAP client showing how to retrieve information
/Zephyr-latest/samples/net/sockets/echo_server/src/
Dtcp.c144 int client; in handle_data() local
147 client = data->tcp.accepted[slot].sock; in handle_data()
150 received = recv(client, in handle_data()
175 (recv(client, in handle_data()
182 ret = sendall(client, in handle_data()
207 (void)close(client); in handle_data()
227 int client; in process_tcp() local
235 client = accept(data->tcp.sock, (struct sockaddr *)&client_addr, in process_tcp()
237 if (client < 0) { in process_tcp()
245 close(client); in process_tcp()
[all …]
/Zephyr-latest/boards/beagle/beagleconnect_freedom/
Dboard_antenna.c33 static void board_cc13xx_rf_callback(RF_Handle client, RF_GlobalEvent events, void *arg);
73 static void board_cc13xx_rf_callback(RF_Handle client, RF_GlobalEvent events, void *arg) in board_cc13xx_rf_callback() argument
87 (RF_TxPowerTable_PAType)RF_getTxPower(client).paType; in board_cc13xx_rf_callback()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt_client/
DKconfig5 # of MCUmgr client subsystem and provides Kconfig options to configure
15 bool "MCUmgr client request and response handlers for OS management"
19 Enables MCUmgr client request and response handlers for OS management.
/Zephyr-latest/include/zephyr/net/
Dtftp.h156 int tftp_get(struct tftpc *client,
176 int tftp_put(struct tftpc *client,
/Zephyr-latest/samples/net/sockets/http_client/
DKconfig1 # Private config options for http-client sample app
6 mainmenu "Networking http-client sample application"
/Zephyr-latest/scripts/footprint/
Dupload_data.py29 client = InfluxDBClient.from_dsn(influx_dsn)
30 client.create_database('footprint_tracking')
47 client.write_points(footprint_data, time_precision='s', database='footprint_tracking')
103 client = InfluxDBClient.from_dsn(influx_dsn)
104 result = client.query(f"select * from kernel where commit = '{hash}';")
/Zephyr-latest/samples/subsys/modbus/rtu_client/
DREADME.rst1 .. zephyr:code-sample:: modbus-rtu-client
2 :name: Modbus RTU client
10 This is a simple application demonstrating a Modbus RTU client implementation
19 RTU client example is running on an evaluation board and communicates
40 The following commands build and flash RTU client sample.
/Zephyr-latest/boards/ti/common/
Dboard_antenna.c34 static void board_cc13xx_rf_callback(RF_Handle client, RF_GlobalEvent events, void *arg);
74 static void board_cc13xx_rf_callback(RF_Handle client, RF_GlobalEvent events, void *arg) in board_cc13xx_rf_callback() argument
88 (RF_TxPowerTable_PAType)RF_getTxPower(client).paType; in board_cc13xx_rf_callback()
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt_internal.h155 void event_notify(struct mqtt_client *client, const struct mqtt_evt *evt);
163 int mqtt_handle_rx(struct mqtt_client *client);
179 int connect_request_encode(const struct mqtt_client *client,
315 int connect_ack_decode(const struct mqtt_client *client, struct buf_ctx *buf,
/Zephyr-latest/samples/net/sockets/echo_server/
DREADME.rst11 that complements the echo-client sample application: the echo-server listens
12 for incoming IPv4 or IPv6 packets (sent by the echo client) and simply sends
108 :zephyr:code-sample:`sockets-echo-client` enable establishing a secure connection
111 Running echo-client in Linux Host
115 Here echo-server is run in QEMU and echo-client is run in Linux host.
132 $ sudo ./echo-client -i tap0 2001:db8::1
135 echo-client application in host terminal window.
141 See the :zephyr:code-sample:`sockets-echo-client` sample documentation for an alternate
142 way of running, with the echo-server on the Linux host and the echo-client
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_transport_udp.c148 static int tp_udp_sendto(struct mqtt_sn_client *client, void *buf, size_t sz, const void *dest_addr, in tp_udp_sendto() argument
151 struct mqtt_sn_transport_udp *udp = UDP_TRANSPORT(client->transport); in tp_udp_sendto()
190 static ssize_t tp_udp_recvfrom(struct mqtt_sn_client *client, void *buffer, size_t length, in tp_udp_recvfrom() argument
193 struct mqtt_sn_transport_udp *udp = UDP_TRANSPORT(client->transport); in tp_udp_recvfrom()
218 static int tp_udp_poll(struct mqtt_sn_client *client) in tp_udp_poll() argument
220 struct mqtt_sn_transport_udp *udp = UDP_TRANSPORT(client->transport); in tp_udp_poll()
/Zephyr-latest/tests/kernel/msgq/msgq_usage/src/
Dmain.c100 struct k_msgq *client; in service1_entry() local
115 client = (struct k_msgq *)service_data[1]; in service1_entry()
117 k_msgq_put(client, service_data, K_NO_WAIT); in service1_entry()
131 struct k_msgq *client; in service2_entry() local
146 client = (struct k_msgq *)service_data[1]; in service2_entry()
148 k_msgq_put(client, service_data, K_NO_WAIT); in service2_entry()
/Zephyr-latest/subsys/net/lib/prometheus/
DKconfig9 Enable Prometheus client library
23 module-help = Enable debug message of PROMETHEUS client library.
/Zephyr-latest/samples/modules/thrift/hello/
DREADME.rst4 Implement a simple Apache Thrift client-server application.
45 This sample application includes a client and server implementing the RPC
85 client in the QEMU environment, and the peer is built and run natively on
93 $ make -j -C samples/modules/thrift/hello/client/
96 Under ``client/``, 3 executables will be generated, and components
107 The same applies for the server. Only the client and the server with the
165 In the client terminal, run ``hello_client.py`` app under the host OS (not
199 Then, in annother terminal, run the corresponding ``hello/client`` sample:
202 :zephyr-app: samples/modules/thrift/hello/client
/Zephyr-latest/samples/net/sockets/coap_download/src/
Dmain.c22 static struct coap_client client = {0}; variable
76 ret = coap_client_req(&client, sockfd, sa, &request, NULL); in do_coap_download()
92 ret = coap_client_init(&client, NULL); in main()
/Zephyr-latest/samples/net/sockets/sntp_client/
DREADME.rst1 .. zephyr:code-sample:: sntp-client
2 :name: SNTP client
10 This sample is a simple SNTP client showing how to retrieve the current

12345678910>>...14