Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
od_priv_proxy_cli.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_OD_PRIV_PROXY_CLI_H_
14#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_OD_PRIV_PROXY_CLI_H_
15
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
27
31 const struct bt_mesh_model *model;
32
33 /* Internal parameters for tracking message responses. */
35
46};
47
51#define BT_MESH_MODEL_OD_PRIV_PROXY_CLI(cli_data) \
52 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_ON_DEMAND_PROXY_CLI, \
53 _bt_mesh_od_priv_proxy_cli_op, NULL, cli_data, \
54 &_bt_mesh_od_priv_proxy_cli_cb)
55
72
90
96
98extern const struct bt_mesh_model_op _bt_mesh_od_priv_proxy_cli_op[];
99extern const struct bt_mesh_model_cb _bt_mesh_od_priv_proxy_cli_cb;
101
103
104#ifdef __cplusplus
105}
106#endif
107
108#endif /* ZEPHYR_INCLUDE_BLUETOOTH_MESH_OD_PRIV_PROXY_CLI_H_ */
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:635
Model opcode handler.
Definition access.h:182
Abstraction that describes a Mesh Model instance.
Definition access.h:713
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:29
struct bt_mesh_msg_ack_ctx ack_ctx
Definition od_priv_proxy_cli.h:34
const struct bt_mesh_model * model
Solicitation PDU RPL model entry pointer.
Definition od_priv_proxy_cli.h:31
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:45