Edzelf / ESP32Radio-V2

New version of the well known ESP32 Radio. Now optional I2S output!
Apache License 2.0
196 stars 48 forks source link

Bluetooth A2D #32

Open tsctrl opened 2 years ago

tsctrl commented 2 years ago

Hi @Edzelf,

do the Bluetooth A2D feature ready? it does mean we could pair mobile phone to esp as external speaker right?

looking forward to try this awesome feature thank you!

Edzelf commented 2 years ago

I don't think this is possible. Using WiFi and BT with only one antenna is too much.

tsctrl commented 2 years ago

i guess antenna is not an issue, just flash space and memory constraints. but i have run both bt and wifi together with 4mb flash it is possible with memory usage and space need to be tweaked by a lot.

by looking at the codes and your capability i guess that should be easy

tsctrl commented 2 years ago

probably adding the where a2d chunk from bt to be feed to the i2s is something that mostly valueable and to have that to work. i did not understand those or know how to do it.

we could just simply turned off the wifi, disable the webserver to use bt or other services such as mdns or mqtt as an option. having all to be working together as a future enhancement.

hope you could shed some light on how is a2d stream could be feed to the chunk and queue for processing so we could start looking into it.

thanks!