Did you read the QextSerialPort documentation? There are only two classes and the bit about QextSerialEnumerator will be illuminating.
Did you read the QextSerialPort documentation? There are only two classes and the bit about QextSerialEnumerator will be illuminating.
I didn't understand. Is there any function to get existing serial ports in a system
There is no function available to list existing serial ports in QExtserilport. They are simply hard coded the portnames
They are used like this
port = new QextSerialPort("COM1");
but i need to get this "COM1" from system
From the link posted by Chris:
QextSerialEnumerator::getPortsQextSerialEnumerator enumerates ports currently available in the system.
Get list of ports.
return list of ports currently available in the system.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
arunkumaraymuo1 (27th August 2012)
As they say in English: "You can lead a horse to water, but you can't make him drink."
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Thank you all, I didn't noticed that earlier
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Bookmarks