10#ifndef BT_MESH_SAR_CFG_CLI_H__
11#define BT_MESH_SAR_CFG_CLI_H__
48#define BT_MESH_MODEL_SAR_CFG_CLI(_cli) \
49 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_SAR_CFG_CLI, \
50 _bt_mesh_sar_cfg_cli_op, _cli.pub, _cli, \
51 &_bt_mesh_sar_cfg_cli_cb)
int bt_mesh_sar_cfg_cli_transmitter_set(uint16_t net_idx, uint16_t addr, const struct bt_mesh_sar_tx *set, struct bt_mesh_sar_tx *rsp)
Set the SAR Transmitter state of the target node.
int bt_mesh_sar_cfg_cli_receiver_get(uint16_t net_idx, uint16_t addr, struct bt_mesh_sar_rx *rsp)
Get the SAR Receiver state of the target node.
void bt_mesh_sar_cfg_cli_timeout_set(int32_t timeout)
Set the transmission timeout value.
int bt_mesh_sar_cfg_cli_receiver_set(uint16_t net_idx, uint16_t addr, const struct bt_mesh_sar_rx *set, struct bt_mesh_sar_rx *rsp)
Set the SAR Receiver state of the target node.
int bt_mesh_sar_cfg_cli_transmitter_get(uint16_t net_idx, uint16_t addr, struct bt_mesh_sar_tx *rsp)
Get the SAR Transmitter state of the target node.
int32_t bt_mesh_sar_cfg_cli_timeout_get(void)
Get the current transmission timeout value.
Bluetooth Mesh Profile APIs.
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Model callback functions.
Definition access.h:813
Model opcode handler.
Definition access.h:363
Model publication context.
Definition access.h:708
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
Mesh SAR Configuration Client Model Context.
Definition sar_cfg_cli.h:28
struct bt_mesh_model_pub pub
Definition sar_cfg_cli.h:33
struct bt_mesh_msg_ack_ctx ack_ctx
Definition sar_cfg_cli.h:39
int32_t timeout
Definition sar_cfg_cli.h:36
const struct bt_mesh_model * model
Access model pointer.
Definition sar_cfg_cli.h:30
SAR Receiver Configuration state structure.
Definition sar_cfg.h:47
SAR Transmitter Configuration state structure.
Definition sar_cfg.h:23