OSDN Git Service

shared/gatt-client: Don't discovery secondaries if there is no primary
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 8 Jun 2015 13:30:06 +0000 (16:30 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 11 Jun 2015 13:05:24 +0000 (16:05 +0300)
commit67a4bda1cf976539802bbb9e747ba0be7b9300a9
tree15023131ee1f58cecd65b63017c5a0c989b732d2
parent3eeab57293f2810a69623630ad78146460fc2753
shared/gatt-client: Don't discovery secondaries if there is no primary

The spec state that a secondary needs to referenced by at least one
primary, Version 4.2 [Vol 1, Part A] page 101:

  'A secondary service is a service that provides auxiliary
  functionality of a device and is referenced from at least one
  primary service on the device.'
src/shared/gatt-client.c