![]() |
nRF Connect SDK API 3.3.99
|
Light Lightness Control Server instance. More...
#include <light_ctrl_srv.h>
Data Fields | ||
| enum bt_mesh_light_ctrl_srv_state | state | |
| atomic_t | flags | |
| struct { | ||
| uint16_t initial_light | ||
| uint32_t initial_centilux | ||
| uint32_t duration | ||
| } | fade | |
| struct k_work_delayable | timer | |
| struct k_work_delayable | action_delay | |
| struct bt_mesh_light_ctrl_srv_cfg | cfg | |
| struct bt_mesh_model_pub | pub | |
| struct net_buf_simple | pub_buf | |
| uint8_t | pub_data [BT_MESH_MODEL_BUF_LEN(BT_MESH_LIGHT_CTRL_OP_LIGHT_ONOFF_STATUS, 3)] | |
| uint16_t | resume | |
| struct bt_mesh_model_pub | setup_pub | |
| struct net_buf_simple | setup_pub_buf | |
| uint8_t | setup_pub_data [BT_MESH_MODEL_BUF_LEN(BT_MESH_LIGHT_CTRL_OP_PROP_STATUS, 2+CONFIG_BT_MESH_SENSOR_CHANNEL_ENCODED_SIZE_MAX)] | |
| struct bt_mesh_lightness_srv * | lightness | |
| struct bt_mesh_onoff_srv | onoff | |
| struct bt_mesh_tid_ctx | tid | |
| const struct bt_mesh_model * | model | |
| const struct bt_mesh_model * | setup_srv | |
Light Lightness Control Server instance.
Should be initialized with BT_MESH_LIGHT_CTRL_SRV_INIT.