Hi I am using IoTivity Java SDK 1.3.0 .
I want my server to implement a "Smart Home" device, "oic.d.light". Unfortunately, I failed to find how I can set the "device type". In 1.2.1, there was OcPlatform.registerDeviceInfo() method, with a DeviceInfo argument containing an array of device types. But this method is deprecated in 1.3.x I guess I need to use something like: OcPlatform.setPropertyValue(PayloadType.DEVICE.getValue(), *PARAMNAME*, "oic.d.light") Or same method with the 3rd argument of List<String>. However, I wasn't able to figure out what *PARAMNAME *to use. Tried "rt" - it throws an exception. Thanks for any hint (C++ or Java) Regards Max.
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev