Parent: d07b73511740d59e0fba68cc87ad9bc61ca283ad
Author: Paulo Borges <paulo.borges@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-12-01 11:11:26
Tree: 5b381b3edb4aed179ceb98022e16408f1623f98c
gatt: Improve characteristics discovery In the Discover Characteristics by UUID sub-procedure, if a fetched characteristic doesn't matches with the target UUID, all others characteristics in that response were discarded. Because of this, the procedure will make a new request to possibly rediscover the characteristics in the range beyond this last characteristic. At present, this procedure works because the gatt library will send a Read by Type Request starting at the first attribute after the non matching characteristic. This commit makes the rest of the characteristics to be checked for a matching type, which should reduce the number of requests sent during the discovery of characteristics.
Diffstat
| M | attrib/gatt.c | | | 2 | +- |
1 files changed, 1 insertions(+), 1 deletions(-)