Commit 312c5a47 authored by Joseph Morrow's avatar Joseph Morrow Committed by Erich Keane

Change Android sample app light resource URIs to match linux sample apps.

This will fix an issue between Linux SimpleClient app and Android
SimpleServer app where the server application was not responding
to client application.

Change-Id: I8a34539415df3adfd5a1d3c7912dedd2be2afce2
Signed-off-by: default avatarJoseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1726Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarErich Keane <erich.keane@intel.com>
parent 898e162f
......@@ -6,8 +6,8 @@ package org.iotivity.base.examples.simpleclient;
* the newly-supported type there.
*/
public interface StringConstants {
public static final String RESOURCE_URI0 = "/light0";
public static final String RESOURCE_URI1 = "/light1";
public static final String RESOURCE_URI0 = "/a/light";
public static final String RESOURCE_URI1 = "/a/light2";
public static final String OIC_CLIENT_JSON_DB_FILE = "oic_svr_db_client.json";
public static final String CREATED_URI = "createduri";
public static final String STATE = "state";
......
......@@ -8,8 +8,8 @@ import org.iotivity.base.OcPlatform;
* the newly-supported type there.
*/
public interface StringConstants {
public static final String RESOURCE_URI0 = "/light0";
public static final String RESOURCE_URI1 = "/light1";
public static final String RESOURCE_URI0 = "/a/light";
public static final String RESOURCE_URI1 = "/a/light2";
public static final String RESOURCE_TYPENAME = "core.light";
public static final String OIC_SERVER_JSON_DB_FILE = "oic_svr_db_server.json";
public static final String RESOURCE_INTERFACE = OcPlatform.DEFAULT_INTERFACE; //resource interface
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment