mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-15 23:14:38 +08:00
a5c67459d8
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. |
||
---|---|---|
.. | ||
att-database.h | ||
att.c | ||
att.h | ||
client.c | ||
client.h | ||
gatt-service.c | ||
gatt-service.h | ||
gatt.c | ||
gatt.h | ||
gattrib.c | ||
gattrib.h | ||
gatttool.c | ||
gatttool.h | ||
interactive.c | ||
utils.c |