np43 / qextserialport

Automatically exported from code.google.com/p/qextserialport
Other
0 stars 0 forks source link

Cannot open ftdi usb serial port #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Qt 4.7.2, mingw 4.4
2.Try to open port which is FTDI USB<->Serial converter (USB Serial Port 
(COM20))

What is the expected output? What do you see instead?
port->open();
port->isOpen(); returns false, should be true

What version of the product are you using? On what operating system?
qextserialport-1.2win

Please provide any additional information below.
this code works normally on other ports COM1, COM2...
but ftdi usb ports could not be opened!

Original issue reported on code.google.com by atanasuz...@gmail.com on 10 Mar 2011 at 4:19

GoogleCodeExporter commented 9 years ago
Do you use \\.\ format for com port above 10, like in the issue 93

I'm also working with a FTDI stick, if you have any question.

Original comment by Kristen....@gmail.com on 27 Apr 2011 at 1:02

GoogleCodeExporter commented 9 years ago
Yes, with \\.\ this issue is fixed! Thanks!

Original comment by atanasuz...@gmail.com on 27 Apr 2011 at 1:15

GoogleCodeExporter commented 9 years ago
Remember "\" actually implemented as "\\" in C++. So the comport name is 
"\\\\.\\COM".I wasted sometime on debugging that.

Original comment by thinai...@gmail.com on 9 Nov 2011 at 12:25

GoogleCodeExporter commented 9 years ago
this issue has been fix in current version.

Original comment by dbzhang...@gmail.com on 10 Nov 2011 at 3:58

GoogleCodeExporter commented 9 years ago
should be closed ?

Original comment by romain...@gmail.com on 31 Mar 2012 at 10:45

GoogleCodeExporter commented 9 years ago

Original comment by dbzhang...@gmail.com on 10 Apr 2012 at 4:04