nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
Generic Property Client model

API for the Generic Property Client model. More...

Data Structures

struct  bt_mesh_prop_list
 
struct  bt_mesh_prop_cli
 

Macros

#define BT_MESH_PROP_CLI_INIT(_prop_list_handler, _prop_status_handler)
 Initialization parameters for the Generic Property Client model.
 
#define BT_MESH_MODEL_PROP_CLI(_cli)
 Generic Property Client model composition data entry.
 

Functions

int bt_mesh_prop_cli_client_props_get (struct bt_mesh_prop_cli *cli, struct bt_mesh_msg_ctx *ctx, uint16_t id, struct bt_mesh_prop_list *rsp)
 Get the list of Generic Client Properties of the bound server.
 
int bt_mesh_prop_cli_props_get (struct bt_mesh_prop_cli *cli, struct bt_mesh_msg_ctx *ctx, enum bt_mesh_prop_srv_kind kind, struct bt_mesh_prop_list *rsp)
 Get the list of properties of the bound server.
 
int bt_mesh_prop_cli_prop_get (struct bt_mesh_prop_cli *cli, struct bt_mesh_msg_ctx *ctx, enum bt_mesh_prop_srv_kind kind, uint16_t id, struct bt_mesh_prop_val *rsp)
 Get the value of a property in a server.
 
int bt_mesh_prop_cli_user_prop_set (struct bt_mesh_prop_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_prop_val *val, struct bt_mesh_prop_val *rsp)
 Set a property value in a User Property Server.
 
int bt_mesh_prop_cli_user_prop_set_unack (struct bt_mesh_prop_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_prop_val *val)
 Set a property value in a User Property Server without requesting a response.
 
int bt_mesh_prop_cli_admin_prop_set (struct bt_mesh_prop_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_prop_val *val, struct bt_mesh_prop_val *rsp)
 Set a property value in an Admin Property server.
 
int bt_mesh_prop_cli_admin_prop_set_unack (struct bt_mesh_prop_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_prop_val *val)
 Set a property value in an Admin Property server without requesting a response.
 
int bt_mesh_prop_cli_mfr_prop_set (struct bt_mesh_prop_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_prop *prop, struct bt_mesh_prop_val *rsp)
 Set the user access of a property in a Manufacturer Property server.
 
int bt_mesh_prop_cli_mfr_prop_set_unack (struct bt_mesh_prop_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_prop *prop)
 Set the user access of a property in a Manufacturer Property server without requesting a response.
 

Detailed Description

API for the Generic Property Client model.