OSDN Git Service

android/gatt: Fix matching characteristic
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>
Fri, 4 Apr 2014 07:32:00 +0000 (09:32 +0200)
committerSzymon Janc <szymon.janc@tieto.com>
Fri, 4 Apr 2014 08:29:18 +0000 (10:29 +0200)
commitf30869c35c76377de8e4ab858a2b771c187865f5
tree9d8c41d9d27e9d544492018d55baa850946ecc26
parent01a54fffdb3349ab66f7e78b8fbc84d7ea166e08
android/gatt: Fix matching characteristic

This patch fixes searching for characteristic within service.
Characteristics should be matched by element id (uuid, instance) not
only instance id. Also redundant helper to match characteristic by
instance is removed.
android/gatt.c