#ifndef UNIT_TEST #include #ifdef UNIT_TEST #include #else #include #endif class OTA { public: OTA(String server_url, String currentVersion, String currentDeviceConfiguration); Firmware getLatestVersionOnServer(); bool checkForUpdate(); private: bool _isHTTPS = false; String _serverUrl; Version _currentVersion; String _current_device_configuration; Firmware createErrorResponse(const String& errorMsg); }; #endif