LwM2M client configurations. More...

Detailed Description

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONFIG_LWM2M_STANDARD_PORT   "5683"
 CoAP default port of the LwM2M server.
 
#define CONFIG_LWM2M_DTLS_PORT   "5684"
 CoAPS default port of the LwM2M server.
 
#define CONFIG_LWM2M_BSSERVER_PORT   "5685"
 CoAP default port of the LwM2M bootstrap server.
 
#define CONFIG_LWM2M_LOCAL_PORT   "5683"
 Default port for the local LwM2M instance.
 
#define CONFIG_LWM2M_DEVICE_NAME   "testRIOTDevice"
 Device name used to register at the LwM2M server.
 
#define CONFIG_LWM2M_DEVICE_TTL   300
 Lifetime of the device object on the LwM2M server.
 
#define CONFIG_LWM2M_SERVER_URI   "coap://[fd00:dead:beef::1]"
 LwM2M server URI to register/bootstrap with. More...
 
#define CONFIG_LWM2M_SERVER_ID   10
 Numeric ID of CONFIG_LWM2M_SERVER_URI.
 
#define CONFIG_LWM2M_ALT_PATH   NULL
 Alternate path to place LwM2M resources.
 
#define CONFIG_LWM2M_BOOTSTRAP
 Define to 1 to specify that CONFIG_LWM2M_SERVER_URI is a bootstrap server. More...
 
#define CONFIG_LWM2M_DEVICE_MANUFACTURER   "A RIOT maker"
 Device object manufacturer string.
 
#define CONFIG_LWM2M_DEVICE_MODEL   RIOT_BOARD
 Device object model. More...
 
#define CONFIG_LWM2M_DEVICE_SERIAL   "undefined"
 Device object serial number.
 
#define CONFIG_LWM2M_DEVICE_FW_VERSION   RIOT_VERSION
 Device object firmware version. More...
 
#define CONFIG_LWM2M_DEVICE_TYPE   "RIOT device"
 Device object device type.
 
#define CONFIG_LWM2M_DEVICE_HW_VERSION   RIOT_BOARD
 Device object hardware version. More...
 
#define CONFIG_LWM2M_DEVICE_SW_VERSION   RIOT_VERSION
 Device object software version. More...
 
#define CONFIG_LWM2M_DEVICE_BINDINGS   "U"
 Device binding and queue mode.
 

Device bindings and queue modes

This options are meant to be set either via Kconfig or CFLAGS:

CFLAGS += -DCONFIG_LWM2M_DEVICE_BINDING_UQ
Note
Only one option should be selected. If more than one is defined the priority follows this order. By default CONFIG_LWM2M_DEVICE_BINDING_U is assumed.
#define CONFIG_LWM2M_DEVICE_BINDING_U
 UDP binding.
 
#define CONFIG_LWM2M_DEVICE_BINDING_UQ
 UDP binding with Queue mode.
 
#define CONFIG_LWM2M_DEVICE_BINDING_S
 SMS binding.
 
#define CONFIG_LWM2M_DEVICE_BINDING_SQ
 SMS binding with Queue mode.
 
#define CONFIG_LWM2M_DEVICE_BINDING_US
 UDP and SMS bindings.
 
#define CONFIG_LWM2M_DEVICE_BINDING_UQS
 UDP and SMS bindings with Queue mode.