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

Consider increasing the nfc read timeout #5

Open
brackendawson opened this issue Oct 12, 2021 · 1 comment
Open

Consider increasing the nfc read timeout #5

brackendawson opened this issue Oct 12, 2021 · 1 comment

Comments

@brackendawson
Copy link
Member

I think calling ReadUUID with a timeout of 1ms is a bit expensive. It will return as soon as it finds a tag anyway. 100ms might be better.

I think we can also get the reader into a state where it always returns an error immediately until a new tag comes along, causing a tight loop. Needs investigation and maybe a short delay after falling into that error case.

@brackendawson
Copy link
Member Author

Delay was already 100ms, increasing it further doesn't help. I've not been able to recreate the tight loop.

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