Loading...
Searching...
No Matches
lwm2m_obj_light_control_args Struct Reference

Arguments for the creation of a Light Control object instance. More...

Detailed Description

Arguments for the creation of a Light Control object instance.

Definition at line 206 of file light_control.h.

#include <light_control.h>

Data Fields

lwm2m_obj_light_control_cb_t cb
 Callback for status and dimmer changes.
 
void * cb_arg
 Argument to call cb with.
 
const char * color
 Array of chars with the light color.
 
size_t color_len
 Length of color.
 
const char * app_type
 Array of chars with the light app type.
 
size_t app_type_len
 Length of app_type.
 

Field Documentation

◆ app_type

const char* lwm2m_obj_light_control_args::app_type

Array of chars with the light app type.

May be NULL.

Definition at line 211 of file light_control.h.

◆ app_type_len

size_t lwm2m_obj_light_control_args::app_type_len

Length of app_type.

Definition at line 212 of file light_control.h.

◆ cb

lwm2m_obj_light_control_cb_t lwm2m_obj_light_control_args::cb

Callback for status and dimmer changes.

May be NULL.

Definition at line 207 of file light_control.h.

◆ cb_arg

void* lwm2m_obj_light_control_args::cb_arg

Argument to call cb with.

May be NULL.

Definition at line 208 of file light_control.h.

◆ color

const char* lwm2m_obj_light_control_args::color

Array of chars with the light color.

May be NULL.

Definition at line 209 of file light_control.h.

◆ color_len

size_t lwm2m_obj_light_control_args::color_len

Length of color.

Definition at line 210 of file light_control.h.


The documentation for this struct was generated from the following file: