 #endif
 
     awsiotsdk::util::Logging::ShutdownAWSLogging();
-    return static_cast<int>(rc);
 }
 
+void loop() {
+  delay(100);
+}

#include <fstream>
#include <iostream>

#include "OpenSSLConnection.hpp"

#include "util/logging/Logging.hpp"
#include "util/logging/LogMacros.hpp"
#include "util/logging/ConsoleLogSystem.hpp"

#include "ConfigCommon.hpp"
#include "Discovery.hpp"

#define LOG_TAG_DISCOVERY_SAMPLE "[Sample - Discovery]"

    }
}

void setup() {
    std::shared_ptr<awsiotsdk::util::Logging::ConsoleLogSystem> p_log_system =
        std::make_shared<awsiotsdk::util::Logging::ConsoleLogSystem>(awsiotsdk::util::Logging::LogLevel::Info);
    awsiotsdk::util::Logging::InitializeAWSLogging(p_log_system);
