I have confirmed with dbus-monitor that my N900 (in 2G mode) is in fact triggering the IncomingCBS dbus signal.

What I want to do now is to wire up that signal and dump its parameters so we can reverse engineer what those parameters are and write a GUI to do something with the results.

I have identified that the csd-sms plugin is making the following calls
dbus_message_new_signal("/com/nokia/phone/SMS","Phone.SMS","IncomingCBS")
dbus_message_append_args(blah)
dbus_message_unref()

Also, dbus-monitor says this
signal sender=:1.19 -> dest=(null destination) serial=550 path=/com/nokia/phone/SMS; interface=Phone.SMS; member=IncomingCBS

The parameters that the IncomingCBS call seems to take are
array of bytes
uint32
uint32
byte
byte
byte

I have been following various dbus examples (including dbus-monitor source) and am confused as to how to listen to a signal and what values to pass to listen for this signal and only this signal.

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?

If we can figure out how to listen to this signal and what the arguments mean, writing something to display the results shouldn't be that hard :)
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to