Re: problem in audio service

Andrew William <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
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 <[email protected]>
To: BlueZ development <[email protected]>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel






      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
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.