Skip to content

Commit 5dc6957

Browse files
simonduqnordicjm
authored andcommitted
samples: net: http_server: Update for documentation for nRF71 Series
Various fixes to the Download sample's README file for the nRF71 Series and generally Wi-Fi. Signed-off-by: Simon Duquennoy <simon.duquennoy@nordicsemi.no>
1 parent d8635d2 commit 5dc6957

1 file changed

Lines changed: 22 additions & 9 deletions

File tree

samples/net/http_server/README.rst

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
.. ncs-sample::
44
:title: HTTP Server
55

6-
The HTTP Server sample demonstrates how to host an HTTP server on a Nordic Semiconductor device that is connected to the Internet through LTE or Wi-Fi®.
6+
The HTTP Server sample demonstrates how to host an HTTP server on a Nordic Semiconductor device that is connected to the Internet through LTE using an nRF91 Series device, or Wi-Fi® using an nRF71 or nRF70 Series device.
77

88
.. |wifi| replace:: Wi-Fi
99

@@ -188,16 +188,26 @@ CONFIG_HTTP_SERVER_SAMPLE_RECEIVE_BUFFER_SIZE
188188
Configuration files
189189
===================
190190

191-
The sample includes pre-configured configuration files for the development kits that are supported:
191+
The sample provides predefined configuration files for the following development kits:
192192

193-
* :file:`prj.conf` - For all devices.
194-
* :file:`boards/nrf7002dk_nrf5340_cpuapp_ns.conf` - For the nRF7002 DK.
195-
* :file:`boards/nrf9151dk_nrf9151_ns.conf` - For the nRF9151 DK.
196-
* :file:`boards/nrf9161dk_nrf9161_ns.conf` - For the nRF9161 DK.
197-
* :file:`boards/nrf9160dk_nrf9160_ns.conf` - For the nRF9160 DK.
198-
* :file:`boards/nrf7120dk_nrf7120_cpuapp_ns.conf` - For the nRF7120 DK.
193+
* :file:`prj.conf` - General configuration file for all devices.
194+
* :file:`boards/nrf7002dk_nrf5340_cpuapp_ns.conf` - Board-specific configuration for the nRF7002 DK.
195+
* :file:`boards/nrf9151dk_nrf9151_ns.conf` - Configuration file for the nRF9151 DK.
196+
* :file:`boards/nrf9161dk_nrf9161_ns.conf` - Configuration file for the nRF9161 DK.
197+
* :file:`boards/nrf9160dk_nrf9160_ns.conf` - Configuration file for the nRF9160 DK.
198+
* :file:`boards/nrf7120dk_nrf7120_cpuapp_ns.conf` - Configuration file for the nRF7120 DK.
199+
* :file:`wifi.conf` - Extra configuration file for Wi-Fi networking, common to the nRF71 Series and nRF70 Series. Must be added explicitly for Wi-Fi builds.
200+
* :file:`wifi-tls.conf` - Additional extra configuration file that enables TLS support (server authentication, with optional mutual authentication) for Wi-Fi builds.
199201

200-
Files that are located under the :file:`/boards` folder are automatically merged with the :file:`prj.conf` file when you build for the corresponding target.
202+
Board files under :file:`boards/` are merged automatically for the selected target.
203+
The :file:`wifi.conf` and :file:`wifi-tls.conf` extra configuration files are not board-specific and must be passed explicitly with ``http_server_EXTRA_CONF_FILE``.
204+
205+
To add a specific extra configuration file to the build, add the ``-- -Dhttp_server_EXTRA_CONF_FILE=<extra_conf_file>`` flag to your west build command.
206+
Multiple extra configuration files can be combined by separating them with a semicolon, for example:
207+
208+
.. code-block:: console
209+
210+
west build -p -b nrf7120dk/nrf7120/cpuapp --sysbuild -- -Dhttp_server_EXTRA_CONF_FILE="wifi.conf;wifi-tls.conf"
201211
202212
Building and running
203213
********************
@@ -331,6 +341,9 @@ Modem traces can be enabled by providing a snippet with the west build command a
331341
332342
west build -p -b nrf9161dk/nrf9161/ns -- -Dhttp_server_SNIPPET="nrf91-modem-trace-uart"
333343
344+
If you have issues with connectivity on nRF71 Series or nRF70 Series devices, see the :ref:`wifi_monitor_sample` sample documentation to learn how to capture and analyze Wi-Fi traffic in order to debug connectivity issues.
345+
Also verify that the Wi-Fi credentials configured for your device match your access point, as described in the `Configuration options`_ section on this page.
346+
334347
Dependencies
335348
************
336349

0 commit comments

Comments
 (0)