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

am: 8591015632

Change-Id: Ib5cf95fbe604f01bec83b66e641b35ad68ca0a36
This commit is contained in:
Jakub Pawlowski 2017-04-19 21:44:53 +00:00 committed by android-build-merger
commit 7fc1975f94

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;