Lines Matching +full:ieee802154 +full:- +full:supported

1 .. zephyr:code-sample:: sockets-http-server
3 :relevant-api: http_service http_server tls_credentials
8 --------
11 This library provides high-level functions to simplify and abstract server implementation.
16 -----------
18 …tps://docs.zephyrproject.org/latest/connectivity/networking/qemu_setup.html#networking-with-qemu>`_
21 -------------------------------
26 .. list-table::
28 * - :zephyr_file:`prj.conf <samples/net/sockets/http_server/prj.conf>`
29 - This is the standard default config.
31 …* - :zephyr_file:`ieee802154-overlay.conf <samples/net/sockets/http_server/ieee802154-overlay.conf…
32 - This overlay config can be added for IEEE 802.15.4 support.
34 * - :zephyr_file:`overlay-netusb.conf <samples/net/sockets/http_server/overlay-netusb.conf>`
35 - This overlay config can be added for connecting via network USB.
39 .. code-block:: bash
41 $ west build -p auto -b <board_to_use> -t run samples/net/sockets/http_server
48 - Using a browser: ``http://192.0.2.1/``
49 - Using curl: ``curl -v --compressed http://192.0.2.1/``
50 - Using ab (Apache Bench): ``ab -n10 http://192.0.2.1/``
54 - Using nghttp client: ``nghttp -v --no-dep http://192.0.2.1/``
55 - Using curl: ``curl --http2 -v --compressed http://192.0.2.1/``
56 - Using h2load: ``h2load -n10 http://192.0.2.1/``
65 .. code-block:: bash
67 $ west build -b <board_to_use> -t sample_ca_cert samples/net/sockets/http_server
71 .. code-block:: bash
73 $ west build -t sample_server_cert samples/net/sockets/http_server
77 .. code-block:: bash
83 ``network.http.http2.enforce-tls-profile`` to false, since it seems that using a CA
88 ---------------------
93 - ``CONFIG_NET_SAMPLE_HTTP_SERVER_SERVICE_PORT``: Configures the service port.
95 - ``CONFIG_HTTP_SERVER_MAX_CLIENTS``: Defines the maximum number of HTTP/2
98 - ``CONFIG_HTTP_SERVER_MAX_STREAMS``: Specifies the maximum number of HTTP/2
101 - ``CONFIG_HTTP_SERVER_CLIENT_BUFFER_SIZE``: Defines the buffer size allocated
103 supported.
105 - ``CONFIG_HTTP_SERVER_MAX_URL_LENGTH``: Specifies the maximum length of an HTTP
108 - ``CONFIG_NET_SAMPLE_WEBSOCKET_SERVICE``: Enables Websocket service endpoint.
112 To customize these options, we can run ``west build -t menuconfig``, which provides
113 us with an interactive configuration interface. Then we could navigate from the top-level
114 menu to: ``-> Subsystems and OS Services -> Networking -> Network Protocols``.
117 ----------------------
122 .. code-block:: python
141 --------------------
149 .. code-block:: console
151 $ sudo perf stat -p <pid_of_server>
163 .. code-block:: console
165 $ sudo perf record -g -p <pid_of_server> -o perf.data
170 .. code-block:: console
172 $ sudo perf report -i perf.data
176 identifying the most expensive code-paths and inspect where our application is
182 .. code-block:: console
184 $ sudo perf script | ~/FlameGraph/stackcollapse-perf.pl > out.perf-folded
188 .. code-block:: console
190 $ ~/FlameGraph/flamegraph.pl out.perf-folded > flamegraph.svg