Hi, Devs,
For IoT project, scons is used. And I have a question about using lib. 1. May I use .o file as the lib? Thanks Jason Sun 发件人: Wouter van der Beek (wovander) [mailto:wovan...@cisco.com] 发送时间: 2017年8月4日 18:39 收件人: sunlf; 'Tonny Tzeng' 抄送: 'iotivity-dev' 主题: RE: [dev] 答复: One question about resource interface name No, you should not define your own definitions for the interface names! The interface names have meaning what you get back and they are standardized in the spec. Kind Regards, Wouter From: iotivity-dev-boun...@lists.iotivity.org [mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of sunlf Sent: 04 August 2017 10:32 To: 'Tonny Tzeng' <tonny.tz...@gmail.com> Cc: 'iotivity-dev' <iotivity-dev@lists.iotivity.org> Subject: [dev] 答复: One question about resource interface name Great thanks Jason Sun 发件人: Tonny Tzeng [mailto:tonny.tz...@gmail.com] 发送时间: 2017年8月4日 17:27 收件人: sunlf 抄送: iotivity-dev 主题: Re: [dev] One question about resource interface name You may reference section 7.6 in the OCF Core specification [1] for detailed description. Basically, OC_RSRVD_INTERFACE_DEFAULT is the default reserved interface name "oic.if.baseline", "core.rw" is just an example used in the sample code. You definitely could use your own "vendor-defined Interface" according to the spec, and property values are case sensitive. FYI. [1] https://openconnectivity.org/specs/OCF_Core_Specification_v1.0.0.pdf Best Regards, Tonny On 4 August 2017 at 17:00, sunlf <su...@haierubic.com> wrote: Hi, IoT devs, I have one question about interface name. I know using OCCreateResource to create device resource. But about the 3st param, device interface name, what does that mean? I found in sample, value OC_RSRVD_INTERFACE_DEFAULT is used and in website the sample for that param is “core.rw”. What is the difference? May I set that param as xxx.yyy if my device is a special one? It must be downcase? Thanks Jason Sun 发件人: sunlf [mailto:su...@haierubic.com] 发送时间: 2017年8月4日 16:36 收件人: 'iotivity-dev@lists.iotivity.org' 主题: Can I get examples writen in C language Hi, IoT devs, I’m studying writing a code for light deice, WIFI module for example. Do you have examples which are written in C language? I found that most of examples under folder resource/examples are in C++ language. Thanks Jason Sun _______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev