[ENROLLEE] Tizen enrollee sample application build using scons command
[platform/upstream/iotivity.git] / service / easy-setup / sdk / enrollee / src / onboarding.cpp
index be7a4ff..2977e3e 100644 (file)
@@ -30,7 +30,7 @@
 #include "onboarding.h"
 
 #include "logger.h"
-#include "resourceHandler.h"
+#include "resourcehandler.h"
 
 /**
  * @var ES_ENROLLEE_TAG
@@ -65,12 +65,14 @@ bool ESOnboard(const char * ssid, const char* passwd, NetworkEventCallback cb)
 
     if (ESSoftapOnboarding())
     {
+#ifndef ARDUINO //SoftAp at Arduino is not supported
         if (ESSoftapAtEnrollee())
         {
             OC_LOG(DEBUG, ES_ENROLLEE_TAG, "Create softap at enrollee");
             ESCreateSoftap(ssid, passwd, cb);
         }
         else
+#endif
         {
             OC_LOG(DEBUG, ES_ENROLLEE_TAG, "Connecting to SoftAp");
             ConnectToWiFiNetwork(ssid, passwd, cb);