OSDN Git Service

client: Use selected attribute when selecting by UUID
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 14 Mar 2017 11:46:21 +0000 (13:46 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 15 Mar 2017 15:21:14 +0000 (17:21 +0200)
commitd4ecd13f8cd011c29e1f7f27da3ea133d15279fb
tree6146410854fb7fb0439ea56ad660688d8d9b9114
parent7dd5e10bf39ac4fb3dd40b183aaf284908fc665b
client: Use selected attribute when selecting by UUID

There could be multiple instances of the same UUID, like e.g CCC and CEP,
so instead of matching the first one found from the beginning this uses
the current selected attribute as parent looking up existing child
attributes first.
client/gatt.c
client/gatt.h
client/main.c