From: Sangkoo Kim Date: Tue, 18 Apr 2017 08:25:36 +0000 (+0900) Subject: add tdc authprovider X-Git-Tag: submit/tizen/20170418.092249~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f72ff12d51c8bfce3d486e5c49d532445c098b64;p=platform%2Fcore%2Fservice%2Fcloud%2Fua-client.git add tdc authprovider Signed-off-by: Sangkoo Kim --- diff --git a/src/ua_client.cpp b/src/ua_client.cpp index b2dc58f..d5212b9 100755 --- a/src/ua_client.cpp +++ b/src/ua_client.cpp @@ -693,7 +693,7 @@ OCStackResult SetDeviceInfo() } //result = OCBindResourceTypeToResource(handle, "oic.d.airconditioner"); - result = OCBindResourceTypeToResource(handle, "x.tizen.ri3"); + result = OCBindResourceTypeToResource(handle, "x.tizen.rpi3"); if (result != OC_STACK_OK) { @@ -701,7 +701,7 @@ OCStackResult SetDeviceInfo() return result; } - result = OCPlatform::setPropertyValue(PAYLOAD_TYPE_DEVICE, OC_RSRVD_DEVICE_NAME, "TIZEN_RI3"); + result = OCPlatform::setPropertyValue(PAYLOAD_TYPE_DEVICE, OC_RSRVD_DEVICE_NAME, "TIZEN_RPI3"); if (result != OC_STACK_OK) { @@ -1040,7 +1040,7 @@ int main(int argc, char *argv[]) try { if (device->uuid == NULL || (device->uuid && strlen(device->uuid) == 0)) { -#if 1 +#if 0 if (argc != 3) { UA_LOG("Put \"[authprovider] [authcode]\" for sign-up and sign-in and publish resources!!");