linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kjonca@o2.pl (Kamil Jońca)
To: linux-bluetooth@vger.kernel.org
Subject: How to pair device from CLI?
Date: Fri, 28 Dec 2012 01:23:18 +0100	[thread overview]
Message-ID: <871uebt47d.fsf@alfa.kjonca> (raw)


I don't know if this is proper list, but I cannot find any (active) bluez users
list. 

I tried to pair my phone:

--8<---------------cut here---------------start------------->8---
$hcitool scan                         
Scanning ...
        D4:E8:B2:AA:15:FA       theta

$bluez-simple-agent hci0 D4:E8:B2:AA:15:FA
RequestPasskey (/org/bluez/3086/hci0/dev_D4_E8_B2_AA_15_FA)
Enter passkey: 0000
Creating device failed: org.bluez.Error.AuthenticationFailed: Authentication Failed
--8<---------------cut here---------------end--------------->8---

What do I should check? (s)trace?

Distribution is pretty fresh debian sid.

-- 
http://blogdebart.pl/2012/06/24/hiena/
  We're overpaying him, but he's worth it. -Samuel Goldwyn

             reply	other threads:[~2012-12-28  0:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-28  0:23 Kamil Jońca [this message]
2012-12-28  8:08 ` How to pair device from CLI? Johan Hedberg
2012-12-28 13:30   ` Kamil Jońca
2012-12-28 13:54     ` Johan Hedberg
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=871uebt47d.fsf@alfa.kjonca \
    --to=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;
as well as URLs for NNTP newsgroup(s).