# Seeking Bluetooth A2DP Library or Solution for AMB82-MINI

**URL:** <https://forum.amebaiot.com/t/seeking-bluetooth-a2dp-library-or-solution-for-amb82-mini/4097>\
**Category:** Multimedia\
**Tags:** rtl8735b, evb-amb82\
**Created:** [May 5, 2025, 3:38pm UTC](https://forum.amebaiot.com/t/seeking-bluetooth-a2dp-library-or-solution-for-amb82-mini/4097 "2025-05-05T15:38:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim07025](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/tim07025/32/2435_2.png) [@tim07025](https://forum.amebaiot.com/u/tim07025)\
**Post date:** [May 5, 2025, 3:38pm UTC](https://forum.amebaiot.com/t/seeking-bluetooth-a2dp-library-or-solution-for-amb82-mini/4097/1 "2025-05-05T15:38:01Z")

</div>

Hello everyone,

I’m working on an Arduino project with the AMB82-MINI board (based on Realtek RTL8735BDM SoC) and need to implement Bluetooth A2DP to stream audio from an SD card to a Bluetooth speaker. I’ve run into some issues and would appreciate any advice or experiences from the community.

Project Details:

Hardware: AMB82-MINI board,  
Environment: Arduino IDE  
Goal: Implement A2DP audio streaming (as an A2DP Source) to a Bluetooth speaker.  
Issues:

I tried using the ESP32-A2DP library (e.g., pschatzmann/ESP32-A2DP), but it relies on ESP-IDF (requires esp\_idf\_version.h), which is incompatible with AMB82-MINI, causing compilation errors.  
I couldn’t find clear documentation in the Realtek SDK or Ameba resources confirming A2DP support. Does the RTL8735BDM support Bluetooth Classic and A2DP?  
Are there any Arduino-compatible A2DP libraries or example code for AMB82-MINI? Or would I need to use low-level Realtek SDK APIs?  
Steps Tried:

Added #undef min and #undef max in my sketch to resolve macro conflicts with min/max.  
Searched Realtek documentation and GitHub for A2DP resources for AMB82-MINI but found none.  
Considered using an external Bluetooth module (e.g., BC127), but I’d prefer to use the built-in Bluetooth if possible.  
Questions:

Does the RTL8735BDM in AMB82-MINI support A2DP? If so, are there Arduino-compatible A2DP libraries or examples available?  
If the built-in Bluetooth doesn’t support A2DP, are there recommended external Bluetooth modules that integrate well with AMB82-MINI?  
Has anyone successfully implemented A2DP audio streaming on AMB82-MINI? Could you share your approach or code?  
Additional Info:

Compilation error: esp\_idf\_version.h: No such file or directory (due to using the incompatible ESP32-A2DP library).  
I’d prefer to stick with the Arduino framework and avoid deep dives into Realtek SDK’s low-level code if possible.  
Thank you for any suggestions, resources, or pointers! I can provide more details (e.g., sketch code or hardware setup) if needed.

---

<div class="post-metadata">

**Author:** ![Kelvin\_Huang](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/kelvin_huang/32/2130_2.png) [@Kelvin\_Huang](https://forum.amebaiot.com/u/Kelvin_Huang)\
**Post date:** [May 8, 2025, 1:46am UTC](https://forum.amebaiot.com/t/seeking-bluetooth-a2dp-library-or-solution-for-amb82-mini/4097/2 "2025-05-08T01:46:59Z")

</div>

Hi @tim07025,

Unfortunately, for AMB82-Mini, our BLE (bluetooth low energy) do not support A2DP capabilities.

A2DP is considered as classic BT function, and it is not supported on AMB82-Mini BLE.

It can be supported on other realtek chips such as AmebaSmart / Lite.

Thank you.

---

<div class="post-metadata">

**Author:** ![tim07025](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/tim07025/32/2435_2.png) [@tim07025](https://forum.amebaiot.com/u/tim07025)\
**Post date:** [May 8, 2025, 2:08am UTC](https://forum.amebaiot.com/t/seeking-bluetooth-a2dp-library-or-solution-for-amb82-mini/4097/3 "2025-05-08T02:08:51Z")

</div>

Ok thank you🙏
