Loading...
Searching...
No Matches
illuminance.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2024 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
88#ifndef OBJECTS_ILLUMINANCE_H
89#define OBJECTS_ILLUMINANCE_H
90
91#ifdef __cplusplus
92extern "C" {
93#endif
94
95#include "liblwm2m.h"
96#include "lwm2m_client.h"
98
107#ifndef CONFIG_LWM2M_ILLUMINANCE_INSTANCES_MAX
108#define CONFIG_LWM2M_ILLUMINANCE_INSTANCES_MAX (1U)
109#endif
115#define LWM2M_ILLUMINANCE_OBJECT_ID 3301
116
121
130
141
151 uint16_t instance_id, int16_t value);
152
153#ifdef __cplusplus
154}
155#endif
156
157#endif /* OBJECTS_ILLUMINANCE_H */
int32_t lwm2m_object_illuminance_instance_create(const lwm2m_obj_illuminance_args_t *args)
Create a new Illuminance Sensor instance.
lwm2m_object_t * lwm2m_object_illuminance_init(lwm2m_client_data_t *client_data)
Initialize the Illuminance Sensor object handle.
void lwm2m_object_illuminance_update_value(const lwm2m_client_data_t *client_data, uint16_t instance_id, int16_t value)
Update the value of the illuminance sensor and trigger a notification to the observing servers,...
lwm2m_obj_ipso_base_sensor_args_t lwm2m_obj_illuminance_args_t
Arguments for the creation of a Illuminance Sensor object instance.
Definitions and public API for a LwM2M client using Wakaama.
LwM2M client descriptor.
Arguments for the creation of an object based on the IPSO Sensor Base object instance.