OSDN Git Service

GATT Server: check UUID
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 10 May 2017 11:39:26 +0000 (04:39 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Fri, 12 May 2017 17:56:28 +0000 (10:56 -0700)
commit5c1fe35097f5bb48c419a69605fed0e094e797d2
treee25cd50149de626873747d3ed3c2af0e6a8bcc6e
parent635aef123e87ce10210c7fe68cb64097de9fa729
GATT Server: check UUID

Characteristic and descriptor can't use UUID equal to GATT Attribute
Types. Using such UUID would result in invalid GATT database, and
crashes during service discovery.

Test: manual
Bug: 38134693
Change-Id: Ide2c21109f885cbc79287452b1dabd3f532de385
(cherry picked from commit 671ad6679ce4b8edcdb7eaaee96bc5c66b557441)
stack/gatt/gatt_api.cc