ESP32_MP3_Decoder icon indicating copy to clipboard operation
ESP32_MP3_Decoder copied to clipboard

No bluetooth speaker mode in menuconfig

Open aadnesd opened this issue 5 years ago • 4 comments

Hi, there is no bluetooth speaker mode in menuconfig. I got to enable classic BT and A2DP in component config, but there is no BT speaker mode anywhere. I looked in the Kconfig file and it looks like it should definitely be under "Web Radio/BT Speaker", and it also looks like the BT_SPEAKER MODE part is wrong when comparing to WIFI Config and Audio Output which I'm able to see in menuconfig. I've tried to change the Kconfig file, but I'm not able to do so and still run make menuconfig.

aadnesd avatar Jun 28 '19 09:06 aadnesd

I eventually got the option of selecting BT_SPEAKER_MODE after just trying different things in the Kconfig. However, now I get a whole lot of errors when I try to flash, very possible because of how I set the Kconfig. I see that BT_SPEAKER_MODE has been activated as the first error is in bt_speaker.h.

aadnesd avatar Jun 28 '19 10:06 aadnesd

Same problem here. Option is not available. Any idea what you made to get it?

vedranMv avatar Jul 08 '19 20:07 vedranMv

Got it working. Here are the steps:

  • Replace esp-idf with v3.2.2 (as per #67 ): https://github.com/espressif/esp-idf/releases (just download .zip and unpack it instead of your current esp-idf)

  • Run make menuconfig

  • Component config->Bluetooth->Bluetooth controller->Bluetooth controller mode (enable dual mode) (Otherwise you get error message BT_AV: bt_speaker_start enable controller failed on the serial port during startup) Capture1

  • Component config->Bluetooth->Bluedroid enable->Classic Bluetooth & A2DP

  • Web radio / Bluetooth speaker -> Bluetooth speaker mode (now visible)

vedranMv avatar Jul 09 '19 04:07 vedranMv

As far as I noticed there was no BT speaker mode until after I selected Classic Bluetooth, and enabled A2DP. Then go back to the Web Radio section and it appears.

pallsopp avatar Feb 10 '20 04:02 pallsopp