nRF Connect SDK API 2.8.99
|
#include <gen_lvl_srv.h>
Data Fields | |
void(*const | get )(struct bt_mesh_lvl_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_lvl_status *rsp) |
Get the current Level state. | |
void(*const | set )(struct bt_mesh_lvl_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lvl_set *set, struct bt_mesh_lvl_status *rsp) |
Set the Level state. | |
void(*const | delta_set )(struct bt_mesh_lvl_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lvl_delta_set *delta_set, struct bt_mesh_lvl_status *rsp) |
Change the Level state relative to its current value. | |
void(*const | move_set )(struct bt_mesh_lvl_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lvl_move_set *move_set, struct bt_mesh_lvl_status *rsp) |
Move the Level state continuously at a given rate. | |
Handler functions for the Generic Level Server.