7#ifndef BT_MESH_LARGE_COMP_DATA_CLI_H__
8#define BT_MESH_LARGE_COMP_DATA_CLI_H__
87#define BT_MESH_MODEL_LARGE_COMP_DATA_CLI(cli_data) \
88 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_LARGE_COMP_DATA_CLI, \
89 _bt_mesh_large_comp_data_cli_op, NULL, cli_data, \
90 &_bt_mesh_large_comp_data_cli_cb)
int bt_mesh_models_metadata_get(uint16_t net_idx, uint16_t addr, uint8_t page, size_t offset, struct bt_mesh_large_comp_data_rsp *rsp)
Send Models Metadata Get message.
int bt_mesh_large_comp_data_get(uint16_t net_idx, uint16_t addr, uint8_t page, size_t offset, struct bt_mesh_large_comp_data_rsp *rsp)
Send Large Composition Data Get message.
Bluetooth Mesh Profile APIs.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Large Composition Data Status messages callbacks.
Definition large_comp_data_cli.h:37
void(* large_comp_data_status)(struct bt_mesh_large_comp_data_cli *cli, uint16_t addr, struct bt_mesh_large_comp_data_rsp *rsp)
Optional callback for Large Composition Data Status message.
Definition large_comp_data_cli.h:50
void(* models_metadata_status)(struct bt_mesh_large_comp_data_cli *cli, uint16_t addr, struct bt_mesh_large_comp_data_rsp *rsp)
Optional callback for Models Metadata Status message.
Definition large_comp_data_cli.h:65
Large Composition Data Client model context.
Definition large_comp_data_cli.h:70
const struct bt_mesh_large_comp_data_cli_cb * cb
Optional callback for Large Composition Data Status messages.
Definition large_comp_data_cli.h:78
const struct bt_mesh_model * model
Model entry pointer.
Definition large_comp_data_cli.h:72
struct bt_mesh_msg_ack_ctx ack_ctx
Internal parameters for tracking message responses.
Definition large_comp_data_cli.h:75
Large Composition Data response.
Definition large_comp_data_cli.h:25
struct net_buf_simple * data
Pointer to allocated buffer for storing received data.
Definition large_comp_data_cli.h:33
uint16_t offset
Offset within the page.
Definition large_comp_data_cli.h:29
uint16_t total_size
Total size of the page.
Definition large_comp_data_cli.h:31
uint8_t page
Page number.
Definition large_comp_data_cli.h:27
Model callback functions.
Definition access.h:813
Model opcode handler.
Definition access.h:363
Abstraction that describes a Mesh Model instance.
Definition access.h:891
Acknowledged message context for tracking the status of model messages pending a response.
Definition msg.h:172
Simple network buffer representation.
Definition net_buf.h:89