Code Monkey home page Code Monkey logo

Comments (5)

pschatzmann avatar pschatzmann commented on August 21, 2024 1

Support for a metadata callback has been added with the latest commit

from esp32-a2dp.

JohnyMielony avatar JohnyMielony commented on August 21, 2024

Simple answer is yes. And it's already implemented in this library.
Here

esp_avrc_ct_send_metadata_cmd(0, ESP_AVRC_MD_ATTR_TITLE | ESP_AVRC_MD_ATTR_ARTIST | ESP_AVRC_MD_ATTR_ALBUM | ESP_AVRC_MD_ATTR_GENRE);
you're telling what you want to get.
And here
case ESP_AVRC_CT_METADATA_RSP_EVT: {
you're getting that.
More information about that can be read in ESP32 documentation (https://docs.espressif.com/projects/esp-idf/en/v3.3/api-reference/bluetooth/esp_avrc.html).

from esp32-a2dp.

Mael19 avatar Mael19 commented on August 21, 2024

Thank you so much for your answer! I went trough the code and it seems that everything I asked is indeed possible. Now I have to find the time and courage to go deeper in the code to understand how it works, it'a maybe a bit over my skills!
Cheers.

from esp32-a2dp.

pschatzmann avatar pschatzmann commented on August 21, 2024

I think it would be cool to have some callbacks to make it easy to use.

from esp32-a2dp.

DrNeuroSurg avatar DrNeuroSurg commented on August 21, 2024

I think it would be cool to have some callbacks to make it easy to use.

Yes, it should. But I would also like a callback for connection state changes, so I could notify the user about this, e.g. let a LED blink or so ..

from esp32-a2dp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.