HFP Hands-Free example
Posted: Wed Sep 19, 2018 12:41 pm
Since v3.1 release includes the Hands-Free Profile (HFP) I have lately been looking into writing an application for this profile. No examples exists yet, so I have a bit of code to read and understand to do this.
So far I have found out that the HFP and A2DP are closely coupled, and there is even a reference to a call in one of the .h files relating to a2d api.
In esp_hf_client_api.h line 329 in the description to esp_hf_client_connect() call it says: Connect to remote bluetooth HFP audio gateway(AG) device, must after esp_a2d_hf_client_init().
I have not been able to find esp_a2d_hf_client_init() function call anywhere in the esp-idf-v3.1 repository, can anyone help me either locate the function call or correct the h file?
So far I have found out that the HFP and A2DP are closely coupled, and there is even a reference to a call in one of the .h files relating to a2d api.
In esp_hf_client_api.h line 329 in the description to esp_hf_client_connect() call it says: Connect to remote bluetooth HFP audio gateway(AG) device, must after esp_a2d_hf_client_init().
I have not been able to find esp_a2d_hf_client_init() function call anywhere in the esp-idf-v3.1 repository, can anyone help me either locate the function call or correct the h file?