Bluetooth: host: Add API to run conn CTE response HCI command
Add host API to allow execution of HCI_LE_Connection_CTE_Response_- Enable HCI command. Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
fac2c22824
commit
61872da64e
4 changed files with 123 additions and 3 deletions
|
@ -142,6 +142,7 @@ struct bt_df_conn_iq_samples_report {
|
|||
/** Pinter to IQ samples data. */
|
||||
struct bt_hci_le_iq_sample const *sample;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Set or update the Constant Tone Extension parameters for periodic advertising set.
|
||||
*
|
||||
|
@ -217,4 +218,26 @@ int bt_df_conn_cte_rx_enable(struct bt_conn *conn, const struct bt_df_conn_cte_r
|
|||
*/
|
||||
int bt_df_conn_cte_rx_disable(struct bt_conn *conn);
|
||||
|
||||
/**
|
||||
* @brief Enable Constant Tone Extension response procedure for a connection.
|
||||
*
|
||||
* The function is available if @kconfig{CONFIG_BT_DF_CONNECTION_CTE_RSP} is enabled.
|
||||
*
|
||||
* @param conn Connection object.
|
||||
*
|
||||
* @return Zero in case of success, other value in case of failure.
|
||||
*/
|
||||
int bt_df_conn_cte_rsp_enable(struct bt_conn *conn);
|
||||
|
||||
/**
|
||||
* @brief Disable Constant Tone Extension response procedure for a connection.
|
||||
*
|
||||
* The function is available if @kconfig{CONFIG_BT_DF_CONNECTION_CTE_RSP} is enabled.
|
||||
*
|
||||
* @param conn Connection object.
|
||||
*
|
||||
* @return Zero in case of success, other value in case of failure.
|
||||
*/
|
||||
int bt_df_conn_cte_rsp_disable(struct bt_conn *conn);
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_BLUETOOTH_DF_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue