Zephyr Project API 3.7.0
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
7#ifndef BT_MESH_OD_PRIV_PROXY_CLI_H__
8#define BT_MESH_OD_PRIV_PROXY_CLI_H__
9
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
25 const struct bt_mesh_model *model;
26
27 /* Internal parameters for tracking message responses. */
29
40};
41
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)
49
66
84
90
92extern const struct bt_mesh_model_op _bt_mesh_od_priv_proxy_cli_op[];
93extern const struct bt_mesh_model_cb _bt_mesh_od_priv_proxy_cli_cb;
98#ifdef __cplusplus
99}
100#endif
101
102#endif /* BT_MESH_OD_PRIV_PROXY_CLI_H__ */
ZTEST_BMEM int timeout
Definition main.c:31
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: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
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