Dear Developers, I have some doubts while defining iotivity-constrained server, 1.While defining resource URI, Resource Type, Resource Interface, should I have to refer the OCFs oneIoTa (Raml and Json specification) or it can be defined randomly? 2.If I define it randomly is it violates the iotivity/OCF specification.
For example, I want to create light resource with different functionalities like State(ON/OFF), Brightness(0-100). for that, I found two Raml and Json files 1.binarySwitch.raml, 2.brightness.raml in that each one have different URI, RT, IF, and properties. There are two possibilities to define server 1. Server can define with single URI (/a/light) and binding two Resource Types (oic.r.switch.binary, oic.r.light.brightness) and its properties. 2. Also it can define with two resource URI (/BrightnessResURI, /BinarySwitchResURI ) with corresponding RT, IF, Properties, Defining with two URI will it violates the Iotivity/OCFs Specs?. Thank You, Regards, Jotirling Swami -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170209/afa76f2a/attachment.html>
