All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/5] input: Connectability
@ 2013-04-16 21:58 Alex Deymo
  2013-04-16 21:58 ` [PATCH v7 1/5] input: Documentation for new Input1 interface Alex Deymo
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Alex Deymo @ 2013-04-16 21:58 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: marcel, keybuk, Alex Deymo

Hi!
It's me again. Let me insist with these input patches again for a good
reason. There is a qualification test (TP/HCE/BV-04-I [Host Initiated
Re-connection]) that requires a Bluetooth host to automatically
re-connect to a HID device when the device goes out of range (and comes
back in range, obviously). The HID 1.1 spec also states when a device
is supossed to accept re-connections from a host and now we export that
via the ReconnectMode property. I extended this patch with a retry timer
that attempts to reconnect to the HID device for a certain amount of
time.

This patch set includes: Patch 1 and 2 are the new ReconnectMode property
and its documentation. Patch 3 is just some details about bool and gboolean.
Bonus: patch 4 includes a memory leak fix; and patch 5 uses all this
thing to automatically reconnect to HID device when its ReconnectMode is
"host" or "any", as required by the test plan.

Coments are welcome, specially for the new patch 5.
Happy coding!
Alex.

Alex Deymo (5):
  input: Documentation for new Input1 interface
  input: Implement the new ReconnectMode Input1 property.
  input: Convert gboolean to bool
  input: Fix memory leak for hidp_connadd_req.
  input: Automatically attempt a reconnect when required.

 doc/input-api.txt       |  32 ++++++++++
 profiles/input/device.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 195 insertions(+), 3 deletions(-)
 create mode 100644 doc/input-api.txt

-- 
1.8.1.3

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

end of thread, other threads:[~2013-04-23  7:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-16 21:58 [PATCH v7 0/5] input: Connectability Alex Deymo
2013-04-16 21:58 ` [PATCH v7 1/5] input: Documentation for new Input1 interface Alex Deymo
2013-04-16 21:58 ` [PATCH v7 2/5] input: Implement the new ReconnectMode Input1 property Alex Deymo
2013-04-16 21:58 ` [PATCH v7 3/5] input: Convert gboolean to bool Alex Deymo
2013-04-16 21:58 ` [PATCH v7 4/5] input: Fix memory leak for hidp_connadd_req Alex Deymo
2013-04-16 21:58 ` [PATCH v7 5/5] input: Automatically attempt a reconnect when required Alex Deymo
2013-04-17 20:20 ` [PATCH v7 0/5] input: Connectability Marcel Holtmann
2013-04-17 20:37   ` Alex Deymo
2013-04-22 17:48     ` Alex Deymo
2013-04-22 19:27     ` Marcel Holtmann
2013-04-23  7:42       ` Johan Hedberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.