BTA_JvGetChannelId() function
* Function BTA_JvGetChannelId * Description This function reserves a SCN (server channel number) for * applications running over RFCOMM, L2CAP of L2CAP_LE. * It is primarily called by server profiles/applications to * register their SCN into the SDP database. The SCN is reported * by the tBTA_JV_DM_CBACK callback with a BTA_JV_GET_SCN_EVT * for RFCOMM channels and BTA_JV_GET_PSM_EVT for L2CAP and LE. * If the SCN/PSM reported is 0, that means all resources are * exhausted. * Parameters * conn_type one of BTA_JV_CONN_TYPE_ * user_data Any uservalue - will be returned in the resulting event. * channel Only used for RFCOMM - to try to allocate a specific RFCOMM * channel. * Returns BTA_JV_SUCCESS, if the request is being processed. * BTA_JV_FAILURE, otherwise.
BTA_JvGetChannelId() is called by 1 function and calls 4 functions:
![]()
BTA_JvGetChannelId()
BTA_JvGetChannelId() reads 4 variables and writes 4 variables:
![]()
BTA_JvGetChannelId()