Ok, I got it. Thank you
On 04/15/2016 11:35 AM, DWARKAPRASAD DAYAMA wrote: > Dear Otavio, > > All the properties having multiple values will be array from v1.1 Spec. > > RT can also have multiple value in case of composite device for an > example ["oic.d.aircondition", "oic.d.fan"]. > > Let me know if you need any more information. > > Regards > Dwarka > OCF - OSWG : SCTG Chair > > > Sent from Mobiledesk > "Please excuse my typos" > > > ---Original Message--- > Sender : Otavio Pontes/otavio.pontes at intel.com > Date : 2016/04/15 23:01 (GMT+09:00) > Subject : [dev] Resource type and interfaces in IoTivitiy 1.1 > > Hi, > > I was doing some tests in 1.1.0-RC3 tag (and 1.1-rel branch) and I > realized that the format used to inform the resource type (rt) and > interfaces (if) has changed in /oic/res resource to a format different > from specified in 1.0 spec. > > Interface list is now an array of strings, containing all interfaces > from a resource (instead of using a string with a list in Space > Separated Value format) and resource type is an array containing a > string with the resource type (instead of a single string). > > Is this the new format expected in next version of the spec? It looks > good to me to have an array for Interfaces, but I didn't understand > why to have an array for resource type, since a resource can't have > more than 1 resource type. Can anyone clarify this for me? > > Thank you, > Otavio Pontes > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160415/f0520d66/attachment.html>
