Re: problem in audio service

Johan Hedberg <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
Hi Andrew,

On Feb 7, 2008, at 7:42, Andrew William wrote:
> XYZ@localhost sbc]$ dbus-send --system --type=method_call --print- 
> reply --dest=org.bluez /org/bluez org.bluez.Manager.ActivateService  
> string:audio
> method return sender=:1.56 -> dest=:1.59
>    string ":1.60"
>
> XYZ@localhost sbc]$ dbus-send --system --type=method_call --print- 
> reply --dest=":1.59" /org/bluez/audio  
> org.bluez.audio.Manager.CreateHeadset string:00:0F:DE:B1:02:42
> Error org.freedesktop.DBus.Error.ServiceUnknown: The name :1.59 was  
> not provided by any .service files
>
> What is this error? Can someone tell me what is being missed here?

The value of the string parameter in the reply was ":1.60" if you look  
closely. That's what you should have used. The "dest=:1.59" is just  
debug output from dbus-send telling properties of the method return  
message that it got (i.e. "1:59" being the unique name that dbus-send  
had during the short time that it was connected to the bus, which also  
explains the error you got in the second command since the first dbus- 
send process didn't exist anymore).

Johan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.