Zephyr Project API
3.4.0
A Scalable Open Source RTOS
|
Data Structures | |
struct | bt_mesh_od_priv_proxy_cli |
Macros | |
#define | BT_MESH_MODEL_OD_PRIV_PROXY_CLI(cli_data) |
On-Demand Private Proxy Client model composition data entry. More... | |
Functions | |
int | bt_mesh_od_priv_proxy_cli_get (struct bt_mesh_msg_ctx *ctx, uint8_t *val_rsp) |
Get the target's On-Demand Private GATT Proxy state. More... | |
int | bt_mesh_od_priv_proxy_cli_set (struct bt_mesh_msg_ctx *ctx, uint8_t val, uint8_t *val_rsp) |
Set the target's On-Demand Private GATT Proxy state. More... | |
void | bt_mesh_od_priv_proxy_cli_timeout_set (int32_t timeout) |
Set the transmission timeout value. More... | |
#define BT_MESH_MODEL_OD_PRIV_PROXY_CLI | ( | cli_data | ) |
#include <include/zephyr/bluetooth/mesh/od_priv_proxy_cli.h>
On-Demand Private Proxy Client model composition data entry.
int bt_mesh_od_priv_proxy_cli_get | ( | struct bt_mesh_msg_ctx * | ctx, |
uint8_t * | val_rsp | ||
) |
#include <include/zephyr/bluetooth/mesh/od_priv_proxy_cli.h>
Get the target's On-Demand Private GATT Proxy state.
This method can be used asynchronously by setting val_rsp
as NULL. This way the method will not wait for response and will return immediately after sending the command.
To process the response arguments of an async method, register the od_status
callback in bt_mesh_od_priv_proxy_cli
struct.
ctx | Message context for the message. |
val_rsp | Response buffer for On-Demand Private GATT Proxy value. |
int bt_mesh_od_priv_proxy_cli_set | ( | struct bt_mesh_msg_ctx * | ctx, |
uint8_t | val, | ||
uint8_t * | val_rsp | ||
) |
#include <include/zephyr/bluetooth/mesh/od_priv_proxy_cli.h>
Set the target's On-Demand Private GATT Proxy state.
This method can be used asynchronously by setting val_rsp
as NULL. This way the method will not wait for response and will return immediately after sending the command.
To process the response arguments of an async method, register the od_status
callback in bt_mesh_od_priv_proxy_cli
struct.
ctx | Message context for the message. |
val | On-Demand Private GATT Proxy state to be set |
val_rsp | Response buffer for On-Demand Private GATT Proxy value. |
void bt_mesh_od_priv_proxy_cli_timeout_set | ( | int32_t | timeout | ) |
#include <include/zephyr/bluetooth/mesh/od_priv_proxy_cli.h>
Set the transmission timeout value.
timeout | The new transmission timeout in milliseconds. |