Getting song metadata with esp32 bluetooth
Posted: Tue Aug 10, 2021 2:38 pm
Hello, I have an esp32 board with a screen.
I have soldered buttons to it and written a code in the arduino IDE to use bluetooth to put my samsung mobile phone's music on play, pause, etc. All this works fine.
Now, I would like to display the metadata (artist, track and duration of the song) on the screen. I can't find an example code or a clear tutorial anywhere. I did find this page
https://docs.espressif.com/projects/esp ... ATTR_TITLE
but I don't know how to get all these commands into a working code.
Could I get some advice?
Thank you for your time
JanG
I have soldered buttons to it and written a code in the arduino IDE to use bluetooth to put my samsung mobile phone's music on play, pause, etc. All this works fine.
Now, I would like to display the metadata (artist, track and duration of the song) on the screen. I can't find an example code or a clear tutorial anywhere. I did find this page
https://docs.espressif.com/projects/esp ... ATTR_TITLE
but I don't know how to get all these commands into a working code.
Could I get some advice?
Thank you for your time
JanG