nRF Connect SDK API 2.8.99
|
API for the Generic Power OnOff Client. More...
Data Structures | |
struct | bt_mesh_ponoff_cli |
Macros | |
#define | BT_MESH_PONOFF_CLI_INIT(_power_onoff_status_handler) |
Initialization parameters for Generic Power OnOff Client. | |
#define | BT_MESH_MODEL_PONOFF_CLI(_cli) |
Generic Power OnOff Client model composition data entry. | |
Functions | |
int | bt_mesh_ponoff_cli_on_power_up_get (struct bt_mesh_ponoff_cli *cli, struct bt_mesh_msg_ctx *ctx, enum bt_mesh_on_power_up *rsp) |
Get the OnPowerUp state of a server. | |
int | bt_mesh_ponoff_cli_on_power_up_set (struct bt_mesh_ponoff_cli *cli, struct bt_mesh_msg_ctx *ctx, enum bt_mesh_on_power_up on_power_up, enum bt_mesh_on_power_up *rsp) |
Set the OnPowerUp state of a server. | |
int | bt_mesh_ponoff_cli_on_power_up_set_unack (struct bt_mesh_ponoff_cli *cli, struct bt_mesh_msg_ctx *ctx, enum bt_mesh_on_power_up on_power_up) |
Set the OnPowerUp state of a server without requesting a response. | |
API for the Generic Power OnOff Client.