System.currentTimeMillis());
PlatformConfig cfg = new PlatformConfig(
- this,
+ getBaseContext(),
ServiceType.IN_PROC,
ModeType.CLIENT_SERVER,
"0.0.0.0", 0,
.registerResource(
"/a/huebulb",
"device.light",
- "oc.mi.def",
+ OcPlatform.DEFAULT_INTERFACE,
entitycb,
EnumSet.of(ResourceProperty.DISCOVERABLE));
} catch (OcException e) {