weitianhua bfad85a372 Add init & deinit event for a2dp 5 tahun lalu
..
main bfad85a372 Add init & deinit event for a2dp 5 tahun lalu
CMakeLists.txt 5b2fa1a5ad build_app: make multi target support readable 5 tahun lalu
Makefile 66fb5a29bb Whitespace: Automated whitespace fixes (large commit) 5 tahun lalu
README.md 5b2fa1a5ad build_app: make multi target support readable 5 tahun lalu
sdkconfig.defaults 871ea650f6 examples: fix sdkconfig warnings 6 tahun lalu

README.md

Supported Targets ESP32

ESP-IDF A2DP-GATTS_COEX demo

This demo showcases APIs to create a GATT service and A2DP profile and demonstrates BLE and classic Bluetooth coexistence.

The BLE GATT SERVER part of demo creates a GATT service and then starts advertising, waiting to be connected by a GATT client. After the program is started, the GATT client can discover a device named "ESP_COEX_BLE_DEMO". Once a connection is established, GATT client can read or write data to the device. Or GATT client can receive notification or indication data.

The classic bluetooth A2DP part of the demo implements Advanced Audio Distribution Profile to receive an audio stream. After the program is started, other bluetooth devices such as smart phones can discover a device named "ESP_COEX_A2DP_DEMO". Once a connection is established, audio data can be transmitted. This will be visible in the application log including a count of audio data packets.