-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HFP AG example: outgoing callback not triggered (IDFGH-2931) #4967
Comments
@pavestru Thanks for reporting, we will look into. |
Hi, is there any news on this issue? |
Hi. I got the same issue on the newest master. What is the status here? Is it a work in progress? |
Same issue here. The outgoing callback hasn't been called once, but the incoming is firing as expected. |
Just tested on latest pull from My log is just being flooded with the following. Incoming audio (from HFP client) seems ok, but a little glitchy. Certainly nowhere near as stable as A2DP.
From what I can see this is a warning that there is no data in the SCO layer? Not surprising since the callback isn't being called to retrieve the data. |
Just tested on 4.3 and still not working. Is this issue being looked into at Espressif? |
Hi @Alvin1Zhang! Have made any progress on this issue? |
Thanks for the updates, and sorry for slow turnaround, we are still debugging this issue, will share updates once available. Thanks. |
Hi, @pavestru and other users! |
Hi @boblane1! Thank you very much! For everyone else. To reproduce this effect checkout the ESP-IDF at |
Environment
Problem Description
ESP32 connects to a BT headset, receives audio from BT headset (CVSD codec), however, it is not sending audio to the same BT headset. Callback
bt_app_hf_outgoing_cb
(see here) almost never gets called. If it ever does, it is followed by a crash exactly like described in #4794 .Expected Behavior
Callback
bt_app_hf_outgoing_cb
is expected to get called to play the sine wave in the headphones.Actual Behavior
Callback
bt_app_hf_outgoing_cb
is not run at all except very rarely and randomly, followed by crashes exactly like described in #4794 .Steps to reproduce
ESP_LOGI("...");
statement to bothbt_app_hf_outgoing_cb
andbt_app_hf_incoming_cb
Bluedroid Options --> Wide Band Speech
offBR/EDR Sync(SCO/eSCO) Max Connections
to 1 or more (default is 0)make flash monitor
(runs HFP AG example)hf con;
(if not connected yet)hf cona;
Code to reproduce this issue
Example code for callbacks in bt_app_hf.c:
Note
I am using Sony SBH20 and Sony WH-1000XM3 headsets, both have the same behaviour.
Thank you.
The text was updated successfully, but these errors were encountered: