Commit b939633f authored by Rubin Gerritsen's avatar Rubin Gerritsen Committed by Carles Cufi
Browse files

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: default avatarRubin Gerritsen <rubin.gerritsen@nordicsemi.no>
parent fbabc0cd
Loading
Loading
Loading
Loading
+0 −9
Changes for include/zephyr/bluetooth/iso.h: 0 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -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.