#include "BluetoothInterface.hpp" #include static const char* TAG = "Bluetooth"; BluetoothInterface::BluetoothInterface() { ESP_LOGI(TAG, "BT interface created (stub — not yet enabled)"); } bool BluetoothInterface::setEnabled(bool on) { if(on == enabled) return enabled; if(on) { /* TODO: initialize Bluedroid stack, register A2DP sink callbacks, * switch audio pipeline output from I2S codec to BT stream. * Requires CONFIG_BT_ENABLED=y and esp_bt / esp_a2dp components. */ ESP_LOGW(TAG, "BT enable requested — not yet implemented"); enabled = false; /* keep false until implemented */ } else { ESP_LOGI(TAG, "BT disable requested"); enabled = false; } return enabled; }