Hi Jinhong,
If you build iotivity, you will have some libraries as a result.
Among those libraries, you will see the "octbstack.so/a".
That is the C based stack which I think you could use for your needs.
Header file which carries the APIs that you will need to refer is
"ocstack.h".
You can find the sample app which uses only that libraries at here.
-> iotivity/resource/csdk/stack/samples
FYI, there're some tips that you could use to reduce the library size.
1. Selected only features that you need for the IoTivity
ex) if you use IP connectivity only..
scons TARGET_TRANSPORT=IP
2. etc...
Please check the "Readme.scons.txt" file from the iotivity project folder,
or visit "wiki.iotivity.org" web site.
I hope this tips helps you.
Thank you.
Jay.
2016. 5. 27. ?? 11:10? "jinhong kim" <jh0703.kim at gmail.com>?? ??:
> Dear members.
>
> I am developing RTOS and use iotivity on my OS.
>
> I have some question.
>
> 1. Do you know how to build iotivity on lite device?
> I can not use c++ code, so have to build only c code
>
> 2. Is there test application for lite device?
>
> Have a good day.
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160527/55b239a4/attachment.html>