From: Johan Hedberg <johan.hedberg@gmail.com>
To: Jose Antonio Santos Cadenas <santoscadenas@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Remove parameter entered from the DisplayPasskey agent method
Date: Sun, 21 Nov 2010 20:25:38 +0100 [thread overview]
Message-ID: <20101121192538.GA12163@jh-x301> (raw)
In-Reply-To: <AANLkTi=_BVKOptuGTz8eoHPaTQrkr6-3oCK8mzJq4oea@mail.gmail.com>
Hi Jose,
On Sun, Nov 21, 2010, Jose Antonio Santos Cadenas wrote:
> > On Sun, Nov 21, 2010, Jose Antonio Santos Cadenas wrote:
> >> In the current method implementation the parameter is not used.
> >> ---
> >> doc/agent-api.txt | 5 +----
> >> 1 files changed, 1 insertions(+), 4 deletions(-)
> >
> > Do you actually have a BT 2.1 keyboard to test this with?
>
> I'm lost, why do I need a BT keyboard?
Because DisplayPasskey will only happen if the other side has
KeyboardOnly as its SSP IO capability.
> > The right fix
> > is to fix the code and not the spec since we do want the UI to get the
> > hints about entered characters.
>
> I also think that an other way to correct this is to change the code
> to follow the specification, but as I see that the specification
> didn't have changes since 2008 I thought that was an obsolete
> documentation, because in the source code there is no reference to the
> entered parameter. Have you got any suggestions about the better way
> to add this parameter in order to follow the API in the documentation?
> Nevertheless I'll have a deeper look to the code looking for hints.
The third parameter is supposed to be bound to the Keypress Notification
HCI event which should come when the remote side does a
HCI_Send_Keypress_Notification HCI command (again only a keyboard would
do something like this).
Johan
next prev parent reply other threads:[~2010-11-21 19:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-21 12:46 [PATCH] Remove parameter entered from the DisplayPasskey agent method Jose Antonio Santos Cadenas
2010-11-21 13:14 ` Johan Hedberg
2010-11-21 16:07 ` Jose Antonio Santos Cadenas
2010-11-21 19:25 ` Johan Hedberg [this message]
2010-11-21 19:38 ` Jose Antonio Santos Cadenas
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=20101121192538.GA12163@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=santoscadenas@gmail.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