OSDN Git Service

Register for Service Changed notifications for untrusted devices
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 3 Feb 2016 19:15:05 +0000 (11:15 -0800)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 4 Feb 2016 02:26:58 +0000 (02:26 +0000)
commit5f0e23d532f4f90d081ccc0e294f404eb5e5b688
treef32b76d2ef7cdb88c543f3221de013e1724879af
parent5919554fe8e03b87a7c7724238481b85e9cf6630
Register for Service Changed notifications for untrusted devices

As required by Bluetooth Spec 4.2 [Vol 3, Part G] 2.5.2:
Clients without a trusted relationship shall receive an indication
when the service change occurs only during the current connection.

This means that even we're not paired, we should still register
and receive Service Changed.

Change-Id: Ifd6b69f4cdef6d7114a596221d2dd290a3b7044f
bta/dm/bta_dm_act.c
stack/gatt/gatt_attr.c