#pragma once /* Stub for Bluetooth A2DP speaker mode. * When enabled the ESP32 advertises itself as a BT audio sink so a phone * can pair and route music through the Kidsbox speaker. * Full implementation requires the esp_bt + esp_a2dp components to be * added to the build and CONFIG_BT_ENABLED=y in sdkconfig. */ class BluetoothInterface { public: BluetoothInterface(); bool isEnabled() const { return enabled; } /* Toggle BT speaker mode on/off. Returns whether BT is now enabled. */ bool setEnabled(bool on); private: bool enabled = false; };