nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
bt_mesh_prop_srv Struct Reference

#include <gen_prop_srv.h>

Data Fields

const struct bt_mesh_model * model
 
struct bt_mesh_model_pub pub
 
struct net_buf_simple pub_buf
 
uint8_t pub_data [BT_MESH_PROP_MSG_MAXLEN(CONFIG_BT_MESH_PROP_MAXCOUNT)]
 
uint16_t pub_id
 
enum bt_mesh_prop_srv_state pub_state
 
struct bt_mesh_prop *const properties
 
const uint32_t property_count
 
void(*const set )(struct bt_mesh_prop_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_prop_val *val)
 Set a property value.
 
void(*const get )(struct bt_mesh_prop_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_prop_val *val)
 Get a property value.
 

Detailed Description

Generic Property Server instance. Should be initialized with the BT_MESH_PROP_SRV_INIT, BT_MESH_PROP_SRV_ADMIN_INIT, BT_MESH_PROP_SRV_MFR_INIT or BT_MESH_PROP_SRV_CLIENT_INIT macro.


The documentation for this struct was generated from the following file: