Skip to content

Conversation

nordicjm
Copy link
Contributor

@nordicjm nordicjm commented Oct 14, 2025

Includes sample update showing how to use feature

Compliance failure is expected, dummy certificates are included in the sample (these are copied directly from the echo server sample)

Fixes #91754

@SynchronicIT please test

@nordicjm nordicjm requested review from de-nordic and jukkar October 14, 2025 08:40
Adds support for using DTLS for the transport

Signed-off-by: Jamie McCrae <[email protected]>
Adds a sample which demonstrates how to use DTLS over UDP. This
copies the certificate files from the echo server sample to use as
dummy certificates

Signed-off-by: Jamie McCrae <[email protected]>
Copy link

Copy link
Contributor

@rlubos rlubos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DTLS socket setup looks fine.

@@ -0,0 +1,38 @@
# Enable the UDP DTLS MCUmgr transport.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this file be called overlay-udp-dtls.conf to follow the nomenclature in the sample (not sure if there's a strict rule about that though)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overlay refers to dts overlay files, not Kconfig fragments, but also the wrong overlay-* prefix was removed recently from those files: https://github.com/zephyrproject-rtos/zephyr/tree/6abb7ff76c8609eb1f5dbedb0972855eca26778b/samples/subsys/mgmt/mcumgr/smp_svr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mgmt: mcumgr: MCUMGR transport UDP with DTLS or TCP with TLS

4 participants