             esp_bt_dev_set_device_name(dev_name);
 
             /* initialize A2DP sink */
-            esp_a2d_register_callback(&bt_app_a2d);
-            // esp_a2d_register_data_callback(bt_data_cb);
+            esp_a2d_register_callback(&bt_app_a2d_cb);
+            esp_a2d_register_data_callback(bt_data_cb);
             esp_a2d_sink_init();
 
             /* initialize AVRCP controller */

  Serial.println(readbytes);
}

void bt_app_a2d(esp_a2d_cb_event_t event, esp_a2d_cb_param_t *param)
{
  if(once){
    player.playFullFile("/track001.mp3", &on_data_read);
    once = false;

#include "esp_a2dp_api.h"
#include "esp_avrc_api.h"
};
#define VS1053_DATA_SPI_SETTING     SPISettings(8000000, MSBFIRST, SPI_MODE0)
#define SCI_WRAMADDR 7
#define SCI_WRAM 6

#define VS1053_RESET   -1     // VS1053 reset pin (not used!)
// Feather M0 or 32u4
