7#ifndef BT_MESH_OD_PRIV_PROXY_CLI_H__
8#define BT_MESH_OD_PRIV_PROXY_CLI_H__
45#define BT_MESH_MODEL_OD_PRIV_PROXY_CLI(cli_data) \
46 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_ON_DEMAND_PROXY_CLI, \
47 _bt_mesh_od_priv_proxy_cli_op, NULL, cli_data, \
48 &_bt_mesh_od_priv_proxy_cli_cb)
int bt_mesh_od_priv_proxy_cli_get(uint16_t net_idx, uint16_t addr, uint8_t *val_rsp)
Get the target's On-Demand Private GATT Proxy state.
int bt_mesh_od_priv_proxy_cli_set(uint16_t net_idx, uint16_t addr, uint8_t val, uint8_t *val_rsp)
Set the target's On-Demand Private GATT Proxy state.
void bt_mesh_od_priv_proxy_cli_timeout_set(int32_t timeout)
Set the transmission timeout value.
Bluetooth Mesh Profile APIs.
state
Definition parser_state.h:29
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
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
On-Demand Private Proxy Client Model Context.
Definition od_priv_proxy_cli.h:23
struct bt_mesh_msg_ack_ctx ack_ctx
Definition od_priv_proxy_cli.h:28
const struct bt_mesh_model * model
Solicitation PDU RPL model entry pointer.
Definition od_priv_proxy_cli.h:25
void(* od_status)(struct bt_mesh_od_priv_proxy_cli *cli, uint16_t addr, uint8_t state)
Optional callback for On-Demand Private Proxy Status messages.
Definition od_priv_proxy_cli.h:39