#ifdef ESP_PLATFORM #include #endif #if !defined(CONFIG_BT_NIMBLE_ENABLED) #include namespace tt::bluetooth { struct Device* findFirstDevice() { return nullptr; } const char* radioStateToString(RadioState state) { switch (state) { using enum RadioState; case Off: return "Off"; case OnPending: return "OnPending"; case On: return "On"; case OffPending: return "OffPending"; } return "Unknown"; } RadioState getRadioState() { return RadioState::Off; } std::vector getScanResults() { return {}; } std::vector getPairedPeers() { return {}; } void pair(const std::array& /*addr*/) {} void unpair(const std::array& /*addr*/) {} void connect(const std::array& /*addr*/, int /*profileId*/) {} void disconnect(const std::array& /*addr*/, int /*profileId*/) {} bool isProfileSupported(int /*profileId*/) { return false; } void hidHostConnect(const std::array& /*addr*/) {} void hidHostDisconnect() {} bool hidHostIsConnected() { return false; } void systemStart() {} } // namespace tt::bluetooth #endif // !CONFIG_BT_NIMBLE_ENABLED