All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] monitor-ofono: monitor DisconnectReason
@ 2010-11-11 12:54 Pekka.Pessi
  2010-11-11 15:12 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Pekka.Pessi @ 2010-11-11 12:54 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]

From: Pekka Pessi <Pekka.Pessi@nokia.com>

---
 test/monitor-ofono |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/test/monitor-ofono b/test/monitor-ofono
index 2f49f76..8570c34 100755
--- a/test/monitor-ofono
+++ b/test/monitor-ofono
@@ -75,6 +75,10 @@ def ussd(msg, member, path, interface):
 	iface = interface[interface.rfind(".") + 1:]
 	print "{%s} [%s] %s %s" % (iface, path, member, str(msg))
 
+def value(value, member, path, interface):
+	iface = interface[interface.rfind(".") + 1:]
+	print "{%s} [%s] %s %s" % (iface, path, member, str(value))
+
 if __name__ == '__main__':
 	dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
 
@@ -150,6 +154,13 @@ if __name__ == '__main__':
 						path_keyword="path",
 						interface_keyword="interface")
 
+	bus.add_signal_receiver(value,
+				bus_name="org.ofono",
+					signal_name = "DisconnectReason",
+						member_keyword="member",
+						path_keyword="path",
+						interface_keyword="interface")
+
 	for member in ["IncomingBroadcast", "EmergencyBroadcast",
 			"IncomingMessage", "ImmediateMessage"]:
 		bus.add_signal_receiver(message,
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] monitor-ofono: monitor DisconnectReason
  2010-11-11 12:54 [PATCH] monitor-ofono: monitor DisconnectReason Pekka.Pessi
@ 2010-11-11 15:12 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2010-11-11 15:12 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

Hi Pekka,

On 11/11/2010 06:54 AM, Pekka.Pessi(a)nokia.com wrote:
> From: Pekka Pessi <Pekka.Pessi@nokia.com>
> 
> ---
>  test/monitor-ofono |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
> 

This patch has been applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-11 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-11 12:54 [PATCH] monitor-ofono: monitor DisconnectReason Pekka.Pessi
2010-11-11 15:12 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.