Skip to content

Scanner-Only PoC Executable#398

Open
Mathieu25900 wants to merge 11 commits intomainfrom
pr-386
Open

Scanner-Only PoC Executable#398
Mathieu25900 wants to merge 11 commits intomainfrom
pr-386

Conversation

@Mathieu25900
Copy link
Copy Markdown
Collaborator

Fixes #issue_number

What was changed?
Mouser application was improved to support scanner as a background service. A scanner listener thread was introduced to receive input and check 12-digit barcodes as well as write down all scanning activities. The GUI is also responsive and the application now safely closes the scanner on exit.

Why was it changed?
A scanner support was built to improve accuracy and efficiency with only valid scans. This ensures that the GUI is not only responsive but also prevents data loss, device errors, and GUI freese

How was it changed?
main.py has been changed to use a scanning daemon thread with a stop signal to cleanly shut down the scanner. logger.py was changed to utilize a thread-safe lock to keep the logging consistent.

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