Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
brg_cfg_cli.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_mesh_brg_cfg_cli_cb
 Mesh Bridge Configuration Client Status messages callback. More...
 
struct  bt_mesh_brg_cfg_cli
 Bridge Configuration Client Model Context. More...
 

Macros

#define BT_MESH_MODEL_BRG_CFG_CLI(_cli)
 Bridge Configuration Client model Composition Data entry.
 

Functions

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_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_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_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_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_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.
 
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.
 
int32_t bt_mesh_brg_cfg_cli_timeout_get (void)
 Get the current transmission timeout value.
 
void bt_mesh_brg_cfg_cli_timeout_set (int32_t timeout)
 Set the transmission timeout value.