esp_hf_client_stop_voice_recognition() function
Disable voice recognition in the AG. As a precondition to use this API, Service Level Connection shall exist with AG.
Syntax
esp_err_t esp_hf_client_stop_voice_recognition(void); Return value
- ESP_OK: stopping voice recognition is sent to lower layer - ESP_ERR_INVALID_STATE: if bluetooth stack is not yet enabled - ESP_FAIL: others
esp_hf_client_stop_voice_recognition() calls 2 functions:
![]()
esp_hf_client_stop_voice_recognition()
esp_hf_client_stop_voice_recognition() reads 5 variables and writes 3 variables:
![]()
esp_hf_client_stop_voice_recognition()