diff --git a/include/hardware/ble_advertiser.h b/include/hardware/ble_advertiser.h index 013e426f..8abca00a 100644 --- a/include/hardware/ble_advertiser.h +++ b/include/hardware/ble_advertiser.h @@ -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 advertise_data, std::vector scan_response_data, PeriodicAdvertisingParameters periodic_params, - std::vector periodic_data, int timeout_s, - IdStatusCallback timeout_cb) = 0; + std::vector periodic_data, uint16_t duration, + uint8_t maxExtAdvEvents, IdStatusCallback timeout_cb) = 0; virtual void SetPeriodicAdvertisingParameters( int advertiser_id, PeriodicAdvertisingParameters parameters,