Hi community, I’m trying to use Bluetooth HFP_AG in my open-source D-Star (trans)receiver ESP32 project. The RX and TX works fine with arduino github. Now I’ve ported everything to framework = espidf, arduino and struggling getting HFP_AG to work. The gist of my problem is that platformio uses wrong framework directory: /firstname.lastname@example.org/ instead of /home/libor/.platformio/packages/framework-espidf/
This is correct. Building Arduino-ESP32 in the idf-release/v4.0 branch requires ESP-IDF v4.0 to work, so PlatformIO is using the pacakge version for 4.0.1 (that’s what 40001 encodes).
If you are sure you need another ESP-IDF version you need to use platform_packages with framework-espidfsourced from one of the other available versions, but then you also probably need a different arduino branch.
I see. The original directory .platformio/packages/framework-espidf was from the Vanilla clone when I was trying HFP_AG with a plain espidf framework. The platform_packages I’m already using to workaround a known Failed to resolve component ‘tinyusb’ issue.
When choosing another existing branch: platform_packages = framework-arduinoespressif32 @ https://github.com/marcovannoord/arduino-esp32.git#idf-release/v4.2 I’m then stuck in vicious circle.
Also the best would for me to wait until framework-arduinoespressif32 became updated or HFP_AG supported by the Arduino.