base-adc-a2dp ---> basic-a2dp-audioi2s ... no data receive at receiver #935
-
use above 2 fle wth below changes no data receive at receiver . seem esps are not connecting . pre test : receiver is connecting and receive data from mobile . ( while perform above test of two esps i keep the mobile switch off so that esp not connect with mobile ) so may be some thing with sender . attaches is the exact sketch I used . |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
after changing the sender/source to below then its working and receiving data ? so what's wrong with base sender/source ? #include "AudioTools.h" const uint16_t sample_rate = 44100; // A2DPStream a2dpStream = A2DPStream::instance(); // access A2DP as stream void setup() {
auto cfgRx = in.defaultConfig(RX_MODE); void loop() { |
Beta Was this translation helpful? Give feedback.
-
above base-a2dp still not connecting . I have INMP441 and below code s connecting success with above base receiver / sink but sound very distorted . I feel their is some wrong with my i2s configuration or conversion . below is the code of sender /**
#include "AudioTools.h" I2SStream i2sStream; // Access I2S as stream StreamCopy copierr(conv, i2sStream);
auto config_in = i2sStream.defaultConfig(RX_MODE); conv.begin(from, to); } // Arduino loop - copy data |
Beta Was this translation helpful? Give feedback.
-
below s base -a2dp
#include "AudioTools.h" /**
BluetoothA2DPSource a2dp_source; // callback used by A2DP to provide the sound data - usually len is 128 2 channel int16 frames // Arduino Setup // start the bluetooth // Arduino loop - repeated processing } |
Beta Was this translation helpful? Give feedback.
-
I am pretty sure you left the speaker in a state that would not accept any connections: See pschatzmann/ESP32-A2DP#439 |
Beta Was this translation helpful? Give feedback.
I am pretty sure you left the speaker in a state that would not accept any connections: See pschatzmann/ESP32-A2DP#439