trouble connecting to reader: UnicodeDecodeError
Hello,
I just installed nfcpy, and I am trying to first connect to my contactless reader (RC-S380).
I am running on Windows 10 64bit. I have copied the libusb binaries to the system folders, and I have installed the libusb-win32 driver using Zadig.
I am running the following commands:
import nfc
nfc.Contactless
And I am getting the following error:
Traceback (most recent call last):
File "E:/XXX/
nfc.
File "build\
File "build\
File "build\
File "build\
File "build\
File "build\
File "C:\Anaconda2\
return buf[2:]
File "C:\Anaconda2\
return codecs.
UnicodeDecodeError: 'utf16' codec can't decode bytes in position 214-215: illegal UTF-16 surrogate
--
The string being decoded is the device descriptor.
printing the result of the "buf[2:
S O N Y 6! � � * �� @ � 2@ �@ 1#{4D1E55B2 �� `wm �m &PID_C52B&
�� ��m P�m 11000030}
Any help in getting me connected to my reader is appreciated.
Thank you.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- nfcpy Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: