Re: [OpenWrt-Devel] API documentation of ubus
Hi, --[Far from being an authoritative source, but just happen to be subscribed to the mailing list]-- I had a brief look at the ubus repo when you first sent an email, and the header files were pretty usable imho, laid out in a way I'd consider to be logical, and if you've ever written any kind of client/server code ubus terminology isn't far off, and you should be able to find your way around. Most openwrt users just want to glue stuff in shell, and I found this wiki to have useful examples for that (if that's what you want to do): https://wiki.openwrt.org/doc/techref/ubus If I were you, and were looking for examples, I'd look at existing openwrt binaries, since they use ubus and try to follow the same patterns. -s P.S. As with any software, you should write integration tests that exercise the functionality of your software, in order to ensure possible future changes don't break your software in unintended ways. Srdjan Rosic On Sat, Nov 21, 2015 at 11:49 AM, Pratik Prajapati wrote: > Gentle Reminder > > On Fri, Nov 20, 2015 at 6:29 PM, Pratik Prajapati > wrote: >> >> Hi, >> >> Is there any API documentation of ubus available? >> >> If yes, where can i found those? >> > > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] API documentation of ubus
Thanks Javier. Till now I have referred ubus only, but now I can start reading procd, uhttpd, netifd to have more understanding. On Sat, Nov 21, 2015 at 5:38 PM, Javier Domingo Cansino wrote: > The only documentation you have from ubus is > https://wiki.openwrt.org/doc/techref/ubus > > Apart from that, you can read procd, rpcd, uhttpd, netifd and ubus itself > to see how to use it. I had plans on further documenting it but still > didn't have time. You are welcome to further document it. > > On Sat, Nov 21, 2015 at 11:53 AM Pratik Prajapati < > pratik.prajapat...@gmail.com> wrote: > >> Gentle Reminder >> >> On Fri, Nov 20, 2015 at 6:29 PM, Pratik Prajapati < >> pratik.prajapat...@gmail.com> wrote: >> >>> Hi, >>> >>> Is there any API documentation of ubus available? >>> >>> If yes, where can i found those? >>> >>> >> ___ >> openwrt-devel mailing list >> openwrt-devel@lists.openwrt.org >> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel >> > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] API documentation of ubus
The only documentation you have from ubus is https://wiki.openwrt.org/doc/techref/ubus Apart from that, you can read procd, rpcd, uhttpd, netifd and ubus itself to see how to use it. I had plans on further documenting it but still didn't have time. You are welcome to further document it. On Sat, Nov 21, 2015 at 11:53 AM Pratik Prajapati < pratik.prajapat...@gmail.com> wrote: > Gentle Reminder > > On Fri, Nov 20, 2015 at 6:29 PM, Pratik Prajapati < > pratik.prajapat...@gmail.com> wrote: > >> Hi, >> >> Is there any API documentation of ubus available? >> >> If yes, where can i found those? >> >> > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] API documentation of ubus
Gentle Reminder On Fri, Nov 20, 2015 at 6:29 PM, Pratik Prajapati < pratik.prajapat...@gmail.com> wrote: > Hi, > > Is there any API documentation of ubus available? > > If yes, where can i found those? > > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] API documentation of ubus
Hi, Is there any API documentation of ubus available? If yes, where can i found those? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel