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:
commit
d9b477653b
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