Commit: 221fd83c2c9e9d773fcc9d01d04ba9a745fb8754
Parent: ec57950ff57ae879bc0a262c2a94a14d3105b91d
Author: Claudio Takahasi <claudio.takahasi@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-08-20 20:45:23
Tree: 6285236d0fd000adffc0f9a4f1b7dd0c7cdae75b

gatt: Return not found if characteritics is empty This patch changes the behaviour of Discover All Characteristics and Discover Characteristics by UUID returning <<Attribute Not Found>> when Characteristic list that matches the defined criteria is empty. This scenario can happen when the GATT client avoids extra iteraction with the remote attribute server if the last received handle(or handle + 1) is equal to the end handle of the primary service.

Diffstat

M attrib/gatt.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)

View Full Diff | Patch