Uday, Not currently. You can query the interface for the resource type and interface types. The types define the operations, representation format, values and ranges.
Pat > -----Original Message----- > From: iotivity-dev-bounces at lists.iotivity.org [mailto:iotivity-dev- > bounces at lists.iotivity.org] On Behalf Of Pulleti, Uday Kiran > Sent: Monday, April 06, 2015 8:56 AM > To: iotivity-dev at lists.iotivity.org > Subject: [dev] Question on Resource discovery > > Hi, > I have a question on resource discovery aspect of the stack. In the current > stack, when a client discovers a resource, it can request for all the > parameters of the resource. I want to know if the stack has a feature which > tells the client about all the possible values that the resource data can take. > For example take a light resource with the following parameters: > Light: > { string name: "Light1" > int brightness: 20 > string color: "Red" > } > > Let us say Light resource data has following constraints: > name can take any string as input > brightness can take values between 0 to 100 color can take "Red", "Green" > and "Blue" as values > > At the time of discovery do we have a feature where the client can learn > about all possible values each data parameter can take. > > Regards > Uday > > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 7198 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150406/222195e1/attachment.p7s>
