Gabriel, If it isn't obvious, I will say that C++ is entirely implemented on the C API, so there's nothing C++ can do that C API can't. (That is, there's no back door.)
John -----Original Message----- From: iotivity-dev-bounces at lists.iotivity.org [mailto:[email protected]] On Behalf Of Schulhof, Gabriel Sent: Tuesday, April 07, 2015 2:38 PM To: Lenahan, Charlie Cc: iotivity-dev at lists.iotivity.org Subject: Re: [dev] node.js bindings On Wed, Apr 8, 2015 at 12:20 AM, Lenahan, Charlie <charlie.lenahan at intel.com> wrote: >> >>To this end, and being quite unfamiliar with the iotivity code, I have >>to ask: There's supposed to be a C API for iotivity, at least >>according to the programmer's guide[0], but I can't find any >>references for it. > (on master) There is a doxyfile checked in now under > resource/csdk/doc, so you?d have generate the C SDK documentation for > yourself. > > The web site doesn?t have a link yet, as the C++ is the preferred API. > The C API is intended for resource constrained device. OK. Thanks! At first glance it looks as though I can more easily get off the ground with the C API. I think my first attempt will be to statically link it to the node addon. I'll have to see if I can do it without scons though, because that's also a dependency that might not be present on the target system. I suppose I'll be duplicating some of the build configuration into the node package bindings.gyp file. > > > >>Does the C API depend on boost too? I would think not. > > Correct. Excellent! Thanks for your help! Gabriel _______________________________________________ iotivity-dev mailing list iotivity-dev at lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev
