linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/5] Rebond support
@ 2016-08-04 13:28 Szymon Janc
  2016-08-04 13:28 ` [RFC 1/5] lib/mgmt: Add MGMT_DEV_DISCONN_AUTH_FAILURE definition Szymon Janc
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Szymon Janc @ 2016-08-04 13:28 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-08-04 13:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-04 13:28 [RFC 0/5] Rebond support Szymon Janc
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

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).