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

fix: rescan for available devices when scanner is unavailable #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hannesrauhe
Copy link

@hannesrauhe hannesrauhe commented Feb 21, 2021

Insaned starts up and continues running even if scanner is powered off. If no device is given, insaned continuously scans for devices. In addition this change introduces two new events (on,off) that are executed when insaned detects a new device and when it looses the connection.

hannesrauhe and others added 2 commits February 21, 2021 12:05
Scanners switch names after a restart, so insaned checks for available
devices when opening fails.
* otionally mark device online/offline
* do not exit if scanner is offline on start
* deactivate debouncing for on/off events
* introduce a short backoff
@hannesrauhe hannesrauhe changed the title fix: rescan for available devices after opening failed fix: rescan for available devices when scanner is unavailable Feb 21, 2021
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

Successfully merging this pull request may close these issues.

1 participant