Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Channel Sounding (CS)

Channel Sounding (CS) . More...

Data Structures

struct  bt_cs_set_default_settings_param
 Default CS settings in the local Controller. More...
 

Enumerations

enum  bt_cs_sync_antenna_selection_opt {
  BT_CS_ANTENNA_SELECTION_OPT_ONE = BT_HCI_OP_LE_CS_ANTENNA_SEL_ONE , BT_CS_ANTENNA_SELECTION_OPT_TWO = BT_HCI_OP_LE_CS_ANTENNA_SEL_TWO , BT_CS_ANTENNA_SELECTION_OPT_THREE = BT_HCI_OP_LE_CS_ANTENNA_SEL_THREE , BT_CS_ANTENNA_SELECTION_OPT_FOUR = BT_HCI_OP_LE_CS_ANTENNA_SEL_FOUR ,
  BT_CS_ANTENNA_SELECTION_OPT_REPETITIVE = BT_HCI_OP_LE_CS_ANTENNA_SEL_REP , BT_CS_ANTENNA_SELECTION_OPT_NO_RECOMMENDATION = BT_HCI_OP_LE_CS_ANTENNA_SEL_NONE
}
 

Functions

int bt_cs_set_default_settings (struct bt_conn *conn, const struct bt_cs_set_default_settings_param *params)
 Set Channel Sounding default settings.
 

Detailed Description

Channel Sounding (CS) .

Enumeration Type Documentation

◆ bt_cs_sync_antenna_selection_opt

#include <zephyr/bluetooth/cs.h>

Enumerator
BT_CS_ANTENNA_SELECTION_OPT_ONE 

Use antenna identifier 1 for CS_SYNC packets.

BT_CS_ANTENNA_SELECTION_OPT_TWO 

Use antenna identifier 2 for CS_SYNC packets.

BT_CS_ANTENNA_SELECTION_OPT_THREE 

Use antenna identifier 3 for CS_SYNC packets.

BT_CS_ANTENNA_SELECTION_OPT_FOUR 

Use antenna identifier 4 for CS_SYNC packets.

BT_CS_ANTENNA_SELECTION_OPT_REPETITIVE 

Use antennas in repetitive order from 1 to 4 for CS_SYNC packets.

BT_CS_ANTENNA_SELECTION_OPT_NO_RECOMMENDATION 

No recommendation for local controller antenna selection.

Function Documentation

◆ bt_cs_set_default_settings()

int bt_cs_set_default_settings ( struct bt_conn * conn,
const struct bt_cs_set_default_settings_param * params )

#include <zephyr/bluetooth/cs.h>

Set Channel Sounding default settings.

This command is used to set default Channel Sounding settings for this connection.

Note
To use this API CONFIG_BT_CHANNEL_SOUNDING must be set.
Parameters
connConnection Object.
paramsChannel sounding default settings parameters.
Returns
Zero on success or (negative) error code on failure.