nRF Connect SDK API 0.1.0
|
#include <gen_plvl_srv.h>
Data Fields | |
struct bt_mesh_lvl_srv | lvl |
struct bt_mesh_ponoff_srv | ponoff |
const struct bt_mesh_model * | plvl_model |
const struct bt_mesh_model * | plvl_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_PLVL_OP_LEVEL_STATUS, BT_MESH_PLVL_MSG_MAXLEN_LEVEL_STATUS)] |
struct bt_mesh_tid_ctx | tid |
const struct bt_mesh_plvl_srv_handlers *const | handlers |
struct bt_mesh_plvl_range | range |
uint16_t | default_power |
struct { | |
uint16_t last | |
bool is_on | |
} | transient |
Generic Power Level Server instance.
Should be initialized with BT_MESH_PLVL_SRV_INIT.