Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Nils Faerber <nils.faerber@kernelconcepts.de>
Cc: bluez-devel@lists.sf.net
Subject: Re: [Bluez-devel] Force pairing on single connection?
Date: Tue, 10 Feb 2004 11:16:58 +0100	[thread overview]
Message-ID: <1076408218.32750.39.camel@pegasus> (raw)
In-Reply-To: <1076408056.17071.53.camel@localhost>

Hi Nils,

> > > Is it possible to force a pairing process for a single device pair?
> > > The situation is that I have a device that seems to accept non-paired
> > > and paired connections. I would now like to pair with this device and
> > > thus force the pairing, but only for this device - I am quite happy with
> > > not being forced to pair for mostly all other devices ;)
> > you must issue a HCI_Authenticate command on the HCI socket. There is no
> > other method at the moment. I was thinking about adding an ioctl to the
> > L2CAP socket so this can also be triggered by normal users.
> > Other proposals are welcome.
> 
> Hmm... maybe as a first quickshot simply add a function to hcitool which
> does exctly this command issue. Hcitool can already issue arbitrary HCI
> commands and adding a function for forcing authentication would simply
> be a convenience thing...
> Something like
> 	hcitool auth <BT-MAC>
> maybe...

sure. Send me a patch for it (including man page update).

> The rest should happen automatically? I.e. PIN input and such would go
> the normal way of PINs I suppose, so either by script or GUI input.

Yes.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  parent reply	other threads:[~2004-02-10 10:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-09 15:03 [Bluez-devel] Force pairing on single connection? Nils Faerber
2004-02-10 10:05 ` Marcel Holtmann
     [not found]   ` <1076408056.17071.53.camel@localhost>
2004-02-10 10:16     ` Marcel Holtmann [this message]
2004-03-17 14:23   ` Fred Schättgen
2004-03-19  0:13     ` Marcel Holtmann
2004-03-19 17:06       ` Fred Schättgen

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=1076408218.32750.39.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sf.net \
    --cc=nils.faerber@kernelconcepts.de \
    /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