Troubleshooting Bluetooth Connectivity Issue with ESP32 Audio Receiver Setup
Posted: 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.
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.
- #include "AudioTools.h"
- #include "BluetoothA2DPSink.h"
- BluetoothA2DPSink a2dp_sink;
- void setup() {
- Serial.begin(115200);
- // Start Bluetooth Audio Receiver
- a2dp_sink.set_auto_reconnect(false);
- a2dp_sink.start("a2dp-spdif");
- }
- void loop() {
- delay(100);
- }