How to use simultaneously A2D, AVRC and SPP in a ESP32?

riccardo.brue
Posts: 10
Joined: Fri Jun 21, 2019 1:49 pm

How to use simultaneously A2D, AVRC and SPP in a ESP32?

Postby riccardo.brue » Thu Feb 13, 2020 5:16 pm

Hi, I have the task to create a little device which is capable to send/receive data through SPP and then to simultaneously stream audio data through A2C/AVRC bluetooth protocols. Is that possible? I was looking to classic bluetooth examples in the repository, but I don't know how to "merge" these two bluetooth stacks in order to run simultaneously.

Another future job should be to use also the GATT stack; will this be possible while running the other three stacks? If yes, could you please provide some initialisation codes? I will appreaciate a lot, thank you.

theaudioguy
Posts: 1
Joined: Mon Feb 01, 2021 9:50 pm

Re: How to use simultaneously A2D, AVRC and SPP in a ESP32?

Postby theaudioguy » Mon Feb 01, 2021 9:53 pm

Hi, did you get anywhere with this? I have a similar task - to connect a2dp as source and also connect spp to a second device.
Thanks,

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: How to use simultaneously A2D, AVRC and SPP in a ESP32?

Postby Jakobsen » Sun Feb 07, 2021 10:36 pm

Yes
Check out my https://github.com/jorgenkraghjakobsen/merus_bt.git
I connect from android SPP client to control volume, dsp flow etc and monitor amplifier state
Integrates very well.
/j
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

Who is online

Users browsing this forum: Bing [Bot], brushlow18 and 134 guests