SWRA769 august 2023 CC2564C
The following function is responsible for sending an enable or disable In-Band Ring Indication to the Remote Hands-Free unit. This function returns zero on successful execution and a negative value on all errors.
The command requires only one parameter. This value must be specified as 0 (for disable) or 1 (for enabling).
HFRE_Enable_Remote_InBand_Ring_Tone_Setting(BluetoothStackID, CurrentClientPortID, TempParam->Params[0].intParam? TRUE : FALSE)
BTPSAPI_DECLARATION int BTPSAPI HFRE_Enable_Remote_InBand_Ring_Tone_Setting(unsigned int BluetoothStackID, unsigned int HFREPortID, Boolean_tEnableInBandRing)
This function is responsible for Enabling or Disabling In-Band Ring Tone Capabilities for the Local Device. This function can only be performed by Audio Gateways for which a validService Level Connection exists. This function can only be used to enable In-Ring Tone Capabilities if the Local Audio Gateway supports this feature. This function accepts as input parameters the Bluetooth Stack ID for which the HFRE Port ID is valid as well as the HFRE Port ID. The final parameter is a Boolean flag specifying if this is a call to Enable or Disable this functionality. This function returns zero if successful or a negative return error code if there was an error.