usb-serial device support for windows?

Asked by feishenfeng

I am using pn532 breakout board connected using FDTI cable (usb-serial/tty), which works fine on mac.
I mainly need to use snep for p2p connection between the breakout board and android, and I want them to work on windows.
I am wondering what is the reason that usb-serial is not supported on windows, stated in the code.
which component needs further development? I am willing to contribute.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
nfcpy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Tiedemann (stephen-tiedemann) said :
#1

The simple answer is that I usually work on Ubuntu and did not have time to test serial connection on Windows. Also enumeration of serial ports on Windows is different from Linux, where it's possible to walk through /dev/ttyUSB device nodes. I could see no other major obstacles than enumerating the ports to get it running on Windows. Once the serial module got the right port opened, it should simply work.

The relevant code for enumerating serial ports is in is in nfc/dev/__init__.py, lines 113 to 143. The other piece would be to provide the right port string (devname) to the driver, currently this follows the Linux style.

Revision history for this message
Luis Ramón Gallego Ortega (lr-gallego) said :
#2

Hello,
I do not know if this problem was already solved. I use some serial devices with FTDI chip to USB, such Arduino borad. I got the same problem on windows and solve it installing the FTDI driver for windows (http://www.ftdichip.com/FTDrivers.htm) this driver now is included in the Arduino IDE (http://arduino.cc/en/Main/Software).
Hope it helps

Revision history for this message
Stephen Tiedemann (stephen-tiedemann) said :
#3

Thanks Luis. Does that mean you've used nfcpy with a serial reader after just installing the FTDI driver?

Revision history for this message
Luis Ramón Gallego Ortega (lr-gallego) said :
#4

Hello, No I’m sorry… Actually I haven’t use nfcpy yet… I have used FTDI driver for serial communication in computers that have not DB9 connector, with different devices but not NFC readers, and using a USB converter based on MAX2323 chip. But now I see my answer could introduce some confusion in readers, since I really didn’t use it with nfcpy, so I apologize.
I’m looking for doing a little pilot with NFC and if I try it and test it, I’ll post it here… with a real test.
Sorry for the confusion that I could have introduced.

Can you help with this problem?

Provide an answer of your own, or ask feishenfeng for more information if necessary.

To post a message you must log in.