#include "spotify.h" #include #include "LoginBlob.h" #include "esp_log.h" static const char *TAG = "spotify"; // Step 7.5b1: link check only. Zeroconf, login and audio follow in b2/b3. extern "C" esp_err_t spotify_init(const char *device_name) { auto blob = std::make_shared(device_name); std::string info = blob->buildZeroconfInfo(); ESP_LOGI(TAG, "cspot linked: device \"%s\", zeroconf info %u bytes", device_name, (unsigned)info.size()); return ESP_OK; }