EntityHandlerNoti entitycb = new EntityHandlerNoti();
resourceHandle = OcPlatform.registerResource("/a/galaxy/gear",
- "device.notify", "oc.mi.def", entitycb,
+ "device.notify", OcPlatform.DEFAULT_INTERFACE, entitycb,
EnumSet.of(ResourceProperty.DISCOVERABLE));
}
+ else{
+ Log.w(TAG, "Something Happened");
+ }
}
@Override