> Can someone point me to an example out there (using either lowlevel or glib > binding) and some info on how I would listen to this signal?
One quick exemple : I want to listen for this signal : signal sender=:1.20 -> dest=(null destination) serial=1385 path=/com/nokia/phone/net; interface=Phone.Net; member=registration_status_change byte 4 uint16 1024 uint32 13053 uint32 1 uint32 208 byte 0 byte 7 And I use something like that (it's in a pyqt app so you will have to adapt it to suit your needs) : ------------------------ import sys from PyQt4.Qt import QApplication import dbus.mainloop.qt def cell_signal_handler(*args): print "%s,%s" % (args[3], args[2]) app.quit() app = QApplication(sys.argv) dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True) bus = dbus.SystemBus() bus.add_signal_receiver(cell_signal_handler, dbus_interface="Phone.net", signal_name="registration_status_change") app.exec_() ------------------------ com.nokia.phone.SMS is on the session bus so you will need something like that : # signal sender=:1.19 -> dest=(null destination) serial=550 path=/com/nokia/phone/SMS; interface=Phone.SMS; member=IncomingCBS bus = dbus.SessionBus() bus.add_signal_receiver(cell_signal_handler, dbus_interface="Phone.SMS", signal_name="IncomingCBS") Sorry, I'm late, I've got not enough time to explain more. _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers