public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] problem in audio service
Date: Thu, 7 Feb 2008 10:39:15 +0200	[thread overview]
Message-ID: <412771EB-41DB-40BA-969F-D7E3F0E77CE3@gmail.com> (raw)
In-Reply-To: <247899.25747.qm@web94003.mail.in2.yahoo.com>

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

  reply	other threads:[~2008-02-07  8:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07  5:42 [Bluez-devel] problem in audio service Andrew William
2008-02-07  8:39 ` Johan Hedberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-02-07  9:02 Andrew William
2008-02-07 10:35 Andrew William
2008-02-08 14:28 ` Luiz Augusto von Dentz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=412771EB-41DB-40BA-969F-D7E3F0E77CE3@gmail.com \
    --to=johan.hedberg@gmail.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox