Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cs.h
Go to the documentation of this file.
1
5/*
6 * Copyright (c) 2024 Nordic Semiconductor ASA
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 */
10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_CS_H_
11#define ZEPHYR_INCLUDE_BLUETOOTH_CS_H_
12
20#include <stdint.h>
21#include <stdbool.h>
22
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
44
62
75int bt_cs_set_default_settings(struct bt_conn *conn,
76 const struct bt_cs_set_default_settings_param *params);
77
78#ifdef __cplusplus
79}
80#endif
81
86#endif /* ZEPHYR_INCLUDE_BLUETOOTH_CS_H_ */
Bluetooth connection handling.
int bt_cs_set_default_settings(struct bt_conn *conn, const struct bt_cs_set_default_settings_param *params)
Set Channel Sounding default settings.
bt_cs_sync_antenna_selection_opt
Definition cs.h:30
@ BT_CS_ANTENNA_SELECTION_OPT_TWO
Use antenna identifier 2 for CS_SYNC packets.
Definition cs.h:34
@ BT_CS_ANTENNA_SELECTION_OPT_THREE
Use antenna identifier 3 for CS_SYNC packets.
Definition cs.h:36
@ BT_CS_ANTENNA_SELECTION_OPT_REPETITIVE
Use antennas in repetitive order from 1 to 4 for CS_SYNC packets.
Definition cs.h:40
@ BT_CS_ANTENNA_SELECTION_OPT_NO_RECOMMENDATION
No recommendation for local controller antenna selection.
Definition cs.h:42
@ BT_CS_ANTENNA_SELECTION_OPT_ONE
Use antenna identifier 1 for CS_SYNC packets.
Definition cs.h:32
@ BT_CS_ANTENNA_SELECTION_OPT_FOUR
Use antenna identifier 4 for CS_SYNC packets.
Definition cs.h:38
#define BT_HCI_OP_LE_CS_ANTENNA_SEL_ONE
Definition hci_types.h:2406
#define BT_HCI_OP_LE_CS_ANTENNA_SEL_THREE
Definition hci_types.h:2408
#define BT_HCI_OP_LE_CS_ANTENNA_SEL_TWO
Definition hci_types.h:2407
#define BT_HCI_OP_LE_CS_ANTENNA_SEL_NONE
Definition hci_types.h:2411
#define BT_HCI_OP_LE_CS_ANTENNA_SEL_FOUR
Definition hci_types.h:2409
#define BT_HCI_OP_LE_CS_ANTENNA_SEL_REP
Definition hci_types.h:2410
__INT8_TYPE__ int8_t
Definition stdint.h:72
Default CS settings in the local Controller.
Definition cs.h:46
enum bt_cs_sync_antenna_selection_opt cs_sync_antenna_selection
Antenna identifier to be used for CS_SYNC packets by the local controller.
Definition cs.h:53
bool enable_reflector_role
Enable CS reflector role.
Definition cs.h:50
int8_t max_tx_power
Maximum output power (Effective Isotropic Radiated Power) to be used for all CS transmissions.
Definition cs.h:60
bool enable_initiator_role
Enable CS initiator role.
Definition cs.h:48