Menu

Bluetooth Classic/A2DP works natively on the P4/C6 combo devices (Tab5)

#esp32#redditesp32#bluetooth#working#tab5
Reading 0:00
15s threshold

A few days ago u/ BackgroundAd680 showed how to get BLE Audio working on the Tab5. I expanded his idea to get full Bluetooth Classic/A2DB working on the device.

I got Bluetooth Classic A2DP audio working on the M5Stack Tab5 using only its onboard ESP32-P4 and ESP32-C6. The C6 normally supports BLE only, so this uses custom firmware to handle Classic radio packets while the P4 handles pairing and SBC encoding.

The gist is that you can pull the raw packet data from the radio before it's filtered for BLE, and the two CPUs can do this faster than is needed for audio to work.

I built a minimal proof-of concept to show it with just test tones, but I have it working with MP3s at a full 113 kbit/s bitrate.

You can flash it and try it out here: https://github.com/ProgrammingAce/tab5-a2dp

How it was made:

I let a local LLM play with a HackRF, the tab5 and a bluetooth speaker for a while until it found the path to get raw packet data.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.