All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Nils Faerber <nils.faerber@kernelconcepts.de>
Cc: bluez-devel@lists.sf.net
Subject: Re: [Bluez-devel] Pairing fails with RFCOMM
Date: Fri, 06 Feb 2004 20:57:21 +0100	[thread overview]
Message-ID: <1076097441.14418.40.camel@pegasus> (raw)
In-Reply-To: <1076087010.964.75.camel@localhost>

Hi Nils,

> I think I found a small problem with rfcomm concerning pairing.
> The problem is that if you try to connect to a "new" device which
> requires pairing using rfcomm you will be queried for y pin on both
> sides. But it seems that a connect timeout in rfcomm is way too short
> for being able to input the pin.
> It happened to me while trying to connect to a Siemens S55 mobile.
> I did a "rfcomm bind" and then opened minicom on the port. After that
> the mobile requests the pin. But before you can even start to input the
> pin minicom exits with an error.
> If I start another connection first, like with multisync, the whole
> connection process waits until the pin has been entered on both sides.

there is a difference between "rfcomm bind ..." and "rfcomm conn ...",
because on the "bind" case the connection is established by the TTY part
of the RFCOMM layer. In the case of "connect" the socket is creating the
connection and MultiSync is using the socket. Please try to reproduce
this behaviour with only using the rfcomm program and cat instead of
minicom to trigger this behaviour. Please include the binary hcidump.

And the important thing, what kernel are you using?

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2004-02-06 19:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-06 17:03 [Bluez-devel] Pairing fails with RFCOMM Nils Faerber
2004-02-06 19:57 ` Marcel Holtmann [this message]
     [not found]   ` <1076337219.2892.57.camel@localhost>
2004-02-09 15:01     ` Marcel Holtmann
     [not found]       ` <1076339124.1169.67.camel@localhost>
2004-02-09 15:08         ` Marcel Holtmann
     [not found]           ` <1076340484.1167.79.camel@localhost>
2004-02-09 15:56             ` Marcel Holtmann
     [not found]               ` <1076342698.1167.90.camel@localhost>
2004-02-09 16:14                 ` 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=1076097441.14418.40.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sf.net \
    --cc=nils.faerber@kernelconcepts.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.