Bluetooth A2DP Source example? (ESP32 streaming to BT speaker)
Posted: Wed Jun 14, 2017 1:29 pm
Hi,
I understand that the ESP32 uses the Bluedroid Stack which apparently supports A2DP Source and Sink services (please correct me if this is wrong).
The esp-idf contains an a2dp_sink example which works.
If have the following questions:
- Can the ESP32 also act as an audio source, i.e. A2DP Source?
- Is there any example of that? I am looking at the Bluedroid APIs but I do not have the slightest clue how to configure the ESP32 as an A2DP Source.
- Blue sky question: Is the ESP32 able to connect to two separate Bluetooth Speakers and stream audio to them? Is this doable using the Blueddroid stack?
Any hints welcome.
Cheers,
Johannes
I understand that the ESP32 uses the Bluedroid Stack which apparently supports A2DP Source and Sink services (please correct me if this is wrong).
The esp-idf contains an a2dp_sink example which works.
If have the following questions:
- Can the ESP32 also act as an audio source, i.e. A2DP Source?
- Is there any example of that? I am looking at the Bluedroid APIs but I do not have the slightest clue how to configure the ESP32 as an A2DP Source.
- Blue sky question: Is the ESP32 able to connect to two separate Bluetooth Speakers and stream audio to them? Is this doable using the Blueddroid stack?
Any hints welcome.
Cheers,
Johannes