Change a coap cloud server address to sign-up and sign-in
authorJihun Ha <jihun.ha@samsung.com>
Tue, 11 Apr 2017 08:35:36 +0000 (17:35 +0900)
committerUze Choi <uzchoi@samsung.com>
Thu, 13 Apr 2017 04:46:45 +0000 (04:46 +0000)
An address of coap cloud server for testing is changed to 13.124.29.169.
And an access token issued by github has no expiry time so refreshtoken
is not used anymore.

Change-Id: Ib8ef89bc075114374dd345b79f7205ec99918c7d
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18687
Reviewed-by: Heewon Park <h_w.park@samsung.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/sampleapp/mediator/android/EasySetup/app/src/main/java/org/iotivity/service/easysetup/EasysetupActivity.java

index 650f44d..5cadbcb 100755 (executable)
@@ -98,7 +98,7 @@ public class EasysetupActivity extends Activity
     PlatformConfig cfg;
     OcAccountManager m_accountManager = null;
     final String deviceID = "9E09F4FE-978A-4BC3-B356-1F93BCA37829";
-    final String CIServer = "coap+tcp://52.69.149.85:5683";
+    final String CIServer = "coap+tcp://13.124.29.169:5683";
 
     private static final int BUFFER_SIZE = 1024;
 
@@ -1004,7 +1004,6 @@ public class EasysetupActivity extends Activity
                 });
 
                 mAccessToken = ocRepresentation.getValue("accesstoken");
-                mRefreshtoken = ocRepresentation.getValue("refreshtoken");
                 mUserID = ocRepresentation.getValue("uid");
 
                 if(mAccessToken != null)