Skip to content

Commit 3173634

Browse files
bugo-nordicivaniushkov
authored andcommitted
[nrf fromtree] bluetooth: host: Use consistent API naming for CS
This change adds bt_le_cs prefix to public CS API as well as adding le_cs prefix to CS related bt_conn callbacks. This is to ensure consistency within CS API while maintaining the separation between the Bluetooth LE and Classic features. Signed-off-by: Burak Gorduk <[email protected]> (cherry picked from commit 6e3c3f6)
1 parent 61ab7e6 commit 3173634

File tree

6 files changed

+148
-144
lines changed

6 files changed

+148
-144
lines changed

include/zephyr/bluetooth/conn.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1644,8 +1644,8 @@ struct bt_conn_cb {
16441644
* @param conn Connection object.
16451645
* @param remote_cs_capabilities Remote Channel Sounding Capabilities.
16461646
*/
1647-
void (*remote_cs_capabilities_available)(struct bt_conn *conn,
1648-
struct bt_conn_le_cs_capabilities *params);
1647+
void (*le_cs_remote_capabilities_available)(struct bt_conn *conn,
1648+
struct bt_conn_le_cs_capabilities *params);
16491649

16501650
/** @brief LE CS Read Remote FAE Table Complete event.
16511651
*
@@ -1655,8 +1655,8 @@ struct bt_conn_cb {
16551655
* @param conn Connection object.
16561656
* @param params FAE Table.
16571657
*/
1658-
void (*remote_cs_fae_table_available)(struct bt_conn *conn,
1659-
struct bt_conn_le_cs_fae_table *params);
1658+
void (*le_cs_remote_fae_table_available)(struct bt_conn *conn,
1659+
struct bt_conn_le_cs_fae_table *params);
16601660

16611661
/** @brief LE CS Config created.
16621662
*

0 commit comments

Comments
 (0)