Merge "Expose LE advertiser address for easier PTS tests (3/6)" am: 004ea22c72 am: 8591015632

am: 7fc1975f94

Change-Id: Iece8ab1e125636a39d3e80d0d544aeb5b4db7c75
This commit is contained in:
Jakub Pawlowski 2017-04-19 21:50:46 +00:00 committed by android-build-merger
commit d9b477653b

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;