public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Can't connect RFCOMM socket
Date: Mon, 31 Jan 2005 18:07:30 +0100	[thread overview]
Message-ID: <1107191250.7902.32.camel@pegasus> (raw)
In-Reply-To: <20050131163631.39991.qmail@web53205.mail.yahoo.com>

Hi Filipa,

> Marcel, many thanks for your help, but I still
> couldn't connect to my friend PC. So I decided to
> connect to a mobile phone first. It is an Sony
> Ericsson Z600.
> 
> The 'hcitool scan' shows me the phone and the phone
> also recognize my laptop. After this, I did a 'rfcomm
> bind' on the laptop.
> 
> When I try to connect the mobile phone to my laptop,
> the mobile phone asks me the passkey. When I
> introduced the PIN (the same I have defined in the
> /etc/bluetooth/pin) the reply on the phone is 'passkey
> mismatch'.
> 
> Here is the output of the 'hcidump -X':
> HCIDump - HCI packet analyzer ver 1.16
> device: hci0 snap_len: 1028 filter: 0xffffffff
> > HCI Event: Connect Request (0x04) plen 10
>   0000: b4 db c9 d9 0a 00 04 02  52 01      ........R.
> < HCI Command: Accept Connection Request (0x01|0x0009)
> plen 7
>   0000: b4 db c9 d9 0a 00 01                .......
> > HCI Event: Command Status (0x0f) plen 4
>   0000: 00 01 09 04                         ....
> > HCI Event: PIN code Request (0x16)plen6
>   0000: b4 db c9 d9 0a 00                   ......
> < HCI Command: PIN Code Request Reply (0x01|0x000d)
> plen 23
>   0000: b4 db c9 d9 0a 00 05 42  6c 75 65 5a 00 00 00
> 00          .......BlueZ....
>   0010: 00 00 00 00 00 00 00                .......
> > HCI Event: Command Complete (0x0e) plen 10
>   0000: 01 0d 04 00 b4 db c9 d9  0a 00      ..........
> < HCI Command: PIN Code Request Reply (0x01|0x000d)
> plen 23
>   0000: b4 db c9 d9 0a 00 05 42  6c 75 65 5a 00 00 00
> 00          .......BlueZ....
>   0010: 00 00 00 00 00 00 00                .......
> > HCI Event: Command Complete (0x0e) plen 10
>   0000: 01 0d 04 00 b4 db c9 d9  0a 00      ..........
> > HCI Event: Connect Complete (0x03) plen 11
>   0000: 05 29 00 b4 db c9 d9 0a  00 01 00  
> .).........
> 
> Could you please help me with this output? I am not
> sure what it means, if the PIN helper is working or
> not...
> 
> If it is not the PIN helper, could you give any
> directions to look for the problem?

it looks like you have two instances of hcid running. This is bad. Kill
one and make sure that you restart the other one. The PIN you have to
enter in your phone is "BlueZ" according to this log.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-01-31 17:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-28 17:26 [Bluez-users] Can't connect RFCOMM socket: resource temporarily unavailable Filipa Duarte
2005-01-28 19:19 ` Marcel Holtmann
2005-01-31 16:36   ` [Bluez-users] Can't connect RFCOMM socket Filipa Duarte
2005-01-31 17:07     ` Marcel Holtmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-03-19  6:45 Matt
2005-01-19 18:33 soraberri
2005-01-19 20:38 ` 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=1107191250.7902.32.camel@pegasus \
    --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