nfcpy app tolerant of USB unplug/replug?
hi,
I am building an app on the windows platform that needs to be continuously polling for data from an nfc reader (in a separate python thread). I'm not quite sure how to do that - I am comfortable getting nfcpy to work using ContactlessFron
Right now, I am thinking of two while loops - one for the ContactlessFrontend call and one for the poll call, but I'm not sure if that is the right way to do it. Especially after reading the docs, it seems to me as "connect" is the right way to do it - but the examples are all one-off read/writes, not a sustained polling and handling usb unplug and replug.
I will appreciate any help on the topic - I tried searching for example code, but none that look like the one I'm talking about.
thanks!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- nfcpy Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask V Naresh for more information if necessary.