Loading...
Searching...
No Matches

Detailed Description

#include "liblwm2m.h"
#include "lwm2m_client.h"
#include "objects/ipso_sensor_base.h"
+ Include dependency graph for illuminance.h:

Go to the source code of this file.

Macros

#define CONFIG_LWM2M_ILLUMINANCE_INSTANCES_MAX   (1U)
 Maximum number of instances of the object.
 
#define LWM2M_ILLUMINANCE_OBJECT_ID   3301
 LwM2M Illuminance Sensor object ID.
 

Typedefs

typedef lwm2m_obj_ipso_base_sensor_args_t lwm2m_obj_illuminance_args_t
 Arguments for the creation of a Illuminance Sensor object instance.
 

Functions

lwm2m_object_t * lwm2m_object_illuminance_init (lwm2m_client_data_t *client_data)
 Initialize the Illuminance Sensor object handle.
 
int32_t lwm2m_object_illuminance_instance_create (const lwm2m_obj_illuminance_args_t *args)
 Create a new Illuminance Sensor instance.
 
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, if any.