Hi All,
For A3DPDemo_SRC, I add in the SendPassThroughCommand to try to control the vokume up/down on the paired Bluetooth speaker. It returns with status
(-2033) BTAUD_ERROR_REMOTE_CONTROL_ROLE_NOT_INITIALIZED
I checked the Initialize_Source() and find the following lines:
------ start -------------
/* Initialize the stream configuration supported format list. */
BTPS_MemCopy(InitializationInfoSRC.StreamFormat, AudioSRCSupportedFormats, sizeof(AudioSRCSupportedFormats));
/* Set up the remote control role configuration. */
RemoteControlRoleInfo.SupportedFeaturesFlags = SDP_AVRCP_SUPPORTED_FEATURES_CONTROLLER_CATEGORY_1;
RemoteControlRoleInfo.ProviderName = "Stonestreet One";
RemoteControlRoleInfo.ServiceName = "MSP430 A3DP Source";
/* Set up the remaining AVRCP Controller configuration. */
InitializationInfoAVR.InitializationFlags = 0;
InitializationInfoAVR.TargetRoleInfo = &RemoteControlRoleInfo;
InitializationInfoAVR.ControllerRoleInfo = NULL;
InitializationInfoAVR.SupportedVersion = apvVersion1_0;
---------- end ---------------
What should I update with this code to get rid of the error?
Thanks,
Henry Nguyen