OSDN Git Service

Make advertising instance count part of the HCI interface
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 10 Oct 2016 21:25:52 +0000 (14:25 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Mon, 17 Oct 2016 23:00:41 +0000 (16:00 -0700)
commit1dd77510884826e6996264aa40db4f495c3ec67a
treefcff252f52a1ba09069c83e2fd1f758eb9c64d59
parente7bd8905653ec2af14ae202f538ebc2646752ce0
Make advertising instance count part of the HCI interface

The number of advertising instances will ultimately depend on the HCI
interface used. BleAdvertisingManagerImpl should not depend on a global
function for that.

Test: Covered by BleAdvertiseApiTest sl4a test
Bug: 30622771
Change-Id: I1399de3f4289708f7218eae9c00ac7372e4246db
stack/btm/ble_advertiser_hci_interface.cc
stack/btm/ble_advertiser_hci_interface.h
stack/btm/btm_ble_multi_adv.cc
stack/include/ble_advertiser.h
stack/test/ble_advertiser_test.cc