public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Bluetooth passkey and encryption
Date: Mon, 19 Feb 2007 11:19:19 +0100	[thread overview]
Message-ID: <1171880359.26567.12.camel@violet> (raw)
In-Reply-To: <77958D3F4480D34A99F9D8759B56D550453ACB@deblnrd04msx.sielearn.net>

Hi Marco,

> I checked with hcidump and received the following message:
> 
> > HCI Event: PIN Code Request (0x16) plen 6
>     bdaddr 00:11:B1:A1:68:2B
> < HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6
>     bdaddr 00:11:B1:A1:68:2B
> > HCI Event: Command Complete (0x0e) plen 10
>     PIN Code Request Negative Reply (0x01|0x000e) ncmd 1
>     status 0x06 bdaddr 00:11:B1:A1:68:2B
>     Error: PIN or Key Missing
> > HCI Event: Connect Complete (0x03) plen 11
>     status 0x06 handle 7 bdaddr 00:11:B1:A1:68:2B type ACL encrypt 0x00
>     Error: PIN or Key Missing 
> 
> I set a key under the option passkey in the hcid.conf. So if that key is
> not used, where would I have to set this key?

the passkey option is only used on incoming connection and only if
security auto has been selected. For all the rest you have to run a
passkey agent. Check the mailing list archives for details.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2007-02-19 10:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-19  6:47 [Bluez-users] Bluetooth passkey and encryption Hofmann, Marco
2007-02-19  8:41 ` Marcel Holtmann
2007-02-19  9:31   ` Hofmann, Marco
2007-02-19 10:19     ` Marcel Holtmann [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=1171880359.26567.12.camel@violet \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /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