public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] devices always connect with out asking for PIN	even with pairing enabled!
Date: Tue, 11 Sep 2007 17:15:47 +0200	[thread overview]
Message-ID: <1189523747.12789.25.camel@aeonflux.holtmann.net> (raw)
In-Reply-To: <8c7950360709110512k1cede8e8r78b04b739de49ce4@mail.gmail.com>

Hi Shane,

> Then if comment out all the options in the hcid.conf, hcid should then
> use all its default values and I should be able to do the pairing and
> security completely with PAND, correct?

use the default hcid.conf. It has sane settings. And yes, pand will
control the request for authentication.

> A passkey agent is used to send the key when requested by the master
> but then how do you set the passkey on the master.  I was originally
> using passkey in the hcid.conf file but that goes against your
> recommendation of never touching the hcid.conf file.  Were does the
> master PIN get set?  Does it also just use a passkey agent?

You have to run a passkey agent. It takes care of asking for the PIN. A
passkey agent however must not be interactive. It could always provide a
default PIN. Write your own one if you need something special.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2007-09-11 15:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06 20:06 [Bluez-users] devices always connect with out asking for PIN even with pairing enabled! shanevolpe
2007-09-10 19:10 ` Marcel Holtmann
2007-09-10 19:56   ` shanevolpe
2007-09-10 20:56     ` Marcel Holtmann
2007-09-11 12:12       ` shanevolpe
2007-09-11 15:15         ` Marcel Holtmann [this message]
2007-09-11 16:00           ` Marcus C. Gottwald

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=1189523747.12789.25.camel@aeonflux.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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