-
Notifications
You must be signed in to change notification settings - Fork 127
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
Stop reader #39
Comments
Got it, just changed the on. to once. so the event happens only once. Fairly new to node.js here... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to stop the reader from listening? If I use reader.close(), the entire node.js process stops (on mac). reader.disconnect() doesn't work either. Reader keeps listening.
I basically want to have an interface with a button 'read NFC' and on click it needs to listen for nfc input, but once the card leaves and input is read, I want the nfc process killed. Help would be much appreciated.
The text was updated successfully, but these errors were encountered: