OSDN Git Service

GATT Server: check UUID
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 10 May 2017 11:39:26 +0000 (04:39 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 10 May 2017 16:43:23 +0000 (16:43 +0000)
commit671ad6679ce4b8edcdb7eaaee96bc5c66b557441
treece30b901b006ea5fb02cf28eed676d1f4fe4b0f8
parent2b59c4a0843c9f2782cf4163f921eddb31dd6ff9
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
stack/gatt/gatt_api.cc