Linux bluetooth development
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: "Kamil Jońca" <kjonca@o2.pl>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: How to pair device from CLI?
Date: Fri, 28 Dec 2012 15:54:23 +0200	[thread overview]
Message-ID: <20121228135423.GA14448@x220.P-661HNU-F1> (raw)
In-Reply-To: <87wqw2s3qm.fsf@alfa.kjonca>

Hi Kamil,

> > HCI Event: IO Capability Request (0x31) plen 6
>     bdaddr D4:E8:B2:AA:15:FA
> < HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9
>     bdaddr D4:E8:B2:AA:15:FA capability 0x04 oob 0x00 auth 0x03
>     Capability: Reserved (OOB data not present)
>     Authentication: Dedicated Bonding (MITM Protection)

Here's the problem. The kernel is respoding with an invalid IO
capability value. The same issue was discussed here just a week ago:

http://marc.info/?l=linux-bluetooth&m=135599627517032&w=2

The quick fix is to change "KeyboardDisplay" to "DisplayYesNo" in the
simple-agent script.

Johan

  reply	other threads:[~2012-12-28 13:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-28  0:23 How to pair device from CLI? Kamil Jońca
2012-12-28  8:08 ` Johan Hedberg
2012-12-28 13:30   ` Kamil Jońca
2012-12-28 13:54     ` Johan Hedberg [this message]
2012-12-28 15:25       ` Kamil Jońca

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=20121228135423.GA14448@x220.P-661HNU-F1 \
    --to=johan.hedberg@gmail.com \
    --cc=kjonca@o2.pl \
    --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