Patch to remove 'Connection timed out' messages with SCM3711
I am using an SCM3711 on ubuntu 11.10.
While my script is waiting for a device to come into range, it continuously prints
Connection timed out
Connection timed out
Connection timed out
...
I have traced this down to pn53x_usb.py where I have added a third test.
=== modified file 'nfc/dev/
--- nfc/dev/
+++ nfc/dev/
@@ -67,7 +67,8 @@
try: frame = self.dh.
except usb.USBError as error:
if (error.args[0] == "No error" or
- error.args[0] == "usb_reap: timeout error"):
+ error.args[0] == "usb_reap: timeout error" or
+ error.args[0] == "Connection timed out"):
I hope this helps someone
/Hartmut
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- nfcpy Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Stephen Tiedemann
- Solved:
- Last query:
- Last reply: