diff --git a/include/hardware/ble_advertiser.h b/include/hardware/ble_advertiser.h index 8abca00a..02d553f2 100644 --- a/include/hardware/ble_advertiser.h +++ b/include/hardware/ble_advertiser.h @@ -57,6 +57,9 @@ class BleAdvertiserInterface { /** Registers an advertiser with the stack */ virtual void RegisterAdvertiser(IdStatusCallback) = 0; + using GetAddressCallback = base::Callback; + 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;