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

Update foreground scan period for Nearables #206

Closed
SelimaCurci opened this issue Apr 3, 2017 · 5 comments
Closed

Update foreground scan period for Nearables #206

SelimaCurci opened this issue Apr 3, 2017 · 5 comments
Labels

Comments

@SelimaCurci
Copy link

Hi,
I need to update the foreground scan period when scanning the estimote stickers (slower or faster depending on certain conditions), but despite I put
beaconManager.setForegroundScanPeriod(10000,5000);
into the nearableListener, the nearable listener is still being called every second.

I know the ForegroundScanPeriod is intended mostly for use with iBeacon, so the Nearable scanning might turn out not to be affected by this option.

I don't understand because the first time that I permorm the setting it works (for example the ForegroundScanPeriod to (5s, 2s)) but it doesn't allow to be updated later.
This feature it would be really helpful to avoid scanning too frequently when no is needed.

Thanks!

@pawelDylag
Copy link
Contributor

Hello @SelimaCurci

I deduce that you are using our newest SDK - it seems like a bug, and will be fixed in next release soon :) Thanks for reporting that!

If it comes to the scanning types in our newest SDK, take a look at our basic concept explanation here - it might come in handy :)

Have a nice day!

@pawelDylag pawelDylag added the bug label Apr 3, 2017
@SelimaCurci
Copy link
Author

Yes I'm using the versione 0.16.0. Does it works in earlier versions? I think it is an essential feature.

Have a nice day too!

@pawelDylag
Copy link
Contributor

Helo @SelimaCurci

The newest version is 1.0.0 - check out the migration guide here.
The issue is already fixed and is waiting for next release (soon) :)

@SelimaCurci
Copy link
Author

Great! Thank you :)

@pawelDylag
Copy link
Contributor

Fixed in 1.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants