public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: John Frankish <j-frankish@slb.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: Passkey-Agent for bluez 4.xx
Date: Wed, 17 Jun 2009 10:12:45 +0300	[thread overview]
Message-ID: <20090617071245.GA9177@jh-x301> (raw)
In-Reply-To: <6AC5A55546F64545AE996F8200E3AC4E06A01D43@NL0105EXC01V01.eur.slb.com>

Hi,

On Wed, Jun 17, 2009, John Frankish wrote:
> You should issue the pairing from your mobile phone. I don't know how to
> start pairing from the console.

The very same script you're discussing here (both the modified with the
'5555' and the unmodified version) acts as an passive acceptor for pairing
when you run it without arguments and as an initiator for pairing when you
give it two arguments.  So something like

./simple-agent hci0 <remote address>

should initiate a pairing from the command line to the remote device. This
has btw been discussed a few times on the mailing lists and you'd probably
also have found the answer by googling "bluez simple-agent" or something
similar.

Johan

  reply	other threads:[~2009-06-17  7:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-13 15:48 Passkey-Agent for bluez 4.xx Artem Makhutov
2009-05-14  4:46 ` Brad Midgley
2009-05-16 14:52   ` Artem Makhutov
2009-06-16 13:07   ` John Frankish
2009-06-16 14:30     ` Timothy Murphy
2009-06-17  7:38       ` Johan Hedberg
2009-06-17 12:17         ` Simon Kenyon
2009-06-16 19:21     ` Artem Makhutov
2009-06-17  4:14       ` John Frankish
2009-06-17  7:12         ` Johan Hedberg [this message]
2009-06-17 14:15           ` John Frankish
2009-06-17 15:35             ` Brad Midgley
2009-06-17  6:27     ` Brad Midgley
2009-06-17 14:15       ` John Frankish
  -- strict thread matches above, loose matches on Subject: below --
2009-05-13 15:55 Artem Makhutov
2009-05-18 19:21 Wilson, Scott
2009-05-18 19:52 ` James Le Cuirot
2009-05-18 21:53   ` Wilson, Scott
2009-05-18 22:16     ` Marcel Holtmann
2009-05-18 22:20     ` tmm

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=20090617071245.GA9177@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=j-frankish@slb.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