AT+BTA2DPINIT with I2S

pedroATsms
Posts: 7
Joined: Wed Apr 06, 2022 12:55 am

AT+BTA2DPINIT with I2S

Postby pedroATsms » Thu Apr 07, 2022 2:11 am

Hi all,

I have a couple of questions about A2DP.

Using a ESP32 with AT, I have enabled A2DP support, which gives 3 I2S pins. My questions are -

1) is the I2S a master or slave?

2) What difference will the +BTA2DPINIT sink or source make to the I2S function?

Thanking you
Pedro

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: AT+BTA2DPINIT with I2S

Postby ESP_Sun » Tue Apr 12, 2022 2:32 am

Hi,

1) I2S is the master.

2) AT+BTA2DPINIT is source without I2S, AT+BTA2DPINIT is sink will use I2S to control peripherals to play audio.

Hope this helps you.

pedroATsms
Posts: 7
Joined: Wed Apr 06, 2022 12:55 am

Re: AT+BTA2DPINIT with I2S

Postby pedroATsms » Thu Apr 14, 2022 5:51 am

Thank you for your reply ESP_Sun.

If I understand your reply correctly, then:-

BT Sink -> I2S Master
BT Source -> No I2S

If BT Source has no I2S, how do I give it the audio?

Kind regards
Pedro

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: AT+BTA2DPINIT with I2S

Postby ESP_Sun » Thu May 19, 2022 8:02 am

pedroATsms wrote:
Thu Apr 14, 2022 5:51 am
Thank you for your reply ESP_Sun.

If I understand your reply correctly, then:-

BT Sink -> I2S Master
BT Source -> No I2S

If BT Source has no I2S, how do I give it the audio?

Kind regards
Pedro
Yes, BT source does not have I2S. It executes the AT+BTA2DPSRC command and provides audio for it through the URL, but there is a issue with the current version of the AT+BTA2DPSRC command.

Who is online

Users browsing this forum: No registered users and 14 guests