Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/Zephyr-latest/subsys/bluetooth/mesh/
Dgatt_cli.c81 struct bt_mesh_gatt_server *server = get_server(conn); in notify_enabled() local
90 server->gatt->link_open(conn); in notify_enabled()
98 struct bt_mesh_gatt_server *server = get_server(conn); in discover_func() local
106 LOG_DBG("[ATTRIBUTE UUID 0x%04x] handle %u", BT_UUID_16(server->discover.uuid)->val, in discover_func()
109 if (!bt_uuid_cmp(server->discover.uuid, &server->gatt->srv_uuid.uuid)) { in discover_func()
110 server->svc_start_handle = attr->handle; in discover_func()
112 server->discover.uuid = &server->gatt->data_in_uuid.uuid; in discover_func()
113 server->discover.start_handle = attr->handle + 1; in discover_func()
114 server->discover.type = BT_GATT_DISCOVER_CHARACTERISTIC; in discover_func()
116 err = bt_gatt_discover(conn, &server->discover); in discover_func()
[all …]
Dpb_gatt_cli.c38 } server; variable
55 server.srv = bt_mesh_proxy_role_setup(conn, bt_mesh_gatt_send, in pb_gatt_connected()
58 server.target = NULL; in pb_gatt_connected()
72 bt_mesh_proxy_role_cleanup(server.srv); in pb_gatt_disconnected()
74 server.srv = NULL; in pb_gatt_disconnected()
90 if (server.srv) { in bt_mesh_pb_gatt_cli_setup()
94 server.target = uuid; in bt_mesh_pb_gatt_cli_setup()
105 if (server.srv) { in bt_mesh_pb_gatt_cli_adv_recv()
115 if (server.target && in bt_mesh_pb_gatt_cli_adv_recv()
116 !memcmp(server.target, uuid, 16)) { in bt_mesh_pb_gatt_cli_adv_recv()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/test_scripts/
Drun_gatt_settings.sh30 -s="${simulation_id}" -d=0 -testid=server -RealEncryption=1 -argstest 0 6 "server"
32 -s="${simulation_id}" -d=1 -testid=server -RealEncryption=1 -argstest 1 6 "server"
34 -s="${simulation_id}" -d=2 -testid=server -RealEncryption=1 -argstest 2 6 "server"
36 -s="${simulation_id}" -d=3 -testid=server -RealEncryption=1 -argstest 3 6 "server"
38 -s="${simulation_id}" -d=4 -testid=server -RealEncryption=1 -argstest 4 6 "server"
40 -s="${simulation_id}" -d=5 -testid=server -RealEncryption=1 -argstest 5 6 "server"
42 -s="${simulation_id}" -d=6 -testid=server -RealEncryption=1 -argstest 6 6 "server"
Drun_gatt_settings_2.sh30 -s="${simulation_id}" -d=0 -testid=server -RealEncryption=1 -argstest 0 6 "server_2"
32 -s="${simulation_id}" -d=1 -testid=server -RealEncryption=1 -argstest 1 6 "server_2"
34 -s="${simulation_id}" -d=2 -testid=server -RealEncryption=1 -argstest 2 6 "server_2"
36 -s="${simulation_id}" -d=3 -testid=server -RealEncryption=1 -argstest 3 6 "server_2"
38 -s="${simulation_id}" -d=4 -testid=server -RealEncryption=1 -argstest 4 6 "server_2"
40 -s="${simulation_id}" -d=5 -testid=server -RealEncryption=1 -argstest 5 6 "server_2"
42 -s="${simulation_id}" -d=6 -testid=server -RealEncryption=1 -argstest 6 6 "server_2"
/Zephyr-latest/samples/subsys/mgmt/hawkbit/
DREADME.rst10 The Eclipse hawkBit update server provides REST resources which are consumed by the
17 Polling mode run automatically on a predefined period, probing the server
21 Manual mode requires the user to call the server probe and then, if there is
70 sudo docker run -p 8080:8080 hawkbit/hawkbit-update-server:latest \
72 --hawkbit.server.ddi.security.authentication.anonymous.enabled=true
74 This will start the hawkbit server on the host system.Opening your browser to
75 the server URL, ``<your-ip-address>:8080``, and logging into the server using
89 If you want to build it with the ability to set the hawkBit server address
114 time to the console. After it connects to the internet, in hawkbit server UI,
116 upload a firmware binary to the server, and update it using this UI.
[all …]
/Zephyr-latest/subsys/net/lib/dhcpv4/
DKconfig82 bool "Use NTP server from DHCPv4 option and save it in the net_if"
86 If this option is set, then the NTP server can be set from the
90 bool "Use DNS server from DHCPv4 option and save it in the DNS resolver default context"
94 If this option is set, then the DNS server can be set from the
100 bool "DHCPv4 server"
109 module-str = Log level for DHCPv4 server
110 module-help = Enables DHCPv4 server output debug messages
114 int "Maximum number of DHCPv4 server instances"
117 Maximum number of DHCPv4 server instances supported by the system.
118 Each network interface that wants to act as a DHCPv4 server requires
[all …]
/Zephyr-latest/samples/net/prometheus/
DREADME.rst21 Building and running the server
33 When the server is up, we can make requests to the server using HTTP/1.1.
45 The server sample contains several parameters that can be customized based on
51 clients that the server can handle simultaneously.
61 URL that the server can process.
81 ``'your_server_ip'`` with the IP address or hostname of your server, and
82 ``'your_server_port'`` with the port number where your server exposes Prometheus metrics.
84 Make sure to adjust the configuration according to your server's setup and requirements.
86 After updating the configuration, save the file and restart the Prometheus server.
87 Once restarted, Prometheus will start scraping metrics from your server according
[all …]
/Zephyr-latest/doc/services/modbus/
Dindex.rst13 Modbus communication is based on client/server model.
15 server devices. Server devices themselves are passive and must not send
20 Zephyr RTOS implementation supports both client and server roles.
28 * :zephyr:code-sample:`modbus-rtu-server` and :zephyr:code-sample:`modbus-rtu-client` samples give
29 the possibility to try out RTU server and RTU client implementation with an evaluation board.
30 * :zephyr:code-sample:`modbus-tcp-server` sample is a simple Modbus TCP server.
/Zephyr-latest/doc/connectivity/networking/
Dqemu_802154_setup.rst19 * Terminal #1 is terminal window with ``echo-server`` Zephyr sample application.
33 Step 1 - Compile and start echo-server
42 :build-dir: server
44 :goals: server
53 :build-dir: server
55 :goals: server
58 Note that the ``make`` must be used for ``server`` target if packet capture
59 option is set in command line. The ``build/server/capture.pcap`` file will contain the
/Zephyr-latest/samples/net/sockets/dumb_http_server_mt/
DREADME.rst1 .. zephyr:code-sample:: socket-dumb-http-server-mt
2 :name: Dumb HTTP server (multi-threaded)
5 Implement a simple HTTP server supporting simultaneous connections using BSD sockets.
11 skeleton HTTP server using a BSD Sockets compatible API.
12 This sample has similar functionality as :zephyr:code-sample:`socket-dumb-http-server`
15 This HTTP server example is very minimal and does not really parse an incoming
53 (``ab``) against the server::
58 a server.
/Zephyr-latest/samples/net/sockets/coap_download/
DKconfig7 int "CoAP server port"
10 CoAP server port that the application should send requests to.
16 The path (relative to server's root directory) of the CoAP resource
/Zephyr-latest/samples/net/dhcpv4_client/
DREADME.rst5 Start a DHCPv4 client to obtain an IPv4 address from a DHCPv4 server.
11 DHCPv4 server, and prints address, lease time, netmask and router
26 QEMU on a Linux host to negotiate IP address from DHCPv4 server (kea) running
31 Here's a sample server configuration file '/etc/kea/kea-dhcp4.conf'
32 used to configure the DHCPv4 server:
65 Use another terminal window to start up a DHCPv4 server on the Linux host,
81 Once DHCPv4 client address negotiation completed with server, details
106 :zephyr:board:`frdm_k64f` board to negotiate IP address from DHCPv4 server (kea) running
123 Here's a sample server configuration file '/etc/kea/kea-dhcp4.conf'
124 used to configure the DHCPv4 server:
[all …]
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Diso.c43 int bt_iso_server_register(struct bt_iso_server *server) in bt_iso_server_register() argument
45 zassert_not_null(server, "server is NULL"); in bt_iso_server_register()
46 zassert_not_null(server->accept, "server->accept is NULL"); in bt_iso_server_register()
49 iso_server = server; in bt_iso_server_register()
54 int bt_iso_server_unregister(struct bt_iso_server *server) in bt_iso_server_unregister() argument
56 zassert_not_null(server, "server is NULL"); in bt_iso_server_unregister()
57 zassert_equal_ptr(iso_server, server, "not registered"); in bt_iso_server_unregister()
/Zephyr-latest/samples/net/sockets/echo_server/
DREADME.rst1 .. zephyr:code-sample:: sockets-echo-server
2 :name: Echo server (advanced)
5 Implement a UDP/TCP server that sends received packets back to the sender.
10 The echo-server sample application for Zephyr implements a UDP/TCP server
11 that complements the echo-client sample application: the echo-server listens
27 usage scenario is to run echo-server application inside QEMU. This is
31 echo-server directory:
55 Build echo-server sample application like this:
115 Here echo-server is run in QEMU and echo-client is run in Linux host.
119 Run echo-server application in QEMU:
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsco.c36 int bt_sco_server_register(struct bt_sco_server *server) in bt_sco_server_register() argument
38 CHECKIF(!server) { in bt_sco_server_register()
39 LOG_DBG("Invalid parameter: server %p", server); in bt_sco_server_register()
47 if (!server->accept) { in bt_sco_server_register()
51 if (server->sec_level > BT_SECURITY_L3) { in bt_sco_server_register()
55 LOG_DBG("%p", server); in bt_sco_server_register()
57 sco_server = server; in bt_sco_server_register()
62 int bt_sco_server_unregister(struct bt_sco_server *server) in bt_sco_server_unregister() argument
64 CHECKIF(!server) { in bt_sco_server_unregister()
65 LOG_DBG("Invalid parameter: server %p", server); in bt_sco_server_unregister()
[all …]
/Zephyr-latest/samples/net/sockets/websocket_client/
DREADME.rst5 Implement a Websocket client that connects to a Websocket server.
11 or HTTPS handshake request to HTTP server, then start to send data and wait for
12 the responses from the Websocket server.
57 Running websocket-server in Linux Host
61 and run the ``zephyr-websocket-server.py`` (from net-tools) on a Linux host.
71 $ ./zephyr-websocket-server.py
89 Note that ``zephyr-websocket-server.py`` or ``websocketd`` must be running in
93 Current version of ``zephyr-websocket-server.py`` found in
/Zephyr-latest/samples/net/sockets/http_server/
DREADME.rst1 .. zephyr:code-sample:: sockets-http-server
11 This library provides high-level functions to simplify and abstract server implementation.
12 The server supports the HTTP/1.1 protocol which can also be upgraded to HTTP/2,
20 Building and running the server
43 When the server is up, we can make requests to the server using either HTTP/1.1 or
60 ``CONFIG_NET_SAMPLE_HTTPS_USE_ALPN``. Additionally the server certificate must be signed
69 Generate a server certificate signed by this CA certificate:
75 And then build the application with the newly generated server certificate and key:
90 The server sample contains several parameters that can be customized based on
96 clients that the server can handle simultaneously.
[all …]
/Zephyr-latest/samples/modules/thrift/hello/server/src/
Dmain.cpp28 using namespace ::apache::thrift::server;
79 socketFactory->server(true); in main()
117 TSimpleServer server(processor, serverTransport, transportFactory, protocolFactory); in main() local
120 server.serve(); in main()
/Zephyr-latest/tests/modules/thrift/ThriftTest/src/
Dcontext.hpp18 using namespace apache::thrift::server;
29 std::unique_ptr<TServer> server; member
Dmain.cpp43 context.server->serve(); in server_func()
98 socketFactory->server(true); in setup_server()
112 TSimpleServer server(processor, serverTransport, transportFactory, protocolFactory); in setup_server() local
140 context.server = setup_server(); in thrift_test_before()
157 context.server->stop(); in thrift_test_after()
167 context.server.reset(); in thrift_test_after()
/Zephyr-latest/modules/thrift/src/thrift/server/
DTConnectedClient.h38 namespace server
64 const std::shared_ptr<apache::thrift::server::TServerEventHandler> &eventHandler,
107 std::shared_ptr<apache::thrift::server::TServerEventHandler> eventHandler_;
/Zephyr-latest/subsys/mgmt/hawkbit/
DKconfig34 Set the interval that the hawkbit update server will be polled.
36 by the value configured in the settings of the hawkBit server.
53 string "Tenant name for the hawkbit server"
56 Configure the tenant name for the hawkbit server.
59 string "User address for the hawkbit server"
61 Configure the hawkbit server address.
64 int "Port number for the hawkbit server"
113 json strings, that are sent to the hawkBit server. It might
131 bool "Use TLS for hawkBit server connection"
145 Use static certificate tag for TLS connection to the hawkBit server.
[all …]
/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
84 This application can be run on a Linux host, with either the server or the
94 $ make -j -C samples/modules/thrift/hello/server/
107 The same applies for the server. Only the client and the server with the
121 Build the Zephyr version of the ``hello/server`` sample application like this:
124 :zephyr-app: samples/modules/thrift/hello/server
137 :zephyr-app: samples/modules/thrift/hello/server
153 You should observe the following in the original ``hello/server`` terminal:
172 You should observe the following in the original ``hello/server`` terminal.
[all …]
/Zephyr-latest/samples/net/tftp_client/
DREADME.rst5 Use the TFTP client library to get/put files from/to a TFTP server.
14 and establishes a connection to a TFTP server on standard port 69.
56 Download and run a TFTP server (like TFTPd), then create file1.bin (with data) and newfile.bin.
58 Please note that default IP server address is 192.0.2.2 and default port is 69.
59 To specify an IP server address and/or port, change these configurations in ``prj.conf``:
66 To connect to server using hostname, enable DNS resolver by changing these two
72 CONFIG_TFTP_APP_SERVER="my-tftp-server.org"
77 This sample can be run on :ref:`native_sim<native_sim>` while running a TFTP server on the host
/Zephyr-latest/samples/net/cloud/mqtt_azure/
DKconfig29 string "Azure cloud server address"
31 Azure cloud server address.
34 int "Azure cloud server port number"
37 Azure cloud server port number.

12345678910>>...13