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

Missing devices when have interval between scans. #343

Open
Premacy opened this issue Sep 18, 2024 · 0 comments
Open

Missing devices when have interval between scans. #343

Premacy opened this issue Sep 18, 2024 · 0 comments

Comments

@Premacy
Copy link

Premacy commented Sep 18, 2024

When I sleep thread between scan intervals, adapter can't find devices. I have 2,3 or sometimes 5 empty scan intervals.

while(true){
std::this_thread::sleep_for(1s);
adapter.scan_start();
// Wait for scan_seconds seconds
std::this_thread::sleep_for(5s);
adapter.scan_stop()

}

What's I am doing wrong? I used linux(raspberry pi 3)

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

No branches or pull requests

1 participant