Help with uBus integration

I have a daemon that I would like to integrate with ubusd
I just cant seem to get my head around libubus
Is there any documentation on the ubus library and how to use to integrate into your own process.

My daemon polls devices over a serial port and collects data. I then want to make that data available to a LuCI view. I seems that uBus is the best way to couple the daemon to the LuCI pages.

I have followed the example, but I can not resolve functions such as uloop_run()
They are not defined in libubus.h

Has anyone done this, what where the steps you took to get it running?

Thanks

See ugps package.

ee ugps package.

​thank you ... will do​

Cheers