I am looking for some examples how to use ofono in C.
I need something lightweight without using thinks like Qt so ofono might
be run on low end devices like wifi routers.
you can use oFono directly via the libdbus C binding. It is pretty
lightweight. An example would be tools/auto-enable.c to get you started