Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Bluetooth Mesh . More...
Data Structures | |
struct | bt_mesh_sar_cfg_cli |
Mesh SAR Configuration Client Model Context. More... | |
Macros | |
#define | BT_MESH_MODEL_SAR_CFG_CLI(_cli) |
SAR Configuration Client model composition data entry. | |
Functions | |
int | bt_mesh_sar_cfg_cli_transmitter_get (uint16_t net_idx, uint16_t addr, struct bt_mesh_sar_tx *rsp) |
Get the SAR Transmitter state of the target node. | |
int | bt_mesh_sar_cfg_cli_transmitter_set (uint16_t net_idx, uint16_t addr, const struct bt_mesh_sar_tx *set, struct bt_mesh_sar_tx *rsp) |
Set the SAR Transmitter state of the target node. | |
int | bt_mesh_sar_cfg_cli_receiver_get (uint16_t net_idx, uint16_t addr, struct bt_mesh_sar_rx *rsp) |
Get the SAR Receiver state of the target node. | |
int | bt_mesh_sar_cfg_cli_receiver_set (uint16_t net_idx, uint16_t addr, const struct bt_mesh_sar_rx *set, struct bt_mesh_sar_rx *rsp) |
Set the SAR Receiver state of the target node. | |
int32_t | bt_mesh_sar_cfg_cli_timeout_get (void) |
Get the current transmission timeout value. | |
void | bt_mesh_sar_cfg_cli_timeout_set (int32_t timeout) |
Set the transmission timeout value. | |
Bluetooth Mesh .
#define BT_MESH_MODEL_SAR_CFG_CLI | ( | _cli | ) |
#include <zephyr/bluetooth/mesh/sar_cfg_cli.h>
SAR Configuration Client model composition data entry.
[in] | _cli | Pointer to a Bluetooth Mesh SAR Configuration Client Model instance. |
int bt_mesh_sar_cfg_cli_receiver_get | ( | uint16_t | net_idx, |
uint16_t | addr, | ||
struct bt_mesh_sar_rx * | rsp ) |
#include <zephyr/bluetooth/mesh/sar_cfg_cli.h>
Get the SAR Receiver state of the target node.
net_idx | Network index to encrypt with. |
addr | Target node address. |
rsp | Status response parameter. |
int bt_mesh_sar_cfg_cli_receiver_set | ( | uint16_t | net_idx, |
uint16_t | addr, | ||
const struct bt_mesh_sar_rx * | set, | ||
struct bt_mesh_sar_rx * | rsp ) |
#include <zephyr/bluetooth/mesh/sar_cfg_cli.h>
Set the SAR Receiver state of the target node.
net_idx | Network index to encrypt with. |
addr | Target node address. |
set | New SAR Receiver state to set on the target node. |
rsp | Status response parameter. |
int32_t bt_mesh_sar_cfg_cli_timeout_get | ( | void | ) |
#include <zephyr/bluetooth/mesh/sar_cfg_cli.h>
Get the current transmission timeout value.
void bt_mesh_sar_cfg_cli_timeout_set | ( | int32_t | timeout | ) |
#include <zephyr/bluetooth/mesh/sar_cfg_cli.h>
Set the transmission timeout value.
timeout | The new transmission timeout. |
int bt_mesh_sar_cfg_cli_transmitter_get | ( | uint16_t | net_idx, |
uint16_t | addr, | ||
struct bt_mesh_sar_tx * | rsp ) |
#include <zephyr/bluetooth/mesh/sar_cfg_cli.h>
Get the SAR Transmitter state of the target node.
net_idx | Network index to encrypt with. |
addr | Target node address. |
rsp | Status response parameter. |
int bt_mesh_sar_cfg_cli_transmitter_set | ( | uint16_t | net_idx, |
uint16_t | addr, | ||
const struct bt_mesh_sar_tx * | set, | ||
struct bt_mesh_sar_tx * | rsp ) |
#include <zephyr/bluetooth/mesh/sar_cfg_cli.h>
Set the SAR Transmitter state of the target node.
net_idx | Network index to encrypt with. |
addr | Target node address. |
set | New SAR Transmitter state to set on the target node. |
rsp | Status response parameter. |