nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
gen_lvl_cli.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_mesh_lvl_cli
 

Macros

#define BT_MESH_LVL_CLI_INIT(_status_handler)
 Initialization parameters for the Generic Level Client model.
 
#define BT_MESH_MODEL_LVL_CLI(_cli)
 Generic Level Client model composition data entry.
 

Functions

int bt_mesh_lvl_cli_get (struct bt_mesh_lvl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_lvl_status *rsp)
 Get the status of the bound server.
 
int bt_mesh_lvl_cli_set (struct bt_mesh_lvl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lvl_set *set, struct bt_mesh_lvl_status *rsp)
 Set the level state in the server.
 
int bt_mesh_lvl_cli_set_unack (struct bt_mesh_lvl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lvl_set *set)
 Set the level state in the server without requesting a response.
 
int bt_mesh_lvl_cli_delta_set (struct bt_mesh_lvl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lvl_delta_set *delta_set, struct bt_mesh_lvl_status *rsp)
 Trigger a differential level state change in the server.
 
int bt_mesh_lvl_cli_delta_set_unack (struct bt_mesh_lvl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lvl_delta_set *delta_set)
 Trigger a differential level state change in the server without requesting a response.
 
int bt_mesh_lvl_cli_move_set (struct bt_mesh_lvl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lvl_move_set *move_set, struct bt_mesh_lvl_status *rsp)
 Trigger a continuous level change in the server.
 
int bt_mesh_lvl_cli_move_set_unack (struct bt_mesh_lvl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lvl_move_set *move_set)
 Trigger a continuous level change in the server without requesting a response.