Hi, working with the absolute volume command under iOs i see from Bluetooth Accessory Design Guidelines for Apple Products this note
If i initialize the AVRCP Controller configuration like this trying to initializate the board as a target
/* Set up the remaining AVRCP Controller configuration. */
InitializationInfoAVR.InitializationFlags = 0;
InitializationInfoAVR.TargetRoleInfo = &RemoteControlRoleInfo;
InitializationInfoAVR.ControllerRoleInfo = NULL;
InitializationInfoAVR.SupportedVersion = apvVersion1_4;
And try to send a command using AUD_Send_Remote_Control_Command the return is:
Error - AUD_Send_Remote_Control_Command() 2 returned -2033. That means BTAUD_ERROR_REMOTE_CONTROL_ROLE_NOT_INITIALIZED
The remote command is initialized like this:
RemoteCommand.MessageType = amtSetAbsoluteVolume;
RemoteCommand.MessageData.SetAbsoluteVolumeCommandData.AbsoluteVolume = absolute_volume;
Someone has more information about the absolute volume command and the initialization as a target? The AUD_Send_Remote_Control_Command function only works if ControllerRolerInfo is set?
