public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: smohan@vsnl.com, BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Auth failure
Date: Thu, 01 Nov 2007 13:14:36 +0100	[thread overview]
Message-ID: <1193919276.6641.40.camel@aeonflux> (raw)
In-Reply-To: <4729B5FE.9020600@vsnl.com>

Hi Mohan,

> When I try to create a connection with my headset, it fails due to auth.
> Key is 0000.
> 
> Sniffer Output:
> ---------------
> < HCI Command: Create Connection (0x01|0x0005) plen 13
>       bdaddr 00:0B:2E:39:31:3F ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
>       Packet type: DM1 DM3 DM5 DH1 DH3 DH5
>   > HCI Event: Command Status (0x0f) plen 4
>       Create Connection (0x01|0x0005) status 0x00 ncmd 1
>   > HCI Event: Link Key Request (0x17) plen 6
>       bdaddr 00:0B:2E:39:31:3F
> < HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
>       bdaddr 00:0B:2E:39:31:3F key 6A49558AB5A9CD2C856AD475DC632E9C
>   > HCI Event: Command Complete (0x0e) plen 10
>       Link Key Request Reply (0x01|0x000b) ncmd 1
>       status 0x00 bdaddr 00:0B:2E:39:31:3F
>   > HCI Event: Connect Complete (0x03) plen 11
>       status 0x05 handle 12 bdaddr 00:0B:2E:39:31:3F type ACL encrypt 0x00
>       Error: Authentication Failure
> 
> See some key value being sent here. How do I decipher the key value? How
> do I set the key value? Passkey agent is registered but I do not know
> which/where the agent is. Gutsy std.

the passkey agent has nothing to do with it at this point. It seems you
already paired it before. So use the Bluetooth properties to delete that
bonding or better switch your headset into pairing mode.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2007-11-01 12:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-01 11:18 [Bluez-users] Auth failure Mohan Sundaram
2007-11-01 12:14 ` 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=1193919276.6641.40.camel@aeonflux \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=smohan@vsnl.com \
    /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