Commit: a9f523e0c3627ea2ea3c894c2d34b756ee533637
Parent: e87dadbe1bbfa39feead7488a06605e0cda29ecb
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-02-21 16:15:56
Tree: 8131637cbee6d1db8c7197742dcf03a1c28fa3d1

core: Split LE and BR/EDR states for devices For dual mode devices there are several state variables that are independent for each bearer. This patch splits these states up into two separate variable groups in btd_device and tracks the values based on what kind of connection is in question. The information is also used to select which bearer to use with Device1.Connect and Device1.Pair. The basic rule is that the bearer that's not connected/paired is selected, or then the bearer over which the device was last seen is selected.

Diffstat

M plugins/neard.c | 2 +-
M profiles/gatt/gas.c | 4 +++-
M src/adapter.c | 43 ++++++++++++++++++++++++++++- - - - - - - - - - - - - - -
M src/attrib-server.c | 4 +++-
M src/device.c | 329 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M src/device.h | 18 ++++++++++- - - - - - - -

6 files changed, 275 insertions(+), 125 deletions(-)

View Full Diff | Patch