Page 1 of 1

HFP-AG with ADF

Posted: Fri Oct 22, 2021 10:08 pm
by johndohe
Hello,
first of all I am new to ESP32 programming, so please forgive my inexperience.
I have a LyraT V4.3 and I am trying to create a HFP-AG with on-board-audio-chip support. I saw that there is an example of a HFP-client inside the esp-adf folder (path: "examples/player/pipeline_hfp_stream/") with codec support but I couldn't find any AG sample code. Inside the esp-idf folder there is an example for the AG and the client (path: examples/bluetooth/bluedroid/classic_bt/hfp_hf and hfp_ag) but with no codec support.
What is the best way to create a HFP-AG with codec support? Is it recommended to start with the esp-idf AG example and import the audio codec code or do I need to start with the esp-adf HFP-client example and create a new project for the AG following those guidelines?