7#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_BRG_CFG_CLI_H__
8#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_BRG_CFG_CLI_H__
30#define BT_MESH_MODEL_BRG_CFG_CLI(_cli) \
31 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_BRG_CFG_CLI, _bt_mesh_brg_cfg_cli_op, NULL, _cli, \
32 &_bt_mesh_brg_cfg_cli_cb)
int bt_mesh_brg_cfg_cli_subnets_get(uint16_t net_idx, uint16_t addr, struct bt_mesh_brg_cfg_filter_netkey filter_net_idx, uint8_t start_idx, struct bt_mesh_brg_cfg_subnets_list *rsp)
Sends a Bridged Subnets Get message to the given destination address with the given parameters.
int32_t bt_mesh_brg_cfg_cli_timeout_get(void)
Get the current transmission timeout value.
int bt_mesh_brg_cfg_cli_set(uint16_t net_idx, uint16_t addr, enum bt_mesh_brg_cfg_state val, enum bt_mesh_brg_cfg_state *status)
Sends a Subnet Bridge Set message to the given destination address with the given parameters.
int bt_mesh_brg_cfg_cli_get(uint16_t net_idx, uint16_t addr, enum bt_mesh_brg_cfg_state *status)
Sends a Subnet Bridge Get message to the given destination address.
int bt_mesh_brg_cfg_cli_table_add(uint16_t net_idx, uint16_t addr, struct bt_mesh_brg_cfg_table_entry *entry, struct bt_mesh_brg_cfg_table_status *rsp)
Sends a Bridging Table Add message to the given destination address with the given parameters.
int bt_mesh_brg_cfg_cli_table_size_get(uint16_t net_idx, uint16_t addr, uint16_t *size)
Sends a Bridging Table Size Get message to the given destination address with the given parameters.
int bt_mesh_brg_cfg_cli_table_remove(uint16_t net_idx, uint16_t addr, uint16_t net_idx1, uint16_t net_idx2, uint16_t addr1, uint16_t addr2, struct bt_mesh_brg_cfg_table_status *rsp)
Sends a Bridging Table Remove message to the given destination address with the given parameters.
int bt_mesh_brg_cfg_cli_table_get(uint16_t net_idx, uint16_t addr, uint16_t net_idx1, uint16_t net_idx2, uint16_t start_idx, struct bt_mesh_brg_cfg_table_list *rsp)
Sends a Bridging Table Get message to the given destination address with the given parameters.
void bt_mesh_brg_cfg_cli_timeout_set(int32_t timeout)
Set the transmission timeout value.
bt_mesh_brg_cfg_state
Subnet Bridge states.
Definition brg_cfg.h:24
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Mesh Bridge Configuration Client Status messages callback.
Definition brg_cfg_cli.h:35
void(* table_list)(struct bt_mesh_brg_cfg_cli *cli, uint16_t addr, struct bt_mesh_brg_cfg_table_list *rsp)
Optional callback for Bridging Table List message.
Definition brg_cfg_cli.h:92
void(* table_status)(struct bt_mesh_brg_cfg_cli *cli, uint16_t addr, struct bt_mesh_brg_cfg_table_status *rsp)
Optional callback for Bridging Table Status message.
Definition brg_cfg_cli.h:68
void(* subnets_list)(struct bt_mesh_brg_cfg_cli *cli, uint16_t addr, struct bt_mesh_brg_cfg_subnets_list *rsp)
Optional callback for Bridged Subnets List message.
Definition brg_cfg_cli.h:80
void(* bridge_status)(struct bt_mesh_brg_cfg_cli *cli, uint16_t addr, enum bt_mesh_brg_cfg_state status)
Optional callback for Subnet Bridge Status message.
Definition brg_cfg_cli.h:45
void(* table_size_status)(struct bt_mesh_brg_cfg_cli *cli, uint16_t addr, uint16_t size)
Optional callback for Bridging Table Size Status message.
Definition brg_cfg_cli.h:57
Bridge Configuration Client Model Context.
Definition brg_cfg_cli.h:97
const struct bt_mesh_brg_cfg_cli_cb * cb
Event handler callbacks.
Definition brg_cfg_cli.h:102
const struct bt_mesh_model * model
Bridge Configuration model entry pointer.
Definition brg_cfg_cli.h:99
struct bt_mesh_msg_ack_ctx ack_ctx
Definition brg_cfg_cli.h:105
Used to filter set of pairs of NetKey Indexes from the Bridging Table.
Definition brg_cfg.h:59
Bridged Subnets List response.
Definition brg_cfg.h:66
Bridging Table state entry corresponding to a entry in the Bridging Table.
Definition brg_cfg.h:37
Bridging Table List response.
Definition brg_cfg.h:76
Bridging Table Status response.
Definition brg_cfg.h:51
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