A2D_FindService() function
* Function A2D_FindService * Description This function is called by a client application to * perform service discovery and retrieve SRC or SNK SDP * record information from a server. Information is * returned for the first service record found on the * server that matches the service UUID. The callback * function will be executed when service discovery is * complete. There can only be one outstanding call to * A2D_FindService() at a time; the application must wait * for the callback before it makes another call to * the function. * Input Parameters: * service_uuid: Indicates SRC or SNK. * bd_addr: BD address of the peer device. * p_db: Pointer to the information to initialize * the discovery database. * p_cback: Pointer to the A2D_FindService() * callback function. * Output Parameters: * None. * Returns A2D_SUCCESS if function execution succeeded, * A2D_INVALID_PARAMS if bad parameters are given. * A2D_BUSY if discovery is already in progress. * A2D_FAIL if function execution failed.
A2D_FindService() is called by 1 function and calls 4 functions:
![]()
A2D_FindService()
A2D_FindService() reads 11 variables and writes 7 variables:
![]()
A2D_FindService()