Page 1 of 1

HFP Hands-Free example

Posted: Wed Sep 19, 2018 12:41 pm
by rasmus.koldsoe
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?

Re: HFP Hands-Free example

Posted: Thu Nov 15, 2018 1:29 am
by 沫沫时光time
Hi,
I meet the same question. Do you resolve it? if you resolve, can you tell me how to resolve it? thanks.

Re: HFP Hands-Free example

Posted: Thu Nov 15, 2018 2:52 am
by blueMoodBHD
Hi all,
This is a misspelling in description, actually it is:
```
Connect to remote bluetooth HFP audio gateway(AG) device, must after esp_hf_client_init().
```