linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice DELENTE <delentef@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Re: Entering the PIN of a device?
Date: Wed, 15 Feb 2012 12:25:26 +0100	[thread overview]
Message-ID: <20120215112526.GA21137@smtp.free.fr> (raw)
In-Reply-To: <CANq1E4QyNMqoWFax5qKqNnWLbP+-311yhyb5EXbWEt9ODne1Fw@mail.gmail.com>

> What? One mail earlier you said you are *not* asked for the PIN? If
> it asks for the PIN then your Wii Remote isn't detected as a Wii
> Remote.  You cannot type the PIN as the PIN contains binary-0
> characters which cannot be entered here.

Yeah, my bad, I tried simple-agent first without argument, but with
'simple-agent hci0 $WIIMOTE' I get asked for the PIN.

> What do you find in these files? Especially the
> /var/lib/bluetooth/<bt>/did files are interesting.

Here is /var/lib/bluetooth/<bt>/did:

# cat did
00:1F:C5:1B:3A:B1 FFFF 0000 0000 0000
00:18:91:D0:7A:24 FFFF 0000 0000 0000
6C:E9:07:43:A7:71 0001 0001 0119 0000

> Also see: https://github.com/dvdhrm/xwiimote/issues/3
> 
> Gnah, that doesn't work. You cannot send the binary PIN via dbus to
> BlueZ, this is why we provide the wiimote-plugin.

Ok :^) Didn't know that... too bad it doesn't work :^)

> Did you try this patch:
> https://github.com/dvdhrm/xwiimote/issues/4#issuecomment-3302615 The
> Patch 1/2 isn't needed but 2/2 should fix the pairing issues with
> any Wii Remote.

Ok, I'll try that this afternoon.

Thanks again!

-- 
F. Delente

      reply	other threads:[~2012-02-15 11:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-14 16:45 Entering the PIN of a device? Fabrice DELENTE
2012-02-14 17:54 ` David Herrmann
     [not found]   ` <20120214175813.GA16393@smtp.free.fr>
     [not found]     ` <CANq1E4Q7UQjQNKPy0c-w4DX8dimuRNYB_mOsetMBNPaY44Ae5A@mail.gmail.com>
2012-02-14 18:09       ` Fabrice DELENTE
2012-02-14 18:15         ` David Herrmann
2012-02-14 18:23           ` Fabrice DELENTE
2012-02-14 22:47           ` Fabrice DELENTE
2012-02-15 11:16             ` David Herrmann
2012-02-15 11:25               ` Fabrice DELENTE [this message]

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=20120215112526.GA21137@smtp.free.fr \
    --to=delentef@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).