7#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_PRIV_BEACON_CLI_H__
8#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_PRIV_BEACON_CLI_H__
28#define BT_MESH_MODEL_PRIV_BEACON_CLI(cli_data) \
29 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_PRIV_BEACON_CLI, \
30 bt_mesh_priv_beacon_cli_op, NULL, cli_data, \
31 &bt_mesh_priv_beacon_cli_cb)
int bt_mesh_priv_beacon_cli_node_id_set(uint16_t net_idx, uint16_t addr, struct bt_mesh_priv_node_id *val, struct bt_mesh_priv_node_id *rsp)
Set the target's Private Node Identity state.
int bt_mesh_priv_beacon_cli_gatt_proxy_set(uint16_t net_idx, uint16_t addr, uint8_t val, uint8_t *rsp)
Set the target's Private GATT Proxy state.
int bt_mesh_priv_beacon_cli_get(uint16_t net_idx, uint16_t addr, struct bt_mesh_priv_beacon *val)
Get the target's Private Beacon state.
int bt_mesh_priv_beacon_cli_gatt_proxy_get(uint16_t net_idx, uint16_t addr, uint8_t *val)
Get the target's Private GATT Proxy state.
int bt_mesh_priv_beacon_cli_set(uint16_t net_idx, uint16_t addr, struct bt_mesh_priv_beacon *val, struct bt_mesh_priv_beacon *rsp)
Set the target's Private Beacon state.
int bt_mesh_priv_beacon_cli_node_id_get(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, struct bt_mesh_priv_node_id *val)
Get the target's Private Node Identity state.
Bluetooth Mesh Profile APIs.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Model callback functions.
Definition access.h:809
Model opcode handler.
Definition access.h:359
Abstraction that describes a Mesh Model instance.
Definition access.h:887
Acknowledged message context for tracking the status of model messages pending a response.
Definition msg.h:172
Private Beacon Client Status messages callbacks.
Definition priv_beacon_cli.h:56
void(* priv_gatt_proxy_status)(struct bt_mesh_priv_beacon_cli *cli, uint16_t addr, uint8_t gatt_proxy)
Optional callback for Private GATT Proxy Status message.
Definition priv_beacon_cli.h:76
void(* priv_node_id_status)(struct bt_mesh_priv_beacon_cli *cli, uint16_t addr, struct bt_mesh_priv_node_id *priv_node_id)
Optional callback for Private Node Identity Status message.
Definition priv_beacon_cli.h:87
void(* priv_beacon_status)(struct bt_mesh_priv_beacon_cli *cli, uint16_t addr, struct bt_mesh_priv_beacon *priv_beacon)
Optional callback for Private Beacon Status message.
Definition priv_beacon_cli.h:65
Mesh Private Beacon Client model.
Definition priv_beacon_cli.h:92
const struct bt_mesh_model * model
Definition priv_beacon_cli.h:93
struct bt_mesh_msg_ack_ctx ack_ctx
Definition priv_beacon_cli.h:96
const struct bt_mesh_priv_beacon_cli_cb * cb
Optional callback for Private Beacon Client Status messages.
Definition priv_beacon_cli.h:99
Private Beacon.
Definition priv_beacon_cli.h:36
uint8_t rand_interval
Random refresh interval (in 10 second steps), or 0 to keep current value.
Definition priv_beacon_cli.h:42
uint8_t enabled
Private beacon is enabled.
Definition priv_beacon_cli.h:38
Private Node Identity.
Definition priv_beacon_cli.h:46
uint8_t status
Response status code.
Definition priv_beacon_cli.h:52
uint8_t state
Private Node Identity state.
Definition priv_beacon_cli.h:50
uint16_t net_idx
Index of the NetKey.
Definition priv_beacon_cli.h:48