Definition in file device.h.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "liblwm2m.h"
#include "lwm2m_client.h"
#include "lwm2m_client_config.h"
Go to the source code of this file.
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. | |
#define | CONFIG_LWM2M_DEVICE_BINDINGS "U" |
Device binding and queue mode. | |
Functions | |
lwm2m_object_t * | lwm2m_object_device_init (lwm2m_client_data_t *client_data) |
Initialize the Device object. | |
bool | lwm2m_device_reboot_requested (void) |
Determines if a reboot request has been issued to the device by a server. | |
Device bindings and queue modes | |
This options are meant to be set either via Kconfig or CFLAGS: CFLAGS += -DCONFIG_LWM2M_DEVICE_BINDING_UQ
| |
#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. | |