Loading...
Searching...
No Matches

Configuration options for the LwM2M Device Object. More...

Detailed Description

Configuration options for the LwM2M Device Object.

Macros

#define CONFIG_LWM2M_DEVICE_NAME   "testRIOTDevice"
 Device name used to register at the LwM2M server.
 
#define CONFIG_LWM2M_DEVICE_MANUFACTURER   "A RIOT maker"
 Device object manufacturer string.
 
#define CONFIG_LWM2M_DEVICE_MODEL   RIOT_BOARD
 Device object model.
 
#define CONFIG_LWM2M_DEVICE_SERIAL   "undefined"
 Device object serial number.
 
#define CONFIG_LWM2M_DEVICE_FW_VERSION   RIOT_VERSION
 Device object firmware version.
 
#define CONFIG_LWM2M_DEVICE_TYPE   "RIOT device"
 Device object device type.
 
#define CONFIG_LWM2M_DEVICE_HW_VERSION   RIOT_BOARD
 Device object hardware version.
 
#define CONFIG_LWM2M_DEVICE_SW_VERSION   RIOT_VERSION
 Device object software version.
 

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.
 

Macro Definition Documentation

◆ CONFIG_LWM2M_DEVICE_BINDING_S

#define CONFIG_LWM2M_DEVICE_BINDING_S

SMS binding.

Definition at line 185 of file device.h.

◆ CONFIG_LWM2M_DEVICE_BINDING_SQ

#define CONFIG_LWM2M_DEVICE_BINDING_SQ

SMS binding with Queue mode.

Definition at line 190 of file device.h.

◆ CONFIG_LWM2M_DEVICE_BINDING_U

#define CONFIG_LWM2M_DEVICE_BINDING_U

UDP binding.

Definition at line 175 of file device.h.

◆ CONFIG_LWM2M_DEVICE_BINDING_UQ

#define CONFIG_LWM2M_DEVICE_BINDING_UQ

UDP binding with Queue mode.

Definition at line 180 of file device.h.

◆ CONFIG_LWM2M_DEVICE_BINDING_UQS

#define CONFIG_LWM2M_DEVICE_BINDING_UQS

UDP and SMS bindings with Queue mode.

Definition at line 200 of file device.h.

◆ CONFIG_LWM2M_DEVICE_BINDING_US

#define CONFIG_LWM2M_DEVICE_BINDING_US

UDP and SMS bindings.

Definition at line 195 of file device.h.

◆ CONFIG_LWM2M_DEVICE_FW_VERSION

#define CONFIG_LWM2M_DEVICE_FW_VERSION   RIOT_VERSION

Device object firmware version.

Note
Defaults to the running RIOT version

Definition at line 154 of file device.h.

◆ CONFIG_LWM2M_DEVICE_HW_VERSION

#define CONFIG_LWM2M_DEVICE_HW_VERSION   RIOT_BOARD

Device object hardware version.

Note
Defaults to the board name

Definition at line 217 of file device.h.

◆ CONFIG_LWM2M_DEVICE_MANUFACTURER

#define CONFIG_LWM2M_DEVICE_MANUFACTURER   "A RIOT maker"

Device object manufacturer string.

Definition at line 129 of file device.h.

◆ CONFIG_LWM2M_DEVICE_MODEL

#define CONFIG_LWM2M_DEVICE_MODEL   RIOT_BOARD

Device object model.

Note
Defaults to the board name

Definition at line 138 of file device.h.

◆ CONFIG_LWM2M_DEVICE_NAME

#define CONFIG_LWM2M_DEVICE_NAME   "testRIOTDevice"

Device name used to register at the LwM2M server.

Definition at line 122 of file device.h.

◆ CONFIG_LWM2M_DEVICE_SERIAL

#define CONFIG_LWM2M_DEVICE_SERIAL   "undefined"

Device object serial number.

Definition at line 145 of file device.h.

◆ CONFIG_LWM2M_DEVICE_SW_VERSION

#define CONFIG_LWM2M_DEVICE_SW_VERSION   RIOT_VERSION

Device object software version.

Note
Defaults to the running RIOT version

Definition at line 226 of file device.h.

◆ CONFIG_LWM2M_DEVICE_TYPE

#define CONFIG_LWM2M_DEVICE_TYPE   "RIOT device"

Device object device type.

Definition at line 208 of file device.h.