Renamed all references to ‘/oc/core’ to ‘/oic/res’ and '/oc to /oic'
[platform/upstream/iotivity.git] / android / android_api / base / src / main / java / org / iotivity / base / OcPlatform.java
index f55269b..ec9711f 100644 (file)
@@ -46,29 +46,29 @@ public final class OcPlatform {
     /**\r
      * Default interface\r
      */\r
-    public static final String DEFAULT_INTERFACE = "oc.mi.def";\r
+    public static final String DEFAULT_INTERFACE = "oic.mi.def";\r
 \r
     /**\r
      * Used in discovering (GET) links to other resources of a collection\r
      */\r
-    public static final String LINK_INTERFACE = "oc.mi.ll";\r
+    public static final String LINK_INTERFACE = "oic.mi.ll";\r
 \r
     /**\r
      * Used in GET, PUT, POST, DELETE methods on links to other resources of a collection\r
      */\r
-    public static final String BATCH_INTERFACE = "oc.mi.b";\r
+    public static final String BATCH_INTERFACE = "oic.mi.b";\r
 \r
     /**\r
      * Used in GET, PUT, POST methods on links to other remote resources of a group\r
      */\r
-    public static final String GROUP_INTERFACE = "oc.mi.grp";\r
+    public static final String GROUP_INTERFACE = "oic.mi.grp";\r
 \r
-    public static final String WELL_KNOWN_QUERY = "224.0.1.187:5683/oc/core";\r
+    public static final String WELL_KNOWN_QUERY = "224.0.1.187:5683/oic/res";\r
     public static final String MULTICAST_PREFIX = "224.0.1.187:5683";\r
     public static final String MULTICAST_IP = "224.0.1.187";\r
     public static final int MULTICAST_PORT = 5683;\r
     public static final int DEFAULT_PRESENCE_TTL = 60;\r
-    public static final String PRESENCE_URI = "/oc/presence";\r
+    public static final String PRESENCE_URI = "/oic/ad";\r
 \r
     private static volatile boolean sIsPlatformInitialized = false;\r
 \r