lwm2m_client_objects.h File Reference

Public API and definitions for the helper functions to interact with basic objects from a LwM2M client. More...

Detailed Description

Public API and definitions for the helper functions to interact with basic objects from a LwM2M client.

Author
Leandro Lanzieri leand.nosp@m.ro.l.nosp@m.anzie.nosp@m.ri@h.nosp@m.aw-ha.nosp@m.mbur.nosp@m.g.de

Definition in file lwm2m_client_objects.h.

#include "lwm2m_client.h"
+ Include dependency graph for lwm2m_client_objects.h:

Go to the source code of this file.

Functions

lwm2m_object_t * lwm2m_client_get_security_object (lwm2m_client_data_t *client_data)
 Creates a LwM2M security object with the default configuration from net/lwm2m.h. More...
 
lwm2m_object_t * lwm2m_client_get_server_object (lwm2m_client_data_t *client_data)
 Creates a LwM2M server object with the default configuration from net/lwm2m.h. More...
 
lwm2m_object_t * lwm2m_client_get_device_object (lwm2m_client_data_t *client_data)
 Creates a LwM2M device object with the default configuration from net/lwm2m.h. More...
 
lwm2m_object_t * lwm2m_client_get_acc_ctrl_object (lwm2m_client_data_t *client_data)
 Creates a LwM2M access control object with the default configuration. More...
 

Access Control Bits

Bit definitions for the ACL property of the LwM2M Access Control Object.

See also
http://www.openmobilealliance.org/tech/profiles/LWM2M_Access_Control-v1_0_3.xml
#define LWM2M_ACC_CTRL_READ   (1 << 0)
 Read access.
 
#define LWM2M_ACC_CTRL_WRITE   (1 << 1)
 Write access.
 
#define LWM2M_ACC_CTRL_EXECUTE   (1 << 2)
 Execution access.
 
#define LWM2M_ACC_CTRL_DELETE   (1 << 3)
 Deletion access.
 
#define LWM2M_ACC_CTRL_CREATE   (1 << 4)
 Creation access.
 

Function Documentation

◆ lwm2m_client_get_acc_ctrl_object()

lwm2m_object_t* lwm2m_client_get_acc_ctrl_object ( lwm2m_client_data_t client_data)

Creates a LwM2M access control object with the default configuration.

Parameters
[in]client_dataPointer to a LwM2M client data descriptor
Returns
Pointer to the created object
NULL otherwise

◆ lwm2m_client_get_device_object()

lwm2m_object_t* lwm2m_client_get_device_object ( lwm2m_client_data_t client_data)

Creates a LwM2M device object with the default configuration from net/lwm2m.h.

Parameters
[in,out]client_dataPointer to a LwM2M client data descriptor
Returns
Pointer to the created object
NULL otherwise

◆ lwm2m_client_get_security_object()

lwm2m_object_t* lwm2m_client_get_security_object ( lwm2m_client_data_t client_data)

Creates a LwM2M security object with the default configuration from net/lwm2m.h.

Parameters
[in,out]client_dataPointer to a LwM2M client data descriptor
Returns
Pointer to the created object in success
NULL otherwise

◆ lwm2m_client_get_server_object()

lwm2m_object_t* lwm2m_client_get_server_object ( lwm2m_client_data_t client_data)

Creates a LwM2M server object with the default configuration from net/lwm2m.h.

Parameters
[in,out]client_dataPointer to a LwM2M client data descriptor
Returns
Pointer to the created object
NULL otherwise