Merge "Expose LE advertiser address for easier PTS tests (3/6)"

am: 004ea22c72

Change-Id: Ie47c8364eea69c33f655e77f93b8f203f072561a
This commit is contained in:
Jakub Pawlowski 2017-04-19 21:39:14 +00:00 committed by android-build-merger
commit 8591015632

View file

@ -57,6 +57,9 @@ class BleAdvertiserInterface {
/** Registers an advertiser with the stack */
virtual void RegisterAdvertiser(IdStatusCallback) = 0;
using GetAddressCallback = base::Callback<void(uint8_t /* address_type*/, bt_bdaddr_t /*address*/)>;
virtual void GetOwnAddress(uint8_t advertiser_id, GetAddressCallback cb) = 0;
/* Set the parameters as per spec, user manual specified values */
virtual void SetParameters(uint8_t advertiser_id, AdvertiseParameters params,
ParametersCallback cb) = 0;