AVRC_AddRecord() function
* Function AVRC_AddRecord * Description This function is called to build an AVRCP SDP record. * Prior to calling this function the application must * call SDP_CreateRecord() to create an SDP record. * Input Parameters: * service_uuid: Indicates TG(UUID_SERVCLASS_AV_REM_CTRL_TARGET) * or CT(UUID_SERVCLASS_AV_REMOTE_CONTROL) * p_service_name: Pointer to a null-terminated character * string containing the service name. * If service name is not used set this to NULL. * p_provider_name: Pointer to a null-terminated character * string containing the provider name. * If provider name is not used set this to NULL. * categories: Supported categories. * sdp_handle: SDP handle returned by SDP_CreateRecord(). * browsing_en: Supported browsing * Output Parameters: * None. * Returns AVRC_SUCCESS if successful. * AVRC_NO_RESOURCES if not enough resources to build the SDP record.
![]()
UINT16 AVRC_AddRecord(UINT16 service_uuid, char *p_service_name, char *p_provider_name,![]()
extern UINT16 AVRC_AddRecord(UINT16 service_uuid, char *p_service_name, char *p_provider_name,![]()
AVRC_AddRecord(service_uuid, service_name, provider_name, categories, bta_ar_cb.sdp_tg_handle, browsing_en);![]()
AVRC_AddRecord(service_uuid, service_name, provider_name, categories, bta_ar_cb.sdp_ct_handle, browsing_en);
AVRC_AddRecord() is called by 1 function and calls 8 functions:
![]()
AVRC_AddRecord()
AVRC_AddRecord() reads 6 variables:
![]()
AVRC_AddRecord()