Open BigJk opened 2 years ago
After further testing I can confirm that the problem only appears on the "ESP32-LyraTD-MSC_A V2.2". The "ESP32-LyraT-Mini_v1.2" is working as expected.
Hi @BigJk
Thanks for your report, I will check and try to reproduce the issue.
Enviroment
Problem
I want to use the hfp client functions like
esp_hf_client_answer_call
,esp_hf_client_dial
. Unfortunately they stop working after 1 or 2 uses. I mapped the Buttons on the Board to the functions so I can easily try it out. This happens both in thepipeline_a2dp_sink_and_hfp
example and in a own program that ONLY uses HFP. Both show different logs but same core problem.Expected Behaviour
Actual Behaviour
Steps to reproduce
pipeline_a2dp_sink_and_hfp
exampleButton Code
Debug Logs: pipeline_a2dp_sink_and_hfp
AUDIO_EVT: There is no space in external queue
will be printed on button presses.Debug Logs: Own only hfp version
The first first (
[ * ] CALL
) works. The mobile device starts the call, but after that no call toesp_hf_client_*
has any effect anymore. As you can see after the first call thebtc_transfer_context
keeps passing the messages, but never starts handling them (btc_thread_handler
) again. This will lead to memory allocations per button press that never get free'ed again as the messages never get handled and no HFP function is ever executed again.What might be the reason that the
btc_
layer stops handling messages?