nRF Connect SDK API 2.8.99
|
#include <gen_plvl_srv.h>
Data Fields | |
void(*const | power_set )(struct bt_mesh_plvl_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_plvl_set *set, struct bt_mesh_plvl_status *rsp) |
Set the Power state. | |
void(*const | power_get )(struct bt_mesh_plvl_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_plvl_status *rsp) |
Get the current Power state. | |
void(*const | default_update )(struct bt_mesh_plvl_srv *srv, struct bt_mesh_msg_ctx *ctx, uint16_t old_default, uint16_t new_default) |
The Default Power state has changed. | |
void(*const | range_update )(struct bt_mesh_plvl_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_plvl_range *old_range, const struct bt_mesh_plvl_range *new_range) |
The Power Range state has changed. | |
Collection of handler callbacks for the Generic Power Level Server.