nfcpy and ACR122
Hi,
I'm trying to use nfcpy with ACS ACR122u reader, but get USB errors.
I have added:
supported_
and changed output and input endpoints to:
(because ACR reader interface has 3 endpoints descriptors:
Endpoint Descriptor:
bLength 7
Transfer Type Interrupt
Synch Type None
Usage Type Data
bInterval 2
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
)
After that inp/out are the following: self.usb_out=2 self.usb_inp:130
The following exception appears:
Exception usb.USBError: 'No error' (on any self.dh.bulkWrite() command)
I tried to add 'except usb.USBError: return None', to avoid it, anyway there is no any response from the reader.
Am I doing something wrong? Is ACR122 really not supported?
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 Michael_r52 for more information if necessary.