Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct scan parameters types #15515

Merged
merged 2 commits into from
Jun 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions connectivity/FEATURE_BLE/include/ble/gap/ScanParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ class ScanParameters {
/**
* Get the scan interval.
*/
const scan_window_t &getInterval() const
const scan_interval_t &getInterval() const
{
return interval;
}

/**
* Get the scan window.
*/
const scan_interval_t &getWindow() const
const scan_window_t &getWindow() const
{
return window;
}
Expand Down Expand Up @@ -121,8 +121,8 @@ class ScanParameters {
*/
ScanParameters(
phy_t phy = phy_t::LE_1M,
scan_window_t scan_interval = scan_interval_t::min(),
scan_interval_t scan_window = scan_window_t::min(),
scan_interval_t scan_interval = scan_interval_t::min(),
scan_window_t scan_window = scan_window_t::min(),
bool active_scanning = false,
own_address_type_t own_address_type = own_address_type_t::RANDOM,
scanning_filter_policy_t scanning_filter_policy = scanning_filter_policy_t::NO_FILTER
Expand Down
Loading