Bluetooth: Mesh: Add support for sending Get Composition Data
Add Get Composition Data support to the Configuration Client Model. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
588887c9b7
commit
3d1ce43eb0
4 changed files with 122 additions and 1 deletions
|
@ -18,7 +18,12 @@
|
|||
*/
|
||||
|
||||
/** Mesh Configuration Client Model Context */
|
||||
struct bt_mesh_cli {
|
||||
struct bt_mesh_cfg_cli {
|
||||
struct bt_mesh_model *model;
|
||||
|
||||
struct k_sem op_sync;
|
||||
u32_t op_pending;
|
||||
void *op_param;
|
||||
};
|
||||
|
||||
extern const struct bt_mesh_model_op bt_mesh_cfg_cli_op[];
|
||||
|
@ -27,6 +32,9 @@ extern const struct bt_mesh_model_op bt_mesh_cfg_cli_op[];
|
|||
BT_MESH_MODEL(BT_MESH_MODEL_ID_CFG_CLI, \
|
||||
bt_mesh_cfg_cli_op, NULL, cli_data)
|
||||
|
||||
int bt_mesh_cfg_comp_data_get(u16_t net_idx, u16_t addr, u8_t page,
|
||||
u8_t *status, struct net_buf_simple *comp);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue