I was able to figure out what I was doing wrong. here's the right way to obtain the remote BDA during a connection event in the a2sp sink call back handler:
.
.
.
switch (event) {
case ESP_A2D_CONNECTION_STATE_EVT:
a2d = (esp_a2d_cb_param_t *)(p_param);
uint8_t *bda = a2d->conn_stat.remote_bda ...
Search found 5 matches
- Sun Jul 13, 2025 4:32 pm
- Forum: ESP-ADF
- Topic: Auto Reconnect from Pipeline_A2DP_Sink Stream
- Replies: 2
- Views: 7842
- Fri Jul 11, 2025 11:14 pm
- Forum: ESP-ADF
- Topic: Auto Reconnect from Pipeline_A2DP_Sink Stream
- Replies: 2
- Views: 7842
Auto Reconnect from Pipeline_A2DP_Sink Stream
Hello,
I have built and successfully run the Pipeline_A2DP_Sink_Stream ESP-ADF project onto my ESP32 WROOM compatible board. I can connect via Bluetooth and play music and respond to button presses so everything seems to be working fine. My problem is that I would like the ESP32 board to auto ...
I have built and successfully run the Pipeline_A2DP_Sink_Stream ESP-ADF project onto my ESP32 WROOM compatible board. I can connect via Bluetooth and play music and respond to button presses so everything seems to be working fine. My problem is that I would like the ESP32 board to auto ...
- Mon Jun 03, 2024 1:30 am
- Forum: ESP-IDF
- Topic: Initiating a2dp connection from sink to prior source
- Replies: 0
- Views: 681
Initiating a2dp connection from sink to prior source
I have been able to create a bluetooth a2dp app and stream sound from my mobile phone to the attached speaker on my esp32 board. Does anyone know how to initiate the connection from the sink to the phone ? I have been able to save the prior connection bda in non volatile memory for later use when ...
- Thu Feb 08, 2024 2:51 am
- Forum: Hardware
- Topic: Problem Bringing up a new ESP-32 Dev Board
- Replies: 1
- Views: 1351
Re: Problem Bringing up a new ESP-32 Dev Board
For anyone else that might have had this problem. I re-installed the driver for the CH340C usb bridge to serial chip that I am using and also removed a capacitor that was across the boot switch and that seems to have fixed the issue.
esptool is now able to get control of the chip and I was able to ...
esptool is now able to get control of the chip and I was able to ...
- Sun Feb 04, 2024 10:17 pm
- Forum: Hardware
- Topic: Problem Bringing up a new ESP-32 Dev Board
- Replies: 1
- Views: 1351
Problem Bringing up a new ESP-32 Dev Board
I am in the process of bringing up a custom board with an ESP32-WROOM-32D chip on the board. I have run into a problem that I am having trouble solving. I am able to flash a sample program into the chip and the program runs fine, but then when attempting to flash the chip again, it is unable to ...