Hello Jason,

 

This may help you : https://wiki.iotivity.org/common_resources?s[]=interface

 

--

Thanks and Regards,

Abhishek Pandey.

 

 

--------- Original Message ---------

Sender : sunlf <[email protected]>

Date : 2017-08-04 14:31 (GMT+5:30)

Title : [dev] One question about resource interface name

 

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:[email protected]]
发送时间: 201784 16:36
收件人: '[email protected]'
主题: 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
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

 


_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to