public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Rafael Seste <rseste@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Can't connect to cell phone using dbus api
Date: Thu, 2 Jul 2009 16:02:31 -0300	[thread overview]
Message-ID: <5d223510907021202gb1f466amc697137d582a168a@mail.gmail.com> (raw)

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

             reply	other threads:[~2009-07-02 19:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-02 19:02 Rafael Seste [this message]
2009-07-02 19:21 ` Can't connect to cell phone using dbus api Johan Hedberg
2009-07-02 20:11   ` Rafael Seste

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=5d223510907021202gb1f466amc697137d582a168a@mail.gmail.com \
    --to=rseste@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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