AVDT_GetCapReq() function
* Function AVDT_GetCapReq * Description This function initiates a connection to the AVDTP service * on the peer device, if not already present, and gets the * capabilities of a stream endpoint on the peer device. * This function can be called at any time regardless of * whether there is an AVDTP connection to the peer device. * When the procedure is complete, an AVDT_GETCAP_CFM_EVT is * sent to the application via its callback function. The * application must not call AVDT_GetCapReq() or * AVDT_DiscoverReq() again until the procedure is complete. * The memory pointed to by p_cfg is allocated by the * application. This memory is written to by AVDTP as part * of the get capabilities procedure. This memory must * remain accessible until the application receives * the AVDT_GETCAP_CFM_EVT. * Returns AVDT_SUCCESS if successful, otherwise error.