[maemo-developers] DBus Methods and Signals Introspection or Documentation

From: Dave Neary dneary at maemo.org
Date: Wed Jun 9 15:09:17 EEST 2010
Hi Wei,

Wei Li wrote:
> I am doing a project of middleware on Maemo/N900. I need to find the
> methods and signals related to the hardware, for example, HAL
> (especially the objects under /com/nokia since it is somehow
> proprietary). However, I couldn't find a detailed documentation on that.
> And I also used tools such as mdbus2, but since it lacks documentation
> and so does DBus itself, I couldn't figure out how to do the
> introspection to find the information I want. Anyone knows how to find
> that? Thanks!

You might find D-feet useful: https://fedorahosted.org/d-feet/

It is a DBus debugger that you can use to see what applications have
listeners active, what APIs are supported, etc.

I asked some time ago whether there was
(a) a way to self-document DBus APIs when registering them (as you can
do with the GIMP in plug-ins, for example) or
(b) a way to inspect DBus and get something resembling API docs out of
it, or
(c) some gtk-doc or Doxygen convention we could use to document D-Bus APIs

I was told "no" for a and c, and D-feet, dbus-monitor (which David
mentioned in that tools wiki page) and dbus-inspector
(http://www.vitavonni.de/projekte/dbus-inspector.html.en) are the best I
could find.

Cheers,
Dave.

-- 
maemo.org docsmaster
Email: dneary at maemo.org
Jabber: bolsh at jabber.org

More information about the maemo-developers mailing list