diff --git a/include/bluetooth/avdtp.h b/include/bluetooth/avdtp.h index b750fb26899..3fb3560a6ab 100644 --- a/include/bluetooth/avdtp.h +++ b/include/bluetooth/avdtp.h @@ -48,6 +48,15 @@ struct bt_avdtp_seid_lsep { struct bt_avdtp_seid_lsep *next; }; +/** @brief AVDTP Stream */ +struct bt_avdtp_stream { + struct bt_l2cap_br_chan chan; /* Transport Channel*/ + struct bt_avdtp_seid_info lsep; /* Configured Local SEP */ + struct bt_avdtp_seid_info rsep; /* Configured Remote SEP*/ + uint8_t state; /* current state of the stream */ + struct bt_avdtp_stream *next; +}; + #ifdef __cplusplus } #endif diff --git a/subsys/bluetooth/host/avdtp_internal.h b/subsys/bluetooth/host/avdtp_internal.h index 864dda366ec..0c8883a7cf0 100644 --- a/subsys/bluetooth/host/avdtp_internal.h +++ b/subsys/bluetooth/host/avdtp_internal.h @@ -147,7 +147,7 @@ struct bt_avdtp_event_cb { /** @brief Global AVDTP session structure. */ struct bt_avdtp { struct bt_l2cap_br_chan br_chan; - uint8_t state; /* current state of AVDTP*/ + struct bt_avdtp_stream *streams; /* List of AV streams */ }; /* Initialize AVDTP layer*/