From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH BlueZ] doc/agent-api: Add AuthenticationFailed method
Date: Wed, 23 Jun 2021 11:45:27 -0700 [thread overview]
Message-ID: <CABBYNZKuRM6_=fACHqRNhyDnmEOZfnMHufHWeZCsvn4bN9=1ow@mail.gmail.com> (raw)
In-Reply-To: <20210623184355.3685859-1-luiz.dentz@gmail.com>
Hi,
On Wed, Jun 23, 2021 at 11:43 AM Luiz Augusto von Dentz
<luiz.dentz@gmail.com> wrote:
>
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> This introduces AuthenticationFailed method which is used to indicate
> when there was an authentication failure with a remote device which is
> recommended by the core spec:
>
> BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part C page 1314:
> '5.2.2.3 Simple Pairing after authentication failure
> When the link key is stored, subsequent connections to the same device
> will use authentication but this may fail if the remote device has
> deleted the link key. Table 5.2 defines what shall be done depending
> on the type of the link key and whether bonding was performed or not.'
>
> So following Table 5.2 recommendation the AuthenticationFailed method
> would be called when authentication fails with a bonded device.
This was intended to be an RFC.
> ---
> doc/agent-api.txt | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/doc/agent-api.txt b/doc/agent-api.txt
> index 0d9347cab..91d752b0a 100644
> --- a/doc/agent-api.txt
> +++ b/doc/agent-api.txt
> @@ -183,3 +183,8 @@ Methods void Release()
>
> This method gets called to indicate that the agent
> request failed before a reply was returned.
> +
> + void AuthenticationFailed(object device, byte status)
> +
> + This method indicates that there was an authentication
> + failure with a remote device.
> --
> 2.31.1
>
--
Luiz Augusto von Dentz
next prev parent reply other threads:[~2021-06-23 18:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-23 18:43 [PATCH BlueZ] doc/agent-api: Add AuthenticationFailed method Luiz Augusto von Dentz
2021-06-23 18:45 ` Luiz Augusto von Dentz [this message]
2021-06-23 19:06 ` [BlueZ] " bluez.test.bot
2021-06-26 5:44 ` [PATCH BlueZ] " Marcel Holtmann
2021-06-28 14:59 ` Bastien Nocera
2021-06-28 17:32 ` Luiz Augusto von Dentz
2021-06-28 19:56 ` Bastien Nocera
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='CABBYNZKuRM6_=fACHqRNhyDnmEOZfnMHufHWeZCsvn4bN9=1ow@mail.gmail.com' \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).