[maemo-developers] DBus Methods and Signals Introspection or Documentation
From: Wei Li ttlee1984 at gmail.comDate: Mon Jun 7 12:15:22 EEST 2010
- Previous message: DBus Methods and Signals Introspection or Documentation
- Next message: DBus Methods and Signals Introspection or Documentation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks for all your help! As I mentioned, I am doing a middleware (for energy efficiency) project on N900, hence I need to get the device status information such as battery, WLan card, mce. I need to use DBus to communicate with other components in my work. So the refs on DBus methods and signals will be helpful. Some of such information (for example, the battery) can be queried from HAL which has a defined specification. But some are not. For example, under /com/nokia path, there are many objects like icd, wlancond and in Faheem's example, csd (don't even know what it is. I assumed circuit switch data?), which I couldn't find the docs for them. If anyone knows a general reference to all those objects, like what HAL specification does, it would be great. BTW, in dbus-send command, the --desti argument specifies the "service", meaning the interface? I always get lost with bus name (connection name) and interface. Thanks for all the help! Cheers, Wei On Mon, Jun 7, 2010 at 11:35 AM, Faheem Pervez <trippin1 at gmail.com> wrote: > Hi, > > On Mon, Jun 7, 2010 at 12:15 AM, Wei Li <ttlee1984 at gmail.com> 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'll get more information if you specify *what* interface you're > trying to figure out. The best way I found for me was looking, using > strings, in a library that calls a D-Bus method, finding the name of > that method call and working out its arguments by trial and error. > > Graham Cobb's > https://garage.maemo.org/plugins/wiki/index.php?Tools&id=1106&type=g > may also be of help. > > Best regards, > Faheem > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100607/e1efd9ca/attachment.htm>
- Previous message: DBus Methods and Signals Introspection or Documentation
- Next message: DBus Methods and Signals Introspection or Documentation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]