All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: "W.P." <laurentp@wp.pl>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: pairing device in text mode
Date: Fri, 1 Jul 2011 11:44:39 +0300	[thread overview]
Message-ID: <20110701084439.GA6461@dell.ger.corp.intel.com> (raw)
In-Reply-To: <4E0D82DA.7090501@wp.pl>

On Fri, Jul 01, 2011, W.P. wrote:
> How can I do this in text mode?

You can pair with "simple-agent hci0 <remote address>". To simply create
a new device object without pairing you can use "test-device create
<remote address>". Once you've created the object you can connect HID to
the device with "test-input connect <remote address". To make it
possible for the remote device to connect back to you later without user
interaction do "test-device trusted <remote address> yes". simple-agent,
test-input and test-device can be found under the test subdirectory in
the source tree.

> (mouse does not require PIN)

That doesn't make any sense. A PIN is a mandatory input parameter to the
pairing process with any Bluetooth 2.0 or older device. Or do you mean
to say that the mouse doesn't require pairing at all?

Johan

  reply	other threads:[~2011-07-01  8:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01  8:18 pairing device in text mode W.P.
2011-07-01  8:44 ` Johan Hedberg [this message]
2011-07-01  9:38   ` W.P.
2011-07-01  9:55   ` W.P.

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=20110701084439.GA6461@dell.ger.corp.intel.com \
    --to=johan.hedberg@gmail.com \
    --cc=laurentp@wp.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 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.