nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
gen_ponoff_cli.h File Reference

Go to the source code of this file.

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.