Troubleshooting Bluetooth Connectivity Issue with ESP32 Audio Receiver Setup

ayubaba
Posts: 1
Joined: Thu Apr 11, 2024 10:03 am

Troubleshooting Bluetooth Connectivity Issue with ESP32 Audio Receiver Setup

Postby ayubaba » Thu Apr 11, 2024 10:16 am

Hello everyone,

I'm new to working with ESP32 and I'm trying to set up my ESP32-WROOM-32 board as an audio receiver to receive audio from another device using Bluetooth. I attempted to run the following code with the ESP-A2DP library under Arduino. However, after uploading the code to the board, I'm unable to find the board's Bluetooth on my phone/laptop.

Any assistance would be greatly appreciated.
  1. #include "AudioTools.h"
  2. #include "BluetoothA2DPSink.h"
  3.  
  4. BluetoothA2DPSink a2dp_sink;
  5.  
  6. void setup() {
  7.   Serial.begin(115200);
  8.   // Start Bluetooth Audio Receiver
  9.   a2dp_sink.set_auto_reconnect(false);
  10.   a2dp_sink.start("a2dp-spdif");
  11.  
  12. }
  13.  
  14. void loop() {
  15.   delay(100);
  16. }
  17.  

Who is online

Users browsing this forum: Bing [Bot] and 83 guests