linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 00/14] LE General Connection Establishment procedure
@ 2012-07-27 22:29 João Paulo Rechi Vita
  2012-07-27 22:29 ` [PATCH BlueZ 01/14] core: Control connections based on adapter state João Paulo Rechi Vita
                   ` (13 more replies)
  0 siblings, 14 replies; 25+ messages in thread
From: João Paulo Rechi Vita @ 2012-07-27 22:29 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: João Paulo Rechi Vita

This series implement the LE General Connection Establishment procedure
for LE connections.

If there are LE bonded devices marked for auto connection they are added
to a connect_list on the adapter. When there is any device on this list
scan is performed continuously. When a device is found the connect_list
is checked. If that device is on the list scan is stopped and a
connection attempt is made to that device.

If any client tries to perform discovery and the scan for the General
Connection Establishment procedure is active, the discovery request is
queued and performed right after the GCEP scan session finishes.

This series changes quite a lot the LE connection logic, but we've been
testing and using this code at INdT for about 4 weeks. Any comments and
more testing are appreciated.

Claudio Takahasi (7):
  core: Control connections based on adapter state
  mgmt: Add LE scanning callback
  core: Replace interleaved by LE scanning
  core: Start LE scanning when a device requests
  core: Remove leftover define
  core: Queue discovery if scanning is active
  core: Re-connect for ECONNRESET or ECONNABORTED

João Paulo Rechi Vita (5):
  mgmt: print error message when start_discovery fails
  core: add compare function for bdaddr in a struct btd_device
  core: Add a list of LE devices to connect
  core: use adapter connect list for LE connections
  core: mutually exclude concurrent connections

Paulo Alcantara (1):
  core: Disable unnecessary auto connections

Vinicius Costa Gomes (1):
  test: Fix exiting the bus when a discovery session ends

 src/adapter.c       |  192 ++++++++++++++++++++++++++++++++++++++++++++-------
 src/adapter.h       |    2 +
 src/device.c        |   65 ++++++++---------
 src/device.h        |    2 +
 src/mgmt.c          |   39 ++++++++++-
 src/mgmt.h          |    1 +
 test/test-discovery |    8 ---
 7 files changed, 239 insertions(+), 70 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2012-08-14 17:59 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-27 22:29 [PATCH BlueZ 00/14] LE General Connection Establishment procedure João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 01/14] core: Control connections based on adapter state João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 02/14] mgmt: print error message when start_discovery fails João Paulo Rechi Vita
2012-07-30 10:57   ` Anderson Lizardo
2012-08-03 14:42     ` [PATCH BlueZ] " João Paulo Rechi Vita
2012-08-14  9:40       ` Johan Hedberg
2012-08-14 10:28         ` Johan Hedberg
2012-08-14 17:53           ` Joao Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 03/14] core: add compare function for bdaddr in a struct btd_device João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 04/14] core: Add a list of LE devices to connect João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 05/14] core: use adapter connect list for LE connections João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 06/14] core: mutually exclude concurrent connections João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 07/14] mgmt: Add LE scanning callback João Paulo Rechi Vita
2012-07-30 11:46   ` Anderson Lizardo
2012-08-03 16:18     ` [PATCH BlueZ] " João Paulo Rechi Vita
2012-08-14  9:36       ` Johan Hedberg
2012-08-14 10:30         ` Johan Hedberg
2012-08-14 17:59           ` Joao Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 08/14] core: Replace interleaved by LE scanning João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 09/14] core: Start LE scanning when a device requests João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 10/14] core: Remove leftover define João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 11/14] core: Queue discovery if scanning is active João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 12/14] test: Fix exiting the bus when a discovery session ends João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 13/14] core: Disable unnecessary auto connections João Paulo Rechi Vita
2012-07-27 22:29 ` [PATCH BlueZ 14/14] core: Re-connect for ECONNRESET or ECONNABORTED João Paulo Rechi Vita

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