All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Bennett <tjbenne@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Secure Simple Pairing Mode - Setting NoInputNoOutput mode
Date: Fri, 16 Jul 2010 15:14:29 -0400	[thread overview]
Message-ID: <4C40AF95.4080505@gmail.com> (raw)

Is there a method (programmatic or hciconfig - type) to change the Mode of a
BT v2.1 dongle to require NoInputNoOutput/JustWorks pairing?

I want to make my box (running linux 2.6.30.2 kernel on an arm processor
with Bluez 4.67 and a Broadcom v2.1 dongle) pair with another device in the
"JustWorks" (NoInputNoOutput) mode.

1. The SSP mode seems to default to "Numeric Comparison" mode.  I am trying
to find out how to switch to "Just Works" (NoInputNoOutput mode)
Can someone point me to a command or code that would switch my adapter into
the NoInputNoOutput mode?
Is it something I can configure through hciconfig or through a dbus command?

  2. The man page for hciconfig has the command hciconfig hciX sspmode
[mode].  Is [mode] only valid for 0 or 1?

In looking in hciconfig.c, at the
hci_read_simple_pairing_mode/hci_write_simple_pairing_mode functions, there
is no clear indication as to what the accepted values are for [mode}

Tim Bennett


             reply	other threads:[~2010-07-16 19:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16 19:14 Tim Bennett [this message]
2010-07-16 23:37 ` Secure Simple Pairing Mode - Setting NoInputNoOutput mode Johan Hedberg
2010-07-16 23:52   ` Tim Bennett

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=4C40AF95.4080505@gmail.com \
    --to=tjbenne@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.