Public API and definitions for the helper functions to interact with basic objects from a LwM2M client. More...
Public API and definitions for the helper functions to interact with basic objects from a LwM2M client.
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_server_object (lwm2m_client_data_t *client_data, int server_id) | 
| Creates a LwM2M server object with the default configuration from net/lwm2m.h.   | |
| 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.   | |
Access Control Bits | |
Bit definitions for the ACL property of the LwM2M Access Control Object.  | |
| #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.   | |
| #define LWM2M_ACC_CTRL_CREATE (1 << 4) | 
Creation access.
Definition at line 39 of file lwm2m_client_objects.h.
| #define LWM2M_ACC_CTRL_DELETE (1 << 3) | 
Deletion access.
Definition at line 38 of file lwm2m_client_objects.h.
| #define LWM2M_ACC_CTRL_EXECUTE (1 << 2) | 
Execution access.
Definition at line 37 of file lwm2m_client_objects.h.
| #define LWM2M_ACC_CTRL_READ (1 << 0) | 
Read access.
Definition at line 35 of file lwm2m_client_objects.h.
| #define LWM2M_ACC_CTRL_WRITE (1 << 1) | 
Write access.
Definition at line 36 of file lwm2m_client_objects.h.
| 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.
| [in] | client_data | Pointer to a LwM2M client data descriptor | 
| lwm2m_object_t * lwm2m_client_get_server_object | ( | lwm2m_client_data_t * | client_data, | 
| int | server_id ) | 
Creates a LwM2M server object with the default configuration from net/lwm2m.h.
| [in,out] | client_data | Pointer to a LwM2M client data descriptor | 
| [in] | server_id | Server ID (SID) to assign to the new instance |