{"id":2823,"date":"2021-04-16T12:50:49","date_gmt":"2021-04-16T10:50:49","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=2823"},"modified":"2024-03-21T07:59:00","modified_gmt":"2024-03-21T06:59:00","slug":"new-release-for-my-esp32-a2dp-arduino-library","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/","title":{"rendered":"ESP32-A2DP Arduino Library &#8211; New Release"},"content":{"rendered":"<p>Today I published the new 1.2.0 Release of my <a href=\"https:\/\/github.com\/pschatzmann\/ESP32-A2DP\">ESP32-A2DP Library<\/a>.<\/p>\n<p>It contains the following <strong>improvements<\/strong>:<\/p>\n<ul>\n<li>Metadata support with the help of a callback function &#8211; Thanks to <a href=\"https:\/\/github.com\/JohnyMielony\">JohnyMielony<\/a><\/li>\n<li>AVRC command support thanks to <a href=\"https:\/\/github.com\/KIdon-Park\">PeterPark<\/a> <\/li>\n<li>Improved init_bluetooth checks, in case bluedroid was already initialized elsewhere &#8211; Thanks to <a href=\"https:\/\/github.com\/ant0nisk\">Antonis Katzourakis<\/a><\/li>\n<li>No auto reconnect after clean disconnect &#8211; Thanks to <a href=\"https:\/\/github.com\/leventeBajczi\">Bajczi Levente<\/a><\/li>\n<li>The data is rescaled to when written to the internal DAC &#8211; Thanks to <a href=\"https:\/\/github.com\/thinkcz\">Martin Hron<\/a><\/li>\n<li>Corrected wrong case of include to Arduino.h &#8211; Thanks to <a href=\"https:\/\/github.com\/RyanDavis\">RyanDavis<\/a><\/li>\n<li>Added callback to received packets &#8211; Thanks to <a href=\"https:\/\/github.com\/Mishaux\">Mishaux<\/a><\/li>\n<li>Automatically reconnect to last source &#8211; Thanks to <a href=\"https:\/\/github.com\/JohnyMielony\">JohnyMielony<\/a><\/li>\n<li>Support for data callback &#8211; Thanks to <a href=\"https:\/\/github.com\/Mishaux\">Mike Mishaux<\/a><\/li>\n<li>Improved init_bluetooth checks, in case bluedroid was already initialized elsewhere <a href=\"https:\/\/github.com\/ant0nisk\">Antonis Katzourakis<\/a><\/li>\n<li>No auto reconnect after clean disconnect thanks to <a href=\"https:\/\/github.com\/leventeBajczi\">Bajczi Levente<\/a><\/li>\n<li>Made all methods virtual to enable flexible subclassing<\/li>\n<li>Error Corrections in BluetoothA2DPSource<\/li>\n<li>Support for writeData in BluetoothA2DPSource<\/li>\n<li>Support for multiple alternative BT names in BluetoothA2DPSource<\/li>\n<li>Redesign to protect internal callbacks in BluetoothA2DPSink<\/li>\n<li>Documentation with the help of doxygen<\/li>\n<\/ul>\n<p>The <a href=\"https:\/\/pschatzmann.github.io\/ESP32-A2DP\/doc\/html\/annotated.html\">new class documentation is available on Github<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I published the new 1.2.0 Release of my ESP32-A2DP Library. It contains the following improvements: Metadata support with the help of a callback function &#8211; Thanks to JohnyMielony AVRC command support thanks to PeterPark Improved init_bluetooth checks, in case bluedroid was already initialized elsewhere &#8211; Thanks to Antonis Katzourakis [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1982,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[20,22],"tags":[46],"class_list":["post-2823","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-machine-sound","tag-communications"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ESP32-A2DP Arduino Library - New Release - Phil Schatzmann<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ESP32-A2DP Arduino Library - New Release - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"Today I published the new 1.2.0 Release of my ESP32-A2DP Library. It contains the following improvements: Metadata support with the help of a callback function &#8211; Thanks to JohnyMielony AVRC command support thanks to PeterPark Improved init_bluetooth checks, in case bluedroid was already initialized elsewhere &#8211; Thanks to Antonis Katzourakis [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-16T10:50:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-21T06:59:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/arduino-logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"pschatzmann\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pschatzmann\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"ESP32-A2DP Arduino Library &#8211; New Release\",\"datePublished\":\"2021-04-16T10:50:49+00:00\",\"dateModified\":\"2024-03-21T06:59:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/\"},\"wordCount\":199,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/arduino-logo.png\",\"keywords\":[\"Communications\"],\"articleSection\":[\"Arduino\",\"Machine Sound\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/\",\"name\":\"ESP32-A2DP Arduino Library - New Release - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/arduino-logo.png\",\"datePublished\":\"2021-04-16T10:50:49+00:00\",\"dateModified\":\"2024-03-21T06:59:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/arduino-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/arduino-logo.png\",\"width\":800,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/04\\\/16\\\/new-release-for-my-esp32-a2dp-arduino-library\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ESP32-A2DP Arduino Library &#8211; New Release\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\",\"name\":\"Phil Schatzmann Consulting\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\",\"name\":\"pschatzmann\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"width\":305,\"height\":305,\"caption\":\"pschatzmann\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ESP32-A2DP Arduino Library - New Release - Phil Schatzmann","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/","og_locale":"en_US","og_type":"article","og_title":"ESP32-A2DP Arduino Library - New Release - Phil Schatzmann","og_description":"Today I published the new 1.2.0 Release of my ESP32-A2DP Library. It contains the following improvements: Metadata support with the help of a callback function &#8211; Thanks to JohnyMielony AVRC command support thanks to PeterPark Improved init_bluetooth checks, in case bluedroid was already initialized elsewhere &#8211; Thanks to Antonis Katzourakis [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/","og_site_name":"Phil Schatzmann","article_published_time":"2021-04-16T10:50:49+00:00","article_modified_time":"2024-03-21T06:59:00+00:00","og_image":[{"width":800,"height":600,"url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/arduino-logo.png","type":"image\/png"}],"author":"pschatzmann","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pschatzmann","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"ESP32-A2DP Arduino Library &#8211; New Release","datePublished":"2021-04-16T10:50:49+00:00","dateModified":"2024-03-21T06:59:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/"},"wordCount":199,"commentCount":0,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/arduino-logo.png","keywords":["Communications"],"articleSection":["Arduino","Machine Sound"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/","url":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/","name":"ESP32-A2DP Arduino Library - New Release - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/arduino-logo.png","datePublished":"2021-04-16T10:50:49+00:00","dateModified":"2024-03-21T06:59:00+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/#primaryimage","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/arduino-logo.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/arduino-logo.png","width":800,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/04\/16\/new-release-for-my-esp32-a2dp-arduino-library\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"ESP32-A2DP Arduino Library &#8211; New Release"}]},{"@type":"WebSite","@id":"https:\/\/www.pschatzmann.ch\/home\/#website","url":"https:\/\/www.pschatzmann.ch\/home\/","name":"Phil Schatzmann Consulting","description":"","publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pschatzmann.ch\/home\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1","name":"pschatzmann","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","width":305,"height":305,"caption":"pschatzmann"},"logo":{"@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/2823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/comments?post=2823"}],"version-history":[{"count":8,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/2823\/revisions"}],"predecessor-version":[{"id":2831,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/2823\/revisions\/2831"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media\/1982"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=2823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=2823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=2823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}