public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Can't connect to cell phone using dbus api
@ 2009-07-02 19:02 Rafael Seste
  2009-07-02 19:21 ` Johan Hedberg
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael Seste @ 2009-07-02 19:02 UTC (permalink / raw)
  To: linux-bluetooth

Hi all,

I'm trying to connect to my cellphone (nokia 5310) using the Dbus api.

First of all I created the device (org.bluez.Adapter.CreateDevice) and
it worked but it didn't request the pin code. The simple-agent was
running.

Then I tried to connect using org.bluez.Audio.Connect but it returned
the following error:

Error org.bluez.Error.ConnectFailed: Headset connect failed

I tried to change the profile to HeadsetGateway
(org.bluez.HeadsetGateway.Connect) and got this output:

Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with
signature "" on interface "org.bluez.HeadsetGateway" doesn't exist

Isn't it possible to connect with my cellphone? it has HSP/HFP.
Am I doing something wrong???

Thanks

-- 
Rafael S. Seste

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

end of thread, other threads:[~2009-07-02 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 19:02 Can't connect to cell phone using dbus api Rafael Seste
2009-07-02 19:21 ` Johan Hedberg
2009-07-02 20:11   ` Rafael Seste

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