+
+ for(int i = 0 ; i < connectRequest->numRequest ; ++i)
+ {
+ cout << "connect : " << connectRequest->connect[i] << endl;
+ }
+
+ cout << "ConnectRequestCbInApp OUT" << endl;
+ PrintMenu();
+}
+
+void WiFiConfProvCbInApp(ESWiFiConfData *eventData)
+{
+ cout << "WiFiConfProvCbInApp IN" << endl;
+ gWiFiCBflag = true;
+
+ ESSetState(ES_STATE_CONNECTING_TO_ENROLLER);
+
+ if(eventData == NULL)
+ {
+ cout << "ESWiFiConfData is NULL" << endl;
+ return ;
+ }
+
+ cout << "SSID : " << eventData->ssid << endl;
+ cout << "Password : " << eventData->pwd << endl;
+ cout << "AuthType : " << eventData->authtype << endl;
+ cout << "EncType : " << eventData->enctype << endl;
+
+ memset(gSSID, 0, OIC_STRING_MAX_VALUE);
+ memset(gPasswd, 0, OIC_STRING_MAX_VALUE);
+ if(eventData->ssid != NULL)
+ {
+ strncpy(gSSID, eventData->ssid, strlen(eventData->ssid));
+ }
+
+ if(eventData->pwd != NULL)
+ {
+ strncpy(gPasswd, eventData->pwd, strlen(eventData->pwd));
+ }
+
+ cout << "WiFiConfProvCbInApp OUT" << endl;
+ PrintMenu();
+}
+
+void DevConfProvCbInApp(ESDevConfData *eventData)
+{
+ cout << "DevConfProvCbInApp IN" << endl;
+
+ if(eventData == NULL)