Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt and serial port programming [closed]

Is there any serial port facilities in Qt ?

If not, which crossplatform (desirable) libraries (for working with serial port and, maybe, with other I/O ports), do you recommend ?

like image 542
cybevnm Avatar asked Sep 22 '09 10:09

cybevnm


People also ask

How do I fix a serial port problem?

Go to Device Manager > Ports (COM & LPT) > mbed Serial Port, then right-click and select "properties". Choose "Port Settings" Tab, and click "Advanced" Under "COM Port Number", try selecting a different COM port. Unplug and replug the mbed to reload the driver - if the problem persists, try another COM port.


2 Answers

Take a look at the Project QextSerialPort.

like image 93
Frank Bollack Avatar answered Oct 11 '22 07:10

Frank Bollack


Well, there's always Boost.

In Boost there is a great Async I/O library called ASIO. It can perform operations in all sorts of endpoints, including serial ports.

There is a great example about how to build a minicom-like application using Boost::Asio, that you can use to see if ASIO will attend your needs.

Since boost works on all platforms/compilers under the sun, the cross platform requirement can be checked.

Cheers.

like image 31
Edu Felipe Avatar answered Oct 11 '22 05:10

Edu Felipe