HFP example
HFP example
Hey,
I was just curious if there is any working Hands-Free-Profile (HFP) example which could be used with a2dp_sink or some similar programs? I really love the A2DP support combined with my cars radio system but the lack of phone support is pretty annoying.
If someone could help with with this issue I'd be really grateful
Regards
I was just curious if there is any working Hands-Free-Profile (HFP) example which could be used with a2dp_sink or some similar programs? I really love the A2DP support combined with my cars radio system but the lack of phone support is pretty annoying.
If someone could help with with this issue I'd be really grateful
Regards
Re: HFP example
Hi
I am also very interested in getting information about HFP / HSP profiles for the ESP32.
I'd like to build a handsfree kit for my car, and the ESP32 seemed like a great solution.
Is there any plan to implement the corresponding bluetooth profiles ?
Thanks in advance for your help.
MysterD
I am also very interested in getting information about HFP / HSP profiles for the ESP32.
I'd like to build a handsfree kit for my car, and the ESP32 seemed like a great solution.
Is there any plan to implement the corresponding bluetooth profiles ?
Thanks in advance for your help.
MysterD
Re: HFP example
Still nothing for HFP profile ?
Sorry for the bump...
Sorry for the bump...
Re: HFP example
For one second I thought it got added, thank for ruining my dreams :'Dmysterd wrote:Still nothing for HFP profile ?
Sorry for the bump...
Re: HFP example
Hi,
Do you have hfp example for getting CallerID number or incoming call number.
Thanks.
Do you have hfp example for getting CallerID number or incoming call number.
Thanks.
Re: HFP example
You can get the phone Number by callback function provided in HFP API
use in A2DP example.
Register callback in main.c
use in A2DP example.
Code: Select all
void bt_app_hf_event(esp_hf_client_cb_event_t event, esp_hf_client_cb_param_t *param)
{
switch (event) {
case ESP_HF_CLIENT_CIND_SIGNAL_STRENGTH_EVT:
ESP_LOGI(BT_AV_TAG,"HPF event ESP_HF_CLIENT_CIND_SIGNAL_STRENGTH_EVT : %d", param->signal_strength.value);
break;
case ESP_HF_CLIENT_CLIP_EVT: /*!< Calling Line Identification notification */
ESP_LOGI(BT_AV_TAG,"HPF event ESP_HF_CLIENT_CLIP_EVT : %s", param->clip.number); //Caller number
}
}
Code: Select all
esp_hf_client_init();
esp_hf_client_register_callback(bt_app_hf_event);
Re: HFP example
Did someone got this working?
I already implemented A2DP and AVRC in my car radio with an ESP32. Now i want to expand it to support calls.
Would i need HFP Client or only HFP AG? How about the audio transmission? I already have the connection Phone->ESP through A2DP would this disturb in anyway and would i need a separated mono audio connection for the call?
I already implemented A2DP and AVRC in my car radio with an ESP32. Now i want to expand it to support calls.
Would i need HFP Client or only HFP AG? How about the audio transmission? I already have the connection Phone->ESP through A2DP would this disturb in anyway and would i need a separated mono audio connection for the call?
Re: HFP example
Hey!
I've also been using the AD2P+AVRCP profiles in my car for a few years now. It still works great until this day.
I haven't touched it at all so I unfortunately haven't continued trying to get the HFP profile to work.
As far as I'm concerned HFP won't work with the AD2P stereo channels as the bluetooth bandwidth is not sufficient. It's using two mono channels instead.
Maybe I'll try getting it to work at some point. I'd really love to also have a bluetooth mic for calling.
Please let me know if there's any news on that topic..
cheers!
I've also been using the AD2P+AVRCP profiles in my car for a few years now. It still works great until this day.
I haven't touched it at all so I unfortunately haven't continued trying to get the HFP profile to work.
As far as I'm concerned HFP won't work with the AD2P stereo channels as the bluetooth bandwidth is not sufficient. It's using two mono channels instead.
Maybe I'll try getting it to work at some point. I'd really love to also have a bluetooth mic for calling.
Please let me know if there's any news on that topic..
cheers!
Re: HFP example
Well, beside the ESP in my car i still have two on my desk. So probably i'll try to continue working on this. Gonna let you know once i got it working
Who is online
Users browsing this forum: No registered users and 150 guests