I cannot find an example of ESP32 working with Bluetooth headset

EkimSS
Posts: 1
Joined: Wed Sep 08, 2021 9:09 am

I cannot find an example of ESP32 working with Bluetooth headset

Postby EkimSS » Wed Sep 08, 2021 9:10 am

I cannot find an example of implementing the Bluetooth classic to receive/transmit voice data to the Bluetooth headset

If anyone knows it please advise.

nopnop2002
Posts: 46
Joined: Thu Oct 03, 2019 10:52 pm

Re: I cannot find an example of ESP32 working with Bluetooth headset

Postby nopnop2002 » Sun Sep 19, 2021 7:18 am

Here is an example of a2dp source.
https://github.com/espressif/esp-idf/tr ... 2dp_source


However, you will need to change the device name to your Bluetooth device name.
https://github.com/espressif/esp-idf/bl ... ain.c#L236


This example will work with esp-idf v4.3.
Unfortunately it doesn't work with esp-idf v4.4.

Who is online

Users browsing this forum: Baidu [Spider] and 97 guests