Bluetooth: AVDTP: Add AV-Stream data structure
AV-Stream Data structure added to AVDTP structure. Change-Id: Icb6ae80e84b49e8a800c99e7f004b43a0fa6c043 Signed-off-by: Arun Jagadish <arun.jagadish@intel.com>
This commit is contained in:
parent
6ca9390e4d
commit
7f6a059a36
2 changed files with 10 additions and 1 deletions
|
@ -48,6 +48,15 @@ struct bt_avdtp_seid_lsep {
|
||||||
struct bt_avdtp_seid_lsep *next;
|
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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -147,7 +147,7 @@ struct bt_avdtp_event_cb {
|
||||||
/** @brief Global AVDTP session structure. */
|
/** @brief Global AVDTP session structure. */
|
||||||
struct bt_avdtp {
|
struct bt_avdtp {
|
||||||
struct bt_l2cap_br_chan br_chan;
|
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*/
|
/* Initialize AVDTP layer*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue