Bluetooth: ISO: Remove bt_iso_chan_get_type() API declaration

The API was never implemented.
The channel type can also be obtained using bt_iso_chan_get_info().
If we would have to implement this API, it would share a lot of the
implementation with bt_iso_chan_get_info().

Removing the API makes the ISO APIs more similar to the ACL APIs
where we don't have a special API to fetch the role.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
This commit is contained in:
Rubin Gerritsen 2023-08-11 08:53:48 +02:00 committed by Carles Cufí
commit b939633f73

View file

@ -982,15 +982,6 @@ struct bt_iso_info {
int bt_iso_chan_get_info(const struct bt_iso_chan *chan,
struct bt_iso_info *info);
/** @brief Get the type of an ISO channel
*
* @param chan Channel object.
*
* @return enum bt_iso_chan_type The type of the channel. If @p is NULL this
* will be BT_ISO_CHAN_TYPE_NONE.
*/
enum bt_iso_chan_type bt_iso_chan_get_type(const struct bt_iso_chan *chan);
/** @brief Get ISO transmission timing info
*
* @details Reads timing information for transmitted ISO packet on an ISO channel.