Merge "Expose LE advertiser address for easier PTS tests (3/6)" am: 004ea22c72
am: 8591015632
Change-Id: Ib5cf95fbe604f01bec83b66e641b35ad68ca0a36
This commit is contained in:
commit
7fc1975f94
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue