Hi Ti,
We are using the latest Bluetopia stack CC2564CSTBTBLESW v5.1 in our design.
On the new stack, it comes with the AVRCP v1.5 support. But I am not able to get the proper ways to set it up.
The corresponding enum to set the AVRCP-supported version has no mention on AVRCP v1.5.
I am attaching the enum values here.
/*! The underlying Transport for AVRCP is the Audio/Video Control
* Transport Protocol (AVCTP). Rather than duplicate ALL profile
* connection management functions, AVRCP will need to call the
* functions provided in the AVCTP library to perform AVRCP actions.
* This library will merely provide utility functions that can be used
* to build AVRCP messages that can be directly passed to AVCTP
* directly.
* The following enumerated type is used with the
* AVRCP_Register_SDP_Record_Version() function to specify a specific
* AVRCP Version to be supported. This allows a device to only
* support a certain version and not some of the more advanced
* features introduced in later profile versions.
* \note The original SDP Registration function,
* AVRCP_Register_SDP_Record(), merely registers an SDP
* record claiming support for the latest profile version.
*/
typedef enum
{
apvVersion1_0,
apvVersion1_3,
apvVersion1_4
} AVRCP_Version_t;
When we use the AUDAPI to set the A2DP profile as Sink we use the function Initialize_Sink().
I am attaching the initial portion of the function where we have to mention the AVRCP version.
---------------------------------------------------------------------------------------------------------
InitializationInfoAVR.ControllerRoleInfo = &RemoteControlRoleInfo;
InitializationInfoAVR.SupportedVersion = apvVersion1_4;
RemoteControlRoleInfo.ProviderName = (char *)ProviderName;
RemoteControlRoleInfo.ServiceName = (char *)ControllerDescription;
RemoteControlRoleInfo.SupportedFeaturesFlags = SDP_AVRCP_SUPPORTED_FEATURES_CONTROLLER_CATEGORY_3;
----------------------------------------------------------------------------------------------------------------
If I give the InitializationInfoAVR.SupportedVersion = 3 will it make it as AVRCP version 1.5?
If not, what do I have to set to make it AVRCP v1.5?
Regards,
Vishnu