Never mind ... path needed to be formatted with slashes, like 
/org/xyz/PushNotificationAgent

Arggh.

-- Ben --

>-----Original Message-----
>From: [email protected] [mailto:[email protected]] 
>On Behalf Of Cahill, Ben M
>Sent: Tuesday, December 14, 2010 11:17 AM
>To: [email protected]
>Subject: Something wrong with PushNotification interface?
>
>Trying to send DBUS message to ofono's PushNotification 
>interface is apparently crashing the DBUS connection for me.  
>Even when trying to send message from d-feet, d-feet (the app 
>itself) shuts down instantly.  Can't find any error message 
>anywhere (not even from DBG statements that I added to ofono's 
>push_notification_register_agent() function ... message 
>apparently doesn't get that far).
>
>Anyone else see the same thing?
>
>I've seen in DBUS spec that DBUS should silently close the 
>connection if spec or protocol gets violated; wondering if 
>this is happening?
>
>I'm no DBUS expert, and have spent a couple days trying to 
>chase this down.  :-(
>
>
>Here's what I do to reproduce the problem (using phonesim):
>
># ofonod -n -d '*'
>$ src/phonesim -p 12345 -gui src/default.xml
># d-feet
>       Click on "org.ofono" in left window
>       navigate to /phonesim/org.ofono.Modem/Methods
>       SetProperty "Powered", True
>       SetProperty "Online", True
>
>(so far, so good)
>
>       Click again on "org.ofono" in left window to refresh 
>object path tree
>       navigate to 
>/phonesim/Interfaces/org.ofono.PushNotification/Methods
>       double-click "RegisterAgent"
>       RegisterAgent "/org.xyz/PushNotificationAgent"
>
>(d-feet GUI disappears, and new command line prompt appears)
>(if I were using the daemon I'm developing, it would report 
>"System bus has disconnected" and exit)
>
>Any ideas?
>
>-- Ben --
>
>
>       
>_______________________________________________
>ofono mailing list
>[email protected]
>http://lists.ofono.org/listinfo/ofono
>
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to