razberry c-library doc

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
Bernd
Posts: 2
Joined: 30 Aug 2015 00:23

razberry c-library doc

Post by Bernd »

Hello,

is there any better documentation about the c-library api ? especially structure of zway-object and function reference ? the demo program and header-files dont say enough.

regards
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: razberry c-library doc

Post by PoltoS »

ZWayLib.h explains quite a lot. Isn't it enough? You should also see JS doc (zwayDev.pdf) - function description is same.

There is no description of zway object at all as it is just a reference to our internal structures - you don't need to look inside
Bernd
Posts: 2
Joined: 30 Aug 2015 00:23

Re: razberry c-library doc

Post by Bernd »

laborious way to translate js to c - the c-api documentation is an imposition
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: razberry c-library doc

Post by pofs »

We have more JS API users, so yes, C API is less documented.
But the JS function documentation is actually automatically generated from C headers' comments, that's why they're pretty much the same. ZWay startup/shutdown code is shown in demo program, all other operations are matching those in JS.
Post Reply