Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
|
4.1.99 |
Bluetooth Channel Sounding handling. More...
#include <stdint.h>
#include <stdbool.h>
#include <zephyr/bluetooth/hci_types.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/net_buf.h>
#include <zephyr/sys/util_macro.h>
Go to the source code of this file.
Data Structures | |
struct | bt_le_cs_set_default_settings_param |
Default CS settings in the local Controller. More... | |
struct | bt_le_cs_test_param |
CS Test parameters. More... | |
struct | bt_le_cs_create_config_params |
CS Create Config params. More... | |
struct | bt_le_cs_test_cb |
Callbacks for CS Test. More... | |
struct | bt_le_cs_subevent_step |
Subevent result step. More... | |
struct | bt_le_cs_iq_sample |
Sign-extended IQ value extracted from step data. More... | |
struct | bt_le_cs_procedure_enable_param |
struct | bt_le_cs_set_procedure_parameters_param |
Macros | |
#define | BT_LE_CS_CHANNEL_BIT_GET(chmap, bit) |
Macro for getting a specific channel bit in CS channel map. | |
#define | BT_LE_CS_CHANNEL_BIT_SET_VAL(chmap, bit, val) |
Macro for setting a specific channel bit value in CS channel map. | |
#define | BT_LE_CS_PROCEDURE_PREFERRED_PEER_ANTENNA_1 BIT(0) |
#define | BT_LE_CS_PROCEDURE_PREFERRED_PEER_ANTENNA_2 BIT(1) |
#define | BT_LE_CS_PROCEDURE_PREFERRED_PEER_ANTENNA_3 BIT(2) |
#define | BT_LE_CS_PROCEDURE_PREFERRED_PEER_ANTENNA_4 BIT(3) |
Functions | |
struct bt_le_cs_iq_sample | bt_le_cs_parse_pct (const uint8_t pct[3]) |
Extract in-phase and quadrature terms from HCI-formatted PCT. | |
void | bt_le_cs_set_valid_chmap_bits (uint8_t channel_map[10]) |
Set all valid channel map bits. | |
int | bt_le_cs_read_remote_supported_capabilities (struct bt_conn *conn) |
Read Remote Supported Capabilities. | |
int | bt_le_cs_set_default_settings (struct bt_conn *conn, const struct bt_le_cs_set_default_settings_param *params) |
Set Channel Sounding default settings. | |
int | bt_le_cs_read_remote_fae_table (struct bt_conn *conn) |
Read Remote FAE Table. | |
int | bt_le_cs_test_cb_register (struct bt_le_cs_test_cb cs_test_cb) |
Register callbacks for the CS Test mode. | |
int | bt_le_cs_start_test (const struct bt_le_cs_test_param *params) |
Start a CS test. | |
int | bt_le_cs_create_config (struct bt_conn *conn, struct bt_le_cs_create_config_params *params, enum bt_le_cs_create_config_context context) |
Create CS configuration. | |
int | bt_le_cs_remove_config (struct bt_conn *conn, uint8_t config_id) |
Create CS configuration. | |
int | bt_le_cs_stop_test (void) |
Stop ongoing CS Test. | |
void | bt_le_cs_step_data_parse (struct net_buf_simple *step_data_buf, bool(*func)(struct bt_le_cs_subevent_step *step, void *user_data), void *user_data) |
Parse CS Subevent Step Data. | |
int | bt_le_cs_security_enable (struct bt_conn *conn) |
CS Security Enable. | |
int | bt_le_cs_procedure_enable (struct bt_conn *conn, const struct bt_le_cs_procedure_enable_param *params) |
CS Procedure Enable. | |
int | bt_le_cs_set_procedure_parameters (struct bt_conn *conn, const struct bt_le_cs_set_procedure_parameters_param *params) |
CS Set Procedure Parameters. | |
int | bt_le_cs_set_channel_classification (uint8_t channel_classification[10]) |
CS Set Channel Classification. | |
int | bt_le_cs_read_local_supported_capabilities (struct bt_conn_le_cs_capabilities *ret) |
CS Read Local Supported Capabilities. | |
int | bt_le_cs_write_cached_remote_supported_capabilities (struct bt_conn *conn, const struct bt_conn_le_cs_capabilities *params) |
CS Write Cached Remote Supported Capabilities. | |
int | bt_le_cs_write_cached_remote_fae_table (struct bt_conn *conn, int8_t remote_fae_table[72]) |
CS Write Cached Remote FAE Table. | |
int | bt_le_cs_get_antenna_path (uint8_t n_ap, uint8_t antenna_path_permutation_index, uint8_t tone_index) |
Get antenna path used for the CS tone exchange when using multiple antenna paths for mode-2 or mode-3 CS procedure. | |
Bluetooth Channel Sounding handling.