![]() |
nRF Connect SDK API 3.4.99
|
#include <lightness_srv.h>
Data Fields | |
| struct bt_mesh_lvl_srv | lvl |
| struct bt_mesh_ponoff_srv | ponoff |
| atomic_t | flags |
| const struct bt_mesh_model * | lightness_model |
| const struct bt_mesh_model * | lightness_setup_model |
| struct bt_mesh_model_pub | pub |
| struct net_buf_simple | pub_buf |
| uint8_t | pub_data [BT_MESH_MODEL_BUF_LEN(BT_MESH_LIGHTNESS_OP_STATUS, BT_MESH_LIGHTNESS_MSG_MAXLEN_STATUS)] |
| struct bt_mesh_tid_ctx | tid |
| const struct bt_mesh_lightness_srv_handlers *const | handlers |
| struct bt_mesh_lightness_range | range |
| uint16_t | default_light |
| uint16_t | delta_start |
| struct { | |
| uint16_t last | |
| bool is_on | |
| } | transient |
| struct bt_mesh_light_ctrl_srv * | ctrl |
Light Lightness Server instance.
Should be initialized with BT_MESH_LIGHTNESS_SRV_INIT.