Bluetooth: AVDTP: Add AVDTP Pending Request
Added a Pending Request structure, this will keep a track of the last sent AVDTP Singnalling Message. This will be used to verify the response from the remote device Memory will be allocated by the application. Change-Id: Ic31df154b52ce9013e5039ab195a9651d1811a7a Signed-off-by: Arun Jagadish <arun.jagadish@intel.com>
This commit is contained in:
parent
f2c44466a4
commit
129a844d63
1 changed files with 7 additions and 0 deletions
|
@ -144,10 +144,17 @@ struct bt_avdtp_event_cb {
|
|||
struct bt_avdtp_cfm_cb *cfm;
|
||||
};
|
||||
|
||||
struct bt_pending_req {
|
||||
uint8_t signal_id;
|
||||
uint8_t transaction_id;
|
||||
struct k_delayed_work timeout_work;
|
||||
};
|
||||
|
||||
/** @brief Global AVDTP session structure. */
|
||||
struct bt_avdtp {
|
||||
struct bt_l2cap_br_chan br_chan;
|
||||
struct bt_avdtp_stream *streams; /* List of AV streams */
|
||||
struct bt_pending_req req;
|
||||
};
|
||||
|
||||
/* Initialize AVDTP layer*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue