This example is based on the LWM2M sample that comes with the Contiki-ng distribution. It is mainly tested on a T1 SensorTag with a CC2650 wireless MCU LaunchPad acting as a border router. Further, DTLS is enabled by default using the included 'project-conf.h' file. For more information (including setup), please visit the official LWM2M documentation page on the Contiki-ng project.
This is an OMA LWM2M example implementing IPSO Objects. It can connect to a Leshan server out-of-the-box. Important configuration parameters:
LWM2M_SERVER_ADDRESS
: the address of the server to register to (or bootstrap from)REGISTER_WITH_LWM2M_BOOTSTRAP_SERVER
: set to bootstrap viaLWM2M_SERVER_ADDRESS
and then obtain the registration server address
A tutorial for setting up this example is provided on the wiki.