Remove a condition of device provisioning
authorJihun Ha <jihun.ha@samsung.com>
Mon, 20 Mar 2017 00:42:31 +0000 (09:42 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 20 Mar 2017 05:22:15 +0000 (05:22 +0000)
There would be a case where user wants to provision only device configuration
without any wifi configuration. In this case, a condition to filter a case of
empty ssid should be removed.

Change-Id: Ib135d40d7f59f1ef0ee1bf7fe24a5a54d737aa96
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17995
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp

index d5ed06b..ebf1a4f 100755 (executable)
@@ -478,11 +478,6 @@ namespace OIC
                 throw ESBadRequestException ("Device not created");
             }
 
-            if(deviceProp.getSsid().empty())
-            {
-                throw ESBadRequestException ("Invalid Provisiong Data.");
-            }
-
             DevicePropProvStatusCb devicePropProvStatusCb = std::bind(
                     &RemoteEnrollee::onDevicePropProvisioningStatusHandlerCallback,
                     std::placeholders::_1,