Skip to content

Commit 04d0a18

Browse files
maxd-nordicnordicjm
authored andcommitted
samples: cellular: fix MSS overlay for nRF700x Wi-Fi CoAP
Fix configuration for nRF Cloud Multi Service sample using CoAP backend on wi-fi configuration. Signed-off-by: Maximilian Deubel <[email protected]>
1 parent 48b683e commit 04d0a18

File tree

5 files changed

+29
-8
lines changed

5 files changed

+29
-8
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ Cellular samples
591591
* An issue with a very small :kconfig:option:`CONFIG_COAP_EXTENDED_OPTIONS_LEN_VALUE` Kconfig value in the :file:`overlay-coap_nrf_provisioning.conf` file.
592592
* Slow Wi-Fi connectivity startup by selecting ``TFM_SFN`` instead of ``TFM_IPC``.
593593
* The size of TLS credentials buffer for Wi-Fi connectivity to allow installing both AWS and CoAP CA certificates.
594+
* Build issues with Wi-Fi configuration using CoAP.
594595

595596
* :ref:`lte_sensor_gateway` sample:
596597

samples/cellular/nrf_cloud_multi_service/README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -997,14 +997,14 @@ Once your device has been flashed with this sample, you can add a credential by
997997
.. parsed-literal::
998998
:class: highlight
999999
1000-
wifi_cred add -s *NetworkSSID* -k 1 -p *NetworkPassword*
1000+
wifi cred add *NetworkSSID* WPA2-PSK *NetworkPassword*
10011001
10021002
Where *NetworkSSID* is replaced with the SSID of the Wi-Fi access point you want your device to connect to, and *NetworkPassword* is its password.
1003-
Then either reboot the device or use the ``wifi_cred auto_connect`` command to manually trigger a connection attempt.
1003+
Then either reboot the device or use the ``wifi cred auto_connect`` command to manually trigger a connection attempt.
10041004

10051005
From now on, these credentials will automatically be used when the configured network is reachable.
10061006

1007-
See the :ref:`Wi-Fi shell sample documentation <wifi_shell_sample>` for more details on the ``wifi_cred`` command.
1007+
See the :ref:`Wi-Fi shell sample documentation <wifi_shell_sample>` for more details on the ``wifi`` commands.
10081008

10091009
Building with nRF Cloud logging support
10101010
=======================================

samples/cellular/nrf_cloud_multi_service/overlay_nrf700x_wifi_coap_no_lte.conf

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
4848
CONFIG_TFM_IPC=n
4949
CONFIG_TFM_SFN=y
5050
CONFIG_TFM_CRYPTO_CONC_OPER_NUM=4
51-
CONFIG_TFM_CRYPTO_ASYM_SIGN_MODULE_ENABLED=n
51+
CONFIG_TFM_CRYPTO_ASYM_SIGN_MODULE_ENABLED=y
5252

5353
## Configure TFM partitions
5454
CONFIG_PM_PARTITION_SIZE_TFM_INTERNAL_TRUSTED_STORAGE=0x2000
@@ -61,6 +61,7 @@ CONFIG_PM_PARTITION_SIZE_TFM=0x24000
6161

6262
## Configure credentials shells and dependencies
6363
CONFIG_SHELL=y
64+
CONFIG_NET_L2_WIFI_SHELL=y
6465
CONFIG_WIFI_CREDENTIALS_SHELL=y
6566
CONFIG_TLS_CREDENTIALS_SHELL=y
6667
CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE=y
@@ -177,7 +178,7 @@ CONFIG_NET_TX_STACK_SIZE=2048
177178
CONFIG_NET_RX_STACK_SIZE=2048
178179
CONFIG_ZVFS_OPEN_MAX=16
179180
CONFIG_NET_SOCKETS_POLL_MAX=8
180-
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4000
181+
CONFIG_NET_MGMT_EVENT_STACK_SIZE=8000
181182

182183
# nRF Cloud: CoAP
183184
CONFIG_NRF_CLOUD_MQTT=n
@@ -186,8 +187,6 @@ CONFIG_NRF_CLOUD_ALERT=y
186187
CONFIG_NRF_CLOUD_LOCATION=n
187188
CONFIG_NRF_CLOUD_JWT_SOURCE_CUSTOM=y
188189
CONFIG_NRF_CLOUD_CLIENT_ID_SRC_COMPILE_TIME=y
189-
# User must set their compile time client ID
190-
CONFIG_NRF_CLOUD_CLIENT_ID=""
191190

192191
# General config
193192
CONFIG_FPU=y
@@ -240,3 +239,10 @@ CONFIG_AT_MONITOR=n
240239

241240
# Disabling to prevent IPv6 error logs
242241
CONFIG_NET_IPV6=n
242+
243+
# User must set their compile time client ID
244+
CONFIG_NRF_CLOUD_CLIENT_ID="my-device"
245+
246+
# Enable nordic security backend and PSA APIs
247+
CONFIG_NRF_SECURITY=y
248+
CONFIG_MBEDTLS_PSA_CRYPTO_C=y

samples/cellular/nrf_cloud_multi_service/overlay_nrf700x_wifi_mqtt_no_lte.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ CONFIG_PM_PARTITION_SIZE_TFM=0x24000
6060

6161
## Configure credentials shells and dependencies
6262
CONFIG_SHELL=y
63+
CONFIG_NET_L2_WIFI_SHELL=y
6364
CONFIG_WIFI_CREDENTIALS_SHELL=y
6465
CONFIG_TLS_CREDENTIALS_SHELL=y
6566
CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE=y

samples/cellular/nrf_cloud_multi_service/sample.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ tests:
125125
- ci_build
126126
- sysbuild
127127
- ci_samples_cellular
128-
sample.cellular.nrf7002dk_wifi.conn:
128+
sample.cellular.nrf7002dk_wifi.conn.mqtt:
129129
sysbuild: true
130130
build_only: true
131131
integration_platforms:
@@ -138,3 +138,16 @@ tests:
138138
- ci_build
139139
- sysbuild
140140
- ci_samples_cellular
141+
sample.cellular.nrf7002dk_wifi.conn.coap:
142+
sysbuild: true
143+
build_only: true
144+
integration_platforms:
145+
- nrf7002dk/nrf5340/cpuapp/ns
146+
platform_allow: nrf7002dk/nrf5340/cpuapp/ns
147+
extra_args:
148+
- EXTRA_CONF_FILE="overlay_nrf700x_wifi_coap_no_lte.conf"
149+
- SB_CONF_FILE="sysbuild_nrf700x-wifi-conn.conf"
150+
tags:
151+
- ci_build
152+
- sysbuild
153+
- ci_samples_cellular

0 commit comments

Comments
 (0)