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
9#pragma once
10
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include "lwm2m_client.h"
26
35#define LWM2M_ACC_CTRL_READ (1 << 0)
36#define LWM2M_ACC_CTRL_WRITE (1 << 1)
37#define LWM2M_ACC_CTRL_EXECUTE (1 << 2)
38#define LWM2M_ACC_CTRL_DELETE (1 << 3)
39#define LWM2M_ACC_CTRL_CREATE (1 << 4)
41
53 lwm2m_client_data_t *client_data, int server_id);
54
64 lwm2m_client_data_t *client_data);
65
66#ifdef __cplusplus
67}
68#endif
69
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.