nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
Light Lightness Client model

API for the Light Lightness Client model. More...

Data Structures

struct  bt_mesh_lightness_cli_handlers
 
struct  bt_mesh_lightness_cli
 

Macros

#define BT_MESH_LIGHTNESS_CLI_INIT(_handlers)
 Initialization parameters for the Light Lightness Client model.
 
#define BT_MESH_MODEL_LIGHTNESS_CLI(_cli)
 Light Lightness Client model composition data entry.
 

Functions

int bt_mesh_lightness_cli_light_get (struct bt_mesh_lightness_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_lightness_status *rsp)
 Get the Light Level of the bound server.
 
int bt_mesh_lightness_cli_light_set (struct bt_mesh_lightness_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lightness_set *set, struct bt_mesh_lightness_status *rsp)
 Set the Light Level of the server.
 
int bt_mesh_lightness_cli_light_set_unack (struct bt_mesh_lightness_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lightness_set *set)
 Set the Light Level of the server without requesting a response.
 
int bt_mesh_lightness_cli_range_get (struct bt_mesh_lightness_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_lightness_range_status *rsp)
 Get the Light Range of the bound server.
 
int bt_mesh_lightness_cli_range_set (struct bt_mesh_lightness_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lightness_range *range, struct bt_mesh_lightness_range_status *rsp)
 Set the Light Range state in the server.
 
int bt_mesh_lightness_cli_range_set_unack (struct bt_mesh_lightness_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_lightness_range *range)
 Set the Light Range state in the server without requesting a response.
 
int bt_mesh_lightness_cli_default_get (struct bt_mesh_lightness_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t *rsp)
 Get the Default Light of the bound server.
 
int bt_mesh_lightness_cli_default_set (struct bt_mesh_lightness_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t default_light, uint16_t *rsp)
 Set the Default Light state in the server.
 
int bt_mesh_lightness_cli_default_set_unack (struct bt_mesh_lightness_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t default_light)
 Set the Default Light state in the server without requesting a response.
 
int bt_mesh_lightness_cli_last_get (struct bt_mesh_lightness_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t *rsp)
 Get the last non-zero Light Level of the bound server.
 

Detailed Description

API for the Light Lightness Client model.