SWRA769 august 2023 CC2564C
The following function is responsible for disabling Sound Enhancement on the Remote Device. This function returns zero on successful execution and a negative value on all errors. This function can be performed only when a valid Service Level Connection exist but no Audio Connection exists.
Including parameters is not necessary when using this command. A parameter has no effect on the outcome of DisableRemoteSoundEnhancement.
"DisableRemoteSoundEnhancement"
HFRE_Disable_Remote_Echo_Cancelation_Noise_Reduction(BluetoothStackID, CurrentClientPortID)
BTPSAPI_DECLARATION int BTPSAPI HFRE_Disable_Remote_Echo_Cancelation_Noise_Reduction(unsigned int BluetoothStackID, unsigned int HFREPortID)
This function is responsible for Disabling Echo Cancelation and Noise Reduction on the Remote Device. This function can be performed by both the Hands-Free unit and the AudioGateway for which a valid Service Level Connection exist but no Audio Connection exists. This function accepts the Bluetooth Stack ID as the input parameters for which the HFRE PortID is valid as well as the HFRE Port ID. This function returns zero if successful or a negative return error code if there was an error.
Enabling this feature once disbled is not possible because the specification provides no means to re-enable this feature. This feature remains disabled until the current Service Level Connection has been dropped.