Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Data Structures | |
struct | bt_mesh_priv_beacon |
Private Beacon. More... | |
struct | bt_mesh_priv_node_id |
Private Node Identity. More... | |
struct | bt_mesh_priv_beacon_cli_cb |
Private Beacon Client Status messages callbacks. More... | |
struct | bt_mesh_priv_beacon_cli |
Mesh Private Beacon Client model. More... | |
Macros | |
#define | BT_MESH_MODEL_PRIV_BEACON_CLI(cli_data) |
Private Beacon Client model composition data entry. | |
Functions | |
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_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_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_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_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_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. | |
#define BT_MESH_MODEL_PRIV_BEACON_CLI | ( | cli_data | ) |
#include <zephyr/bluetooth/mesh/priv_beacon_cli.h>
Private Beacon Client model composition data entry.
cli_data | Pointer to a Bluetooth Mesh Private Beacon Client instance. |
#include <zephyr/bluetooth/mesh/priv_beacon_cli.h>
Get the target's Private GATT Proxy state.
net_idx | Network index to encrypt with. |
addr | Target node address. |
val | Response buffer for Private GATT Proxy value. |
int bt_mesh_priv_beacon_cli_gatt_proxy_set | ( | uint16_t | net_idx, |
uint16_t | addr, | ||
uint8_t | val, | ||
uint8_t * | rsp ) |
#include <zephyr/bluetooth/mesh/priv_beacon_cli.h>
Set the target's Private GATT Proxy state.
This method can be used asynchronously by setting rsp
as NULL. This way the method will not wait for response and will return immediately after sending the command.
net_idx | Network index to encrypt with. |
addr | Target node address. |
val | New Private GATT Proxy value. |
rsp | If set, returns response status on success. |
int bt_mesh_priv_beacon_cli_get | ( | uint16_t | net_idx, |
uint16_t | addr, | ||
struct bt_mesh_priv_beacon * | val ) |
#include <zephyr/bluetooth/mesh/priv_beacon_cli.h>
Get the target's Private Beacon state.
net_idx | Network index to encrypt with. |
addr | Target node address. |
val | Response buffer for Private Beacon value. |
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 ) |
#include <zephyr/bluetooth/mesh/priv_beacon_cli.h>
Get the target's Private Node Identity state.
net_idx | Network index to encrypt with. |
addr | Target node address. |
key_net_idx | Network index to get the Private Node Identity state of. |
val | Response buffer for Private Node Identity value. |
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 ) |
#include <zephyr/bluetooth/mesh/priv_beacon_cli.h>
Set the target's Private Node Identity state.
This method can be used asynchronously by setting rsp
as NULL. This way the method will not wait for response and will return immediately after sending the command.
net_idx | Network index to encrypt with. |
addr | Target node address. |
val | New Private Node Identity value. |
rsp | If set, returns response status on success. |
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 ) |
#include <zephyr/bluetooth/mesh/priv_beacon_cli.h>
Set the target's Private Beacon state.
This method can be used asynchronously by setting rsp
as NULL. This way the method will not wait for response and will return immediately after sending the command.
net_idx | Network index to encrypt with. |
addr | Target node address. |
val | New Private Beacon value. |
rsp | If set, returns response status on success. |