public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Problem with HSP/HFP in bluez-3.22
@ 2007-11-05  9:01 Sumeet VERMA
  2007-11-05  9:11 ` Johan Hedberg
  0 siblings, 1 reply; 3+ messages in thread
From: Sumeet VERMA @ 2007-11-05  9:01 UTC (permalink / raw)
  To: bluez-users

Hi
I am trying to test the Headset profile using bluez-3.22 but I am facing the following error. I followed the steps from
http://wiki.bluez.org/wiki/HOWTO/AudioDevices


[root@dlhl0330 audio]# dbus-send --system --print-reply --type=method_call --dest=:1.3 /org/bluez/audio org.bluez.audio.Manager.CreateHeadset string:XX:XX:XX:11:65:00
method return sender=:1.3 -> dest=:1.19
 string "/org/bluez/audio/device3"
[root@dlhl0330 audio]# dbus-send --system --print-reply --type=method_call --dest=:1.3 /org/bluez/audio/device3 org.bluez.audio.Headset.Connect
Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "" on interface "org.bluez.audio.Headset" doesn't exist


The A2DP profile is working fine.

Regards,
Sumeet 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-users] Problem with HSP/HFP in bluez-3.22
  2007-11-05  9:01 [Bluez-users] Problem with HSP/HFP in bluez-3.22 Sumeet VERMA
@ 2007-11-05  9:11 ` Johan Hedberg
  2007-11-05 11:00   ` Sumeet VERMA
  0 siblings, 1 reply; 3+ messages in thread
From: Johan Hedberg @ 2007-11-05  9:11 UTC (permalink / raw)
  To: BlueZ users

Hi,

On Mon, Nov 05, 2007, Sumeet VERMA wrote:
> [root@dlhl0330 audio]# dbus-send --system --print-reply --type=method_call --dest=:1.3 /org/bluez/audio org.bluez.audio.Manager.CreateHeadset string:XX:XX:XX:11:65:00
> method return sender=:1.3 -> dest=:1.19
>  string "/org/bluez/audio/device3"
> [root@dlhl0330 audio]# dbus-send --system --print-reply --type=method_call --dest=:1.3 /org/bluez/audio/device3 org.bluez.audio.Headset.Connect
> Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "" on interface "org.bluez.audio.Headset" doesn't exist

The CreateHeadset method should actually be considered deprecated.
Currently it simply maps to CreateDevice so you might as well use that
instead. This is also the reason why you don't get an error for this
call. It seems that a HSP service record was not found on the remote
device and the Headset D-Bus interface is therefore not available for
the created object.

Are you sure the headset supports HSP? Can you discover it e.g. through
sdptool search --bdaddr <bdaddr> HS

What is the model of your headset?

Johan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-users] Problem with HSP/HFP in bluez-3.22
  2007-11-05  9:11 ` Johan Hedberg
@ 2007-11-05 11:00   ` Sumeet VERMA
  0 siblings, 0 replies; 3+ messages in thread
From: Sumeet VERMA @ 2007-11-05 11:00 UTC (permalink / raw)
  To: 'BlueZ users'

Hi Johan
Thanks for your help. I was earlier testing it with an application which had
HF service registered and not HS. Now I tested with Nokia HS-12W and it
works fine.  


Regards,
Sumeet 
-----Original Message-----
From: bluez-users-bounces@lists.sourceforge.net
[mailto:bluez-users-bounces@lists.sourceforge.net] On Behalf Of Johan
Hedberg
Sent: Monday, November 05, 2007 2:42 PM
To: BlueZ users
Subject: Re: [Bluez-users] Problem with HSP/HFP in bluez-3.22

Hi,

On Mon, Nov 05, 2007, Sumeet VERMA wrote:
> [root@dlhl0330 audio]# dbus-send --system --print-reply 
> --type=method_call --dest=:1.3 /org/bluez/audio 
> org.bluez.audio.Manager.CreateHeadset string:XX:XX:XX:11:65:00 method
return sender=:1.3 -> dest=:1.19  string "/org/bluez/audio/device3"
> [root@dlhl0330 audio]# dbus-send --system --print-reply 
> --type=method_call --dest=:1.3 /org/bluez/audio/device3 
> org.bluez.audio.Headset.Connect Error 
> org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with 
> signature "" on interface "org.bluez.audio.Headset" doesn't exist

The CreateHeadset method should actually be considered deprecated.
Currently it simply maps to CreateDevice so you might as well use that
instead. This is also the reason why you don't get an error for this call.
It seems that a HSP service record was not found on the remote device and
the Headset D-Bus interface is therefore not available for the created
object.

Are you sure the headset supports HSP? Can you discover it e.g. through
sdptool search --bdaddr <bdaddr> HS

What is the model of your headset?

Johan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-05 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05  9:01 [Bluez-users] Problem with HSP/HFP in bluez-3.22 Sumeet VERMA
2007-11-05  9:11 ` Johan Hedberg
2007-11-05 11:00   ` Sumeet VERMA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox