Skip to content

Commit 1b9c394

Browse files
trantanennordicjm
authored andcommitted
samples: cellular: nrf_cloud_multi_service: More modem RX shared memory
The sample reads certificates while checking their validity to give better error messages. PR #17189 optimized modem shared memory to 4kB for both TX and RX. This is too small for RX with several certificates. Issues seen with three Root CAs causing modem to eventually crash as there is not enough RPC memory for the reponse. So increasing CONFIG_NRF_MODEM_LIB_SHMEM_RX_SIZE by letting it use default value of ~8kB. Jira: TNSW-64434 Signed-off-by: Tommi Rantanen <[email protected]>
1 parent 5e74b5b commit 1b9c394

File tree

1 file changed

+2
-2
lines changed
  • samples/cellular/nrf_cloud_multi_service

1 file changed

+2
-2
lines changed

samples/cellular/nrf_cloud_multi_service/prj.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ CONFIG_AT_HOST_STACK_SIZE=2048
4040
# Extended memory heap size needed both for PGPS and for encoding JSON-based nRF Cloud Device Messages.
4141
CONFIG_HEAP_MEM_POOL_SIZE=19000
4242
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
43-
# The default modem shared memory buffers are significantly larger than required for this sample
43+
# The default modem shared memory buffer for TX is significantly larger than required.
44+
# RX buffer has to be larger because the sample reads certificates so using default value.
4445
CONFIG_NRF_MODEM_LIB_SHMEM_TX_SIZE=4096
45-
CONFIG_NRF_MODEM_LIB_SHMEM_RX_SIZE=4096
4646

4747
# Enable Networking and Connection Manager.
4848
CONFIG_NETWORKING=y

0 commit comments

Comments
 (0)