I’ve been working on updating our codebase from NCS 2.4.0 to 2.6.4, and I’m encountering some challenges with the mbedtls configuration. We’re using the nRF52840 and Zephyr’s CoAP library over DTLS with Openthread as the network layer. During the build process, I’m getting warnings about implicit declarations of certain mbedtls functions, specifically mbedtls_ssl_get_session. This seems to be related to the configuration of MBEDTLS_SSL_CLI_C, which isn’t being selected as expected.
After some digging, I noticed that MBEDTLS_SSL_CLI_C depends on MBEDTLS_SSL_TLS_C, which in turn isn’t selected because of some dependencies not being met. I tried enabling MBEDTLS_SSL_TLS_C manually, but it didn’t resolve the issue. I’m also looking into how WPA_SUPP_CRYPTO_PSA might be affecting this, though it doesn’t seem directly related.
I’ve compared this with our working configuration from 2.4.0 and noticed some differences in how mbedtls is configured. I’m trying to follow the migration guides, but it’s a bit tricky to navigate the changes in security configurations between versions.
Has anyone else encountered similar issues when updating to NCS 2.6.4? Any insights or tips on properly configuring mbedtls for DTLS with Openthread would be greatly appreciated! I’m really looking to understand how to enable the necessary SSL/TLS functionalities without running into these configuration headaches.