esp_hf_client_answer_call() function
Answer an incoming call(send ATA command). As a precondition to use this API, Service Level Connection shall exist with AG.
Return value
- ESP_OK: a call answering is sent to lower layer - ESP_ERR_INVALID_STATE: if bluetooth stack is not yet enabled - ESP_FAIL: others
Examples
esp_hf_client_answer_call() is referenced by 1 libraries and example projects: