linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC BlueZ 0/6] LE Connection Establishment fixes
@ 2013-01-25  3:07 Vinicius Costa Gomes
  2013-01-25  3:07 ` [RFC BlueZ 1/6] device: Fix invalid memory access during Find Included Vinicius Costa Gomes
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Vinicius Costa Gomes @ 2013-01-25  3:07 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Vinicius Costa Gomes

Hi,

Sending this as a RFC because I don't know if this is what you guys
had in mind.

Patches 1/6/ and 2/6 are simple enough fixes and should be considered
for inclusion, perhaps 6/6 as well, but the improvement is
non-functional.

The only problem with this aproach that I found while testing is the
problem exposed on the message of commit 5/6: If the remote device is
out of range during pairing any connection attempt will fail until the
Connection Complete event comes (with an error). This is the reason
that we put the devices in the connect list before pairing.

Is this reason enough to have the device put in the connect list
during pairing?


Cheers,


Vinicius Costa Gomes (6):
  device: Fix invalid memory access during Find Included
  device: Fix memory leak while storing GATT capable devices
  device: Clean up device_att_connect()
  device: Rename device_att_connect to device_connect_le
  core: Add a way to connect to LE devices
  gas: Move all the code to only one file

 Makefile.plugins        |   4 +-
 profiles/gatt/gas.c     |  46 +++++++++++++++++++++
 profiles/gatt/main.c    |  47 ---------------------
 profiles/gatt/manager.c |  79 -----------------------------------
 profiles/gatt/manager.h |  24 -----------
 src/adapter.c           |  22 +++++++++-
 src/adapter.h           |   3 ++
 src/device.c            | 108 +++++++++++++++++++++---------------------------
 src/device.h            |   3 +-
 9 files changed, 119 insertions(+), 217 deletions(-)
 delete mode 100644 profiles/gatt/main.c
 delete mode 100644 profiles/gatt/manager.c
 delete mode 100644 profiles/gatt/manager.h

-- 
1.8.1.1


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

end of thread, other threads:[~2013-01-25 11:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25  3:07 [RFC BlueZ 0/6] LE Connection Establishment fixes Vinicius Costa Gomes
2013-01-25  3:07 ` [RFC BlueZ 1/6] device: Fix invalid memory access during Find Included Vinicius Costa Gomes
2013-01-25  7:07   ` Johan Hedberg
2013-01-25  3:07 ` [RFC BlueZ 2/6] device: Fix memory leak while storing GATT capable devices Vinicius Costa Gomes
2013-01-25  7:08   ` Johan Hedberg
2013-01-25  3:07 ` [RFC BlueZ 3/6] device: Clean up device_att_connect() Vinicius Costa Gomes
2013-01-25  3:07 ` [RFC BlueZ 4/6] device: Rename device_att_connect to device_connect_le Vinicius Costa Gomes
2013-01-25  7:32   ` Johan Hedberg
2013-01-25  3:07 ` [RFC BlueZ 5/6] core: Add a way to connect to LE devices Vinicius Costa Gomes
2013-01-25  3:07 ` [RFC BlueZ 6/6] gas: Move all the code to only one file Vinicius Costa Gomes
2013-01-25  7:36   ` Johan Hedberg
2013-01-25 10:55   ` Anderson Lizardo
2013-01-25  7:12 ` [RFC BlueZ 0/6] LE Connection Establishment fixes Johan Hedberg
2013-01-25  9:55   ` Johan Hedberg
2013-01-25 11:30 ` Marcel Holtmann

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