This is class where i hold all the port informations as a number of data bits, stop bits etc
This is class where i hold all the port informations as a number of data bits, stop bits etc
portName is a class?
Sorry mate i get it wrong it was late when i read your post, the portName is QString with port name chosen by user. The portInformations is object of class where i hold all port informations it has only public members. Sorry agin for my mistake.
Best Regards
kaszewczyk
what is the exact value of portName used when calling:
Qt Code:
this->port = new QextSerialPort(this->portInformations->portName);To copy to clipboard, switch view to plain text mode
are you sure that port exists on your system? and/or it is enabled in bios?
Yes, i am sure because i can use system Hyperterminal with that port![]()
Please show us what is in this->portInformations->portName.
For higher number of COM ports You must specify port name as "\\.\COMnn". I don't remember what is boundary value. Of course You can use this long name of COM port with all numbers.
This PortInformations look like this:
This could be a problem because the modem is on COM40 but i dont know how to add "\\.\" to QString cus i cand doing by operator + ?Qt Code:To copy to clipboard, switch view to plain text mode
portName.prepend("\\\\.\\") ?
Qt Code:
{ }To copy to clipboard, switch view to plain text mode
Thanks it work
Best Regards
kaszewczyk
It would have been solved much earlier too if you had given us the information
I gave up asking, two more people asked the same question and yet you still held out.
Maybe next time?
Bookmarks