Mats is correct the DeviceBuilder is currently oriented to building server-role.

If you want a C example instead of a C++ example you can view the sample 
generated by Rami Alshafi.

This example was intended for the 1.3.1 release but due to bad timing and some 
other review issues never made it into the code base. 
https://gerrit.iotivity.org/gerrit/#/c/22513/

It has been tested against the (certification test tool as well). This code has 
been used and tested by quite a few individuals since it was used as part of 
the IoTivity Development kit on Raspberry Pi

https://openconnectivity.org/wp-content/uploads/2017/12/OCF-IoTivity-RPi3-GSG.pdf

The kit can be purchased here: 
http://ecommerce.vprime.com/IoTivity-Developer-s-Kit-p125.html

Personally I don’t think the dev kit is needed. The sample code works on a PC.

If you are trying to build for Arduino you may want to consider using 
iotivity-constrained since it is specifically designed to run on devices with 
ram/rom limitations.

George Nash

From: iotivity-dev-boun...@lists.iotivity.org 
[mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Mats Wichmann
Sent: Thursday, March 29, 2018 8:03 AM
To: Sridharan Jayaraman <sridhara...@tataelxsi.co.in>
Cc: iotivity-dev@lists.iotivity.org
Subject: Re: [dev] ESP8266 for Arduino



On Thu, Mar 29, 2018 at 4:32 AM, Sridharan Jayaraman 
<sridhara...@tataelxsi.co.in<mailto:sridhara...@tataelxsi.co.in>> wrote:

Hi Team,



We are working on a smart appliances IOT project, Our management has decided to 
use iotivity stack. We have build the example Iotivity code and it works too 
fine in ubuntu machine. however we need some guidance in starting the 
application development for implementing Iotivity stack. Request you support.



can I get a simple reference document for both server and clients connectivity ?





Regards

Sridharan J



Hi... not completely sure what you're asking for.   iotivity is trying to 
improve the developer documentation (in fact, OCF is funding a project to help 
with this, I don't know if work has started yet), so if you don't find what you 
are looking for on the wiki you should let us know. Use this as a starting 
point: https://www.iotivity.org/documentation

There is also some developer documentation on the OCF site, which unfortunately 
I don't have a link handy for.  This will be easier to find if you are an OCF 
member.  The Device Builder project may be helpful in any case, although I 
believe it's rather more oriented to building server-role devices than apps:  
https://github.com/openconnectivityfoundation/DeviceBuilder.  Also there is an 
example of a light device being developed which has the goal of showing what 
you need to do to develop a server which could eventually be certified (or at 
least pass the certification test tool), and has started from the device 
builder output - many thanks to George Nash for working on this.  It's not in 
the git tree yet, but if you want to look at the work in progress it can be 
seen here with the usual caveat for such things - use what's useful, but as it 
is not merged yet it may change and is not "supported":  
https://gerrit.iotivity.org/gerrit/#/c/24263/.  There are other examples in the 
code tree to look at as well.

Please continue to ask questions here, these are just some pointers... this is 
a work in progress still (and as it is an open source project, be prepared to 
be asked to add things you learn to help improve the documentation!)
_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to