esp_hf_client_start_voice_recognition() function
Enable 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_start_voice_recognition(void); Return value
- ESP_OK: starting voice recognition is sent to lower layer - ESP_ERR_INVALID_STATE: if bluetooth stack is not yet enabled - ESP_FAIL: others
Examples
esp_hf_client_start_voice_recognition() is referenced by 1 libraries and example projects: