From 52c9d274bec93a29d89554d1778a0fe76f85bfac Mon Sep 17 00:00:00 2001 From: Jihun Ha Date: Tue, 11 Apr 2017 17:35:36 +0900 Subject: [PATCH] Change a coap cloud server address to sign-up and sign-in 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 Reviewed-on: https://gerrit.iotivity.org/gerrit/18687 Reviewed-by: Heewon Park Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- .../main/java/org/iotivity/service/easysetup/EasysetupActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/service/easy-setup/sampleapp/mediator/android/EasySetup/app/src/main/java/org/iotivity/service/easysetup/EasysetupActivity.java b/service/easy-setup/sampleapp/mediator/android/EasySetup/app/src/main/java/org/iotivity/service/easysetup/EasysetupActivity.java index 650f44d..5cadbcb 100755 --- a/service/easy-setup/sampleapp/mediator/android/EasySetup/app/src/main/java/org/iotivity/service/easysetup/EasysetupActivity.java +++ b/service/easy-setup/sampleapp/mediator/android/EasySetup/app/src/main/java/org/iotivity/service/easysetup/EasysetupActivity.java @@ -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) -- 2.7.4