Loading...
Searching...
No Matches
lwm2m_client_objects.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 HAW Hamburg
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
19#ifndef LWM2M_CLIENT_OBJECTS_H
20#define LWM2M_CLIENT_OBJECTS_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include "lwm2m_client.h"
27
36#define LWM2M_ACC_CTRL_READ (1 << 0)
37#define LWM2M_ACC_CTRL_WRITE (1 << 1)
38#define LWM2M_ACC_CTRL_EXECUTE (1 << 2)
39#define LWM2M_ACC_CTRL_DELETE (1 << 3)
40#define LWM2M_ACC_CTRL_CREATE (1 << 4)
54 lwm2m_client_data_t *client_data, int server_id);
55
65 lwm2m_client_data_t *client_data);
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif /* LWM2M_CLIENT_OBJECTS_H */
Definitions and public API for a LwM2M client using Wakaama.
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.
LwM2M client descriptor.