Merge "Bluetooth 5 advertising duration refactoring (2/4)"

am: 1b14e03289

Change-Id: I075474969edaaefc03bb4174332ce125ebf26a53
This commit is contained in:
Jakub Pawlowski 2017-04-01 04:39:29 +00:00 committed by android-build-merger
commit d1169df562

View file

@ -67,7 +67,8 @@ class BleAdvertiserInterface {
/* Enable the advertising instance */
virtual void Enable(uint8_t advertiser_id, bool enable, StatusCallback cb,
int timeout_s, StatusCallback timeout_cb) = 0;
uint16_t duration, uint8_t maxExtAdvEvents,
StatusCallback timeout_cb) = 0;
/* Unregisters an advertiser */
virtual void Unregister(uint8_t advertiser_id) = 0;
@ -86,8 +87,8 @@ class BleAdvertiserInterface {
std::vector<uint8_t> advertise_data,
std::vector<uint8_t> scan_response_data,
PeriodicAdvertisingParameters periodic_params,
std::vector<uint8_t> periodic_data, int timeout_s,
IdStatusCallback timeout_cb) = 0;
std::vector<uint8_t> periodic_data, uint16_t duration,
uint8_t maxExtAdvEvents, IdStatusCallback timeout_cb) = 0;
virtual void SetPeriodicAdvertisingParameters(
int advertiser_id, PeriodicAdvertisingParameters parameters,