Skip to content

Commit 2216992

Browse files
rlubosnashif
authored andcommitted
samples: net: lwm2m_client: Use cert-based DTLS overlay in twister
Make sure that certificate-based DTLS config is built by twister and also mention it in the README file. Signed-off-by: Robert Lubos <[email protected]>
1 parent d9cc784 commit 2216992

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

samples/net/lwm2m_client/README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ samples/net/lwm2m_client directory:
4949
* - :file:`overlay-dtls.conf`
5050
- This overlay config can be added for DTLS support via MBEDTLS.
5151

52+
* - :file:`overlay-dtls-cert.conf`
53+
- This overlay config can be added for DTLS with certificates support via MBEDTLS.
54+
5255
* - :file:`overlay-queue.conf`
5356
- This overlay config can be added to enable LWM2M Queue Mode support.
5457

samples/net/lwm2m_client/sample.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,18 @@ tests:
5252
tags:
5353
- net
5454
- lwm2m
55+
sample.net.lwm2m_client.dtls_cert:
56+
harness: net
57+
depends_on: netif
58+
extra_args: EXTRA_CONF_FILE=overlay-dtls-cert.conf
59+
platform_allow:
60+
- qemu_x86
61+
- native_sim
62+
integration_platforms:
63+
- qemu_x86
64+
tags:
65+
- net
66+
- lwm2m
5567
sample.net.lwm2m_client.queue_mode:
5668
harness: net
5769
depends_on: netif

0 commit comments

Comments
 (0)