Zephyr Project API  3.4.0
A Scalable Open Source RTOS
large_comp_data_cli.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef BT_MESH_LARGE_COMP_DATA_CLI_H__
8#define BT_MESH_LARGE_COMP_DATA_CLI_H__
9
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
23
34};
35
51 struct bt_mesh_large_comp_data_rsp *rsp);
52
66 struct bt_mesh_large_comp_data_rsp *rsp);
67};
68
73
76
79};
80
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)
91
114 size_t offset, struct bt_mesh_large_comp_data_rsp *rsp);
115
138 size_t offset, struct bt_mesh_large_comp_data_rsp *rsp);
139
141extern const struct bt_mesh_model_op _bt_mesh_large_comp_data_cli_op[];
142extern const struct bt_mesh_model_cb _bt_mesh_large_comp_data_cli_cb;
149#ifdef __cplusplus
150}
151#endif
152
153#endif /* BT_MESH_LARGE_COMP_DATA_CLI_H__ */
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
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
Definition: large_comp_data_cli.h:70
const struct bt_mesh_large_comp_data_cli_cb * cb
Definition: large_comp_data_cli.h:78
struct bt_mesh_model * model
Definition: large_comp_data_cli.h:72
struct bt_mesh_msg_ack_ctx ack_ctx
Definition: large_comp_data_cli.h:75
Definition: large_comp_data_cli.h:25
struct net_buf_simple * data
Definition: large_comp_data_cli.h:33
uint16_t offset
Definition: large_comp_data_cli.h:29
uint16_t total_size
Definition: large_comp_data_cli.h:31
uint8_t page
Definition: large_comp_data_cli.h:27
Definition: access.h:645
Definition: access.h:208
Definition: access.h:723
Definition: msg.h:159
Simple network buffer representation.
Definition: buf.h:83