Command Line Reader Sync Example

The Command Line Reader Sync example shows how to use the QSerialPort class for receiving data synchronously over the selected serial port with the desired settings.

Screenshot of the Command Line Reader Sync example

This command line reader sync example receives data synchronously over the selected serial port in a console, provided by the QSerialPort class.

For receiving data synchronously over the selected serial port, use the read() or readAll(), and waitForReadyRead() methods.

Files: