Open eni23 opened 7 months ago
Additional info: the linking also fails with esp-idf
on master
branch
Hi, can you show me the contents of the sdkconfig
?
Hi, can you show me the contents of the
sdkconfig
?
Sure (i hope the sdkconfig.defaults
) is enough:
CONFIG_BT_ENABLED=y
CONFIG_BT_BLE_ENABLED=n
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=y
CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN=1
CONFIG_BT_BLUEDROID_ENABLED=y
CONFIG_BT_CLASSIC_ENABLED=y
CONFIG_BT_HFP_ENABLE=y
CONFIG_BT_HFP_CLIENT_ENABLE=y
Hi, please add CONFIG_BT_A2DP_ENABLE=y
in sdkconfig.defaults
, and then recompile.
@esp-qing
Yes this does work. Unfortunately, it seems never to connect to the RC with only using HFP. Can you confirm that while its intended by the Bluetooth specs to use HFP together with AVRCP its not possible to do that in esp-idf?
Hi, @eni23 In esp-idf, enabling both AVRCP and A2DP is required simultaneously. It is currently not possible to use AVRCP independently, as the initialization of AVRCP is integrated within the A2DP initialization function. It is possible to use HFP together with A2DP in esp-idf and would this meet your needs?
Answers checklist.
IDF version.
v5.1.2
Espressif SoC revision.
ESP32-D0WD-V3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
esp32-lyrat-mini v1.2
Power Supply used.
USB
What is the expected behavior?
Compilation & linking suceeds
What is the actual behavior?
linking fails with:
Steps to reproduce.
On latest stable IDF (
v5.1.2
), i cannot use the BT AVRCP functions.My
CMakeLists.txt
hasREQUIRE bt
inserted, but when i try to use it:It compiles correctly, but the linking fails:
any ideas why?
Debug Logs.
No response
More Information.
No response