-
Notifications
You must be signed in to change notification settings - Fork 10
LWM2M with DTLS
Joakim Eriksson edited this page Sep 29, 2017
·
3 revisions
In the examples/oma-lwm2m/standalone directory, built the lwm2m-example by:
>make TRANSPORT=ipv4 MAKE_WITH_DTLS=1
This will enable DTLS by linking with the tiny-dtls library.
Setting the identity and the keys is done in the transport implementation. For example in the coap-ipv4.c file:
#define PSK_DEFAULT_IDENTITY "Client_identity"
#define PSK_DEFAULT_KEY "secretPSK"
These are the default values.