HFP Hands-Free example

rasmus.koldsoe
Posts: 1
Joined: Wed Sep 19, 2018 11:48 am

HFP Hands-Free example

Postby rasmus.koldsoe » 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?

沫沫时光time
Posts: 1
Joined: Tue Nov 06, 2018 2:43 pm

Re: HFP Hands-Free example

Postby 沫沫时光time » Thu Nov 15, 2018 1:29 am

Hi,
I meet the same question. Do you resolve it? if you resolve, can you tell me how to resolve it? thanks.

blueMoodBHD
Posts: 5
Joined: Wed Nov 07, 2018 3:47 am

Re: HFP Hands-Free example

Postby blueMoodBHD » Thu Nov 15, 2018 2:52 am

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().
```

Return to “ESP32 IDF”

Who is online

Users browsing this forum: No registered users and 12 guests