linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] auto-pairing plugin
@ 2012-01-21  1:59 Scott James Remnant
  2012-01-21  1:59 ` [RFC PATCH 1/2] plugin: add bonding complete and cancel callbacks with optional retry Scott James Remnant
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Scott James Remnant @ 2012-01-21  1:59 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: keybuk, Scott James Remnant

A few core changes here to support retrying of connections without
losing the original connection request, temporary D-Bus device object
or Agent information - and plugin callbacks for when bonding is
complete and cancelled.

This lets us implement an auto-pair plugin that tries the PIN 0000 for
commonly dumb devices, and retries using the Agent when that PIN fails.
For added cutesyness we save the blacklist we use to avoid repeatedly
sending 0000, so if there really are any devices out there with
different default PINs we can learn about them over time.

Net effect - another thing done in the UI Agent moved into bluetoothd
where it belongs.

*** BLURB HERE ***

Scott James Remnant (2):
  plugin: add bonding complete and cancel callbacks with optional retry
  autopair: add autopair plugin

 Makefile.am        |    5 +
 acinclude.m4       |    6 ++
 plugins/autopair.c |  209 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/adapter.c      |    2 +-
 src/device.c       |   86 +++++++++++++++++++++
 src/device.h       |   12 +++
 6 files changed, 319 insertions(+), 1 deletions(-)
 create mode 100644 plugins/autopair.c

-- 
1.7.7.3


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

end of thread, other threads:[~2012-01-23 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-21  1:59 [RFC PATCH 0/2] auto-pairing plugin Scott James Remnant
2012-01-21  1:59 ` [RFC PATCH 1/2] plugin: add bonding complete and cancel callbacks with optional retry Scott James Remnant
2012-01-21  1:59 ` [RFC PATCH 2/2] autopair: add autopair plugin Scott James Remnant
2012-01-23 14:28 ` [RFC PATCH 0/2] auto-pairing plugin Bastien Nocera

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