avdt_ad_open_req() function
* Function avdt_ad_open_req * Description This function is called by a CCB or SCB to open a transport * channel. This function allocates and initializes a * transport channel table entry. The channel can be opened * in two roles: as an initiator or acceptor. When opened * as an initiator the function will start an L2CAP connection. * When opened as an acceptor the function simply configures * the table entry to listen for an incoming channel. * Returns Nothing.
![]()
void avdt_ad_open_req(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb, UINT8 role)![]()
extern void avdt_ad_open_req(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb, UINT8 role);![]()
avdt_ad_open_req(AVDT_CHAN_SIG, p_ccb, NULL, AVDT_INT);![]()
avdt_ad_open_req(AVDT_CHAN_MEDIA, p_scb->p_ccb, p_scb, AVDT_INT);![]()
avdt_ad_open_req(AVDT_CHAN_REPORT, p_scb->p_ccb, p_scb, role);![]()
avdt_ad_open_req(AVDT_CHAN_MEDIA, p_scb->p_ccb, p_scb, AVDT_ACP);
avdt_ad_open_req() is called by 4 functions and calls 9 functions:
![]()
avdt_ad_open_req()
avdt_ad_open_req() reads 15 variables and writes 6 variables:
![]()
avdt_ad_open_req()