Commit: eebead74357b9f35fe4affa3bd4d55d5ab2cb0cf
Parent: 5cab6860d0bdca4829f3ae27cc4c7114499c47db
Author: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-01-25 09:31:17
Tree: 9f4552ad4d002459616a519cd86ae09abcc71565

device: Clean up device_att_connect() device_att_connect() is used to make an ATT connection to an LE device. We clean it (and its associated callback) to have better error handling and to respond the user with an error when it happens. As it is only used for LE devices, we remove all the handling for non-LE devices.

Diffstat

M src/device.c | 93 +++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M src/device.h | 3 ++-

2 files changed, 41 insertions(+), 55 deletions(-)

View Full Diff | Patch