public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Paulo Wollny <paulo.wollny@ibdcon.org.br>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] bluez-utils 3.5 and pairing
Date: Tue, 26 Sep 2006 18:07:58 -0300	[thread overview]
Message-ID: <451996AE.8040207@ibdcon.org.br> (raw)
In-Reply-To: <1159304274.800.33.camel@localhost>

Hi Marcel,
the output of the log/messages for the transaction was:

Sep 26 17:28:24 hirschberg hcid[25949]: name_listener_add(:1.358)
Sep 26 17:28:24 hirschberg hcid[25949]: Adding match rule
"interface=org.freedesktop.DBus,member=NameOwnerChanged,arg0=:1.358"
failed: Unknown key "arg0" in match rule
Sep 26 17:28:24 hirschberg hcid[25949]: Default passkey agent (:1.358,
/org/bluez/passkey_agent_30629) registered
Sep 26 17:29:07 hirschberg sudo:    paulo : TTY=pts/1 ; PWD=/home/paulo
; USER=root ; COMMAND=/usr/sbin/hcidump -X -V
Sep 26 17:30:03 hirschberg hcid[25949]: pin_code_request
(sba=00:0C:55:F9:7D:6D, dba=00:05:16:5B:17:2C)
Sep 26 17:30:53 hirschberg syslog-ng[5024]: STATS: dropped 0
Sep 26 17:36:21 hirschberg hcid[25949]: name_listener_remove(:1.358)
Sep 26 17:36:21 hirschberg hcid[25949]: remove_name_listener: no
listener for :1.358
Sep 26 17:36:21 hirschberg hcid[25949]: Default passkey agent (:1.358,
/org/bluez/passkey_agent_30629) unregistered

As seen, the passkey-agent was registered....

Regards,
Paulo


Marcel Holtmann schrieb:
> Hi Paulo,
>
>   
>> the output states as follow:
>>
>> HCI sniffer - Bluetooth packet analyzer ver 1.32
>> device: hci0 snap_len: 1028 filter: 0xffffffff
>>     
>>> HCI Event: Connect Request (0x04) plen 10
>>>       
>>     bdaddr 00:05:16:5B:17:2C class 0x120110 type ACL
>> < HCI Command: Accept Connection Request (0x01|0x0009) plen 7
>>     bdaddr 00:05:16:5B:17:2C role 0x01
>>     Role: Slave
>>     
>>> HCI Event: Command Status (0x0f) plen 4
>>>       
>>     Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
>>     
>>> HCI Event: PIN Code Request (0x16) plen 6
>>>       
>>     bdaddr 00:05:16:5B:17:2C
>> < HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
>>     bdaddr 00:05:16:5B:17:2C len 5 pin 'BlueZ'
>>     
>>> HCI Event: Command Complete (0x0e) plen 10
>>>       
>>     PIN Code Request Reply (0x01|0x000d) ncmd 1
>>     status 0x00 bdaddr 00:05:16:5B:17:2C
>>     
>>> HCI Event: Connect Complete (0x03) plen 11
>>>       
>>     status 0x05 handle 41 bdaddr 00:05:16:5B:17:2C type ACL encrypt 0x00
>>     Error: Authentication Failure
>>     
>
> for some reason, it is using the PIN code for incoming connections from
> the hcid.conf and not the passkey-agent. Check you syslog files if the
> passkey agent got really registered or if it failed.
>
> 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
>
>
>   


-------------------------------------------------------------------------
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:[~2006-09-26 21:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26 20:05 [Bluez-users] bluez-utils 3.5 and pairing Paulo Wollny
2006-09-26 20:09 ` Marcel Holtmann
2006-09-26 20:35   ` Paulo Wollny
2006-09-26 20:57     ` Marcel Holtmann
2006-09-26 21:07       ` Paulo Wollny [this message]
2006-09-26 23:08         ` Marcel Holtmann
2006-09-27  0:06           ` Paulo Wollny
2006-09-27  7:43             ` Marcel Holtmann

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=451996AE.8040207@ibdcon.org.br \
    --to=paulo.wollny@ibdcon.org.br \
    --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