linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@codecoup.pl>
To: linux-bluetooth@vger.kernel.org
Cc: Szymon Janc <szymon.janc@codecoup.pl>
Subject: [RFC 0/5] Rebond support
Date: Thu,  4 Aug 2016 15:28:34 +0200	[thread overview]
Message-ID: <1470317319-3985-1-git-send-email-szymon.janc@codecoup.pl> (raw)

Hi,

This serie adds support for asking agent for rebond consent. It makes
use of recently added 'Authentication Failed' error code on MGMT
device disconnected event.

If agent gives consent for rebond then device is unpaired and new
pairing is started without need for user to manually remove device
and discover it again.

I'm not fully happy with method name RebondConsent() so I'm open for
suggestions.

Comment are welcome.

Szymon Janc (5):
  lib/mgmt: Add MGMT_DEV_DISCONN_AUTH_FAILURE definition
  doc: Add RebondConsent method to agent API
  core/adapter: Add support for rebond consent
  plugins/policy: Disable policies on authentication failure
  client: Add support for RebondConsent request

 client/agent.c    |  22 ++++++++++
 doc/agent-api.txt |   8 ++++
 lib/mgmt.h        |   1 +
 plugins/policy.c  |  58 ++++++++++++++++++-------
 src/adapter.c     | 124 +++++++++++++++++++++++++++++++++++++++---------------
 src/agent.c       |  47 +++++++++++++++++++++
 src/agent.h       |   4 ++
 7 files changed, 215 insertions(+), 49 deletions(-)

-- 
2.7.4

On behalf of SCHILLER Medical SAS.

             reply	other threads:[~2016-08-04 13:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-04 13:28 Szymon Janc [this message]
2016-08-04 13:28 ` [RFC 1/5] lib/mgmt: Add MGMT_DEV_DISCONN_AUTH_FAILURE definition Szymon Janc
2016-08-04 13:28 ` [RFC 2/5] doc: Add RebondConsent method to agent API Szymon Janc
2016-08-04 13:28 ` [RFC 3/5] core/adapter: Add support for rebond consent Szymon Janc
2016-08-04 13:28 ` [RFC 4/5] plugins/policy: Disable policies on authentication failure Szymon Janc
2016-08-04 13:28 ` [RFC 5/5] client: Add support for RebondConsent request Szymon Janc

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=1470317319-3985-1-git-send-email-szymon.janc@codecoup.pl \
    --to=szymon.janc@codecoup.pl \
    --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).