mkschreder / orangerpcd

Websocket RPC server for OpenWRT
Other
27 stars 11 forks source link

Does the project support the standard UBUS? #1

Closed darcyg closed 7 years ago

darcyg commented 8 years ago

hi Martin: Does this project support the openwrt version of UBUS? Openwrt-feed/jucid/Makefile is used in the libubus2, do not know whether the libubus2 and libubus compatible. Does my UBUS module need to be re compiled?

thanks

mkschreder commented 8 years ago

Yes ubus is supported. However backend objects will no longer be forced to be on ubus. They can be put there as well, but that will not be a mandatory thing. So instead of the request path being "client -> uhttpd -> ubus -> ubus-scriptd -> bash -> lua -> ubus-scriptd -> ubus -> uhttpd -> client" it's now going to be "client -> jucid -> lua -> jucid -> client". You will notice a clear difference in speed. On 19 Feb 2016 03:57, "Darcy Gong" notifications@github.com wrote:

hi Martin: Does this project support the openwrt version of UBUS? Openwrt-feed/jucid/Makefile is used in the libubus2, do not know whether the libubus2 and libubus compatible. Does my UBUS module need to be re compiled?

thanks

— Reply to this email directly or view it on GitHub https://github.com/mkschreder/jucid/issues/1.