hi johan
Thanks for reply
tried this but no change
XYZ@localhost BlueZ]$ dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez org.bluez.Manager.ActivateService string:audio
method return sender=:1.86 -> dest=:1.110
   string ":1.111"
XYZ@localhost BlueZ]$ dbus-send --system --type=method_call --print-reply --dest=":1.111" /org/bluez/audio org.bluez.audio.Manager.CreateHeadset string:00:0F:DE:B1:02:42
Error org.freedesktop.DBus.Error.ServiceUnknown: The name :1.111 was not provided by any .service files


----- Original Message ----
From: Johan Hedberg <johan.hedberg@gmail.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Sent: Thursday, 7 February, 2008 2:09:15 PM
Subject: Re: [Bluez-devel] problem in audio service

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/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel



Did you know? You can CHAT without downloading messenger. Click here