esp_hf_client_query_current_calls() function
Query list of current calls in AG(send AT+CLCC command). As a precondition to use this API, Service Level Connection shall exist with AG.
Syntax
esp_err_t esp_hf_client_query_current_calls(void); Return value
- ESP_OK: query of current calls is sent to lower layer - ESP_ERR_INVALID_STATE: if bluetooth stack is not yet enabled - ESP_FAIL: others
esp_hf_client_query_current_calls() calls 2 functions:
![]()
esp_hf_client_query_current_calls()
esp_hf_client_query_current_calls() reads 5 variables and writes 3 variables:
![]()
esp_hf_client_query_current_calls()