ESP A2DP Sink mode , Scan around for devices
Posted: Thu Mar 25, 2021 5:08 am
Hi to all.
I'm using ESP32-WROOM , Bluetooth a2dp in sink mode for Bluetooth speaker.
Is it possible to search any devices around it and list theme?
I want to reconnect to paired devices.
If I use
esp_err_t esp_a2d_sink_connect(esp_bd_addr_t remote_bda)
this function and have an address of paired device , I can reconnect to it.
remote_bda is an array of 6 bytes.
Now I want to scan devices around it ,for search addresses and connect to it.
I'm using ESP32-WROOM , Bluetooth a2dp in sink mode for Bluetooth speaker.
Is it possible to search any devices around it and list theme?
I want to reconnect to paired devices.
If I use
esp_err_t esp_a2d_sink_connect(esp_bd_addr_t remote_bda)
this function and have an address of paired device , I can reconnect to it.
remote_bda is an array of 6 bytes.
Now I want to scan devices around it ,for search addresses and connect to it.