![]() ![]() Having successfully opened, QSerialPort tries to determine the current configuration of the port and initializes itself. Use the close() method to close the port and cancel the I/O operations. ![]() Note: The serial port is always opened with exclusive access (that is, no other process or thread can access an already opened serial port). SetStopBits(QSerialPort::StopBits stopBits) SetPort(const QSerialPortInfo & serialPortInfo) SetFlowControl(QSerialPort::FlowControl flowControl) SetDataBits(QSerialPort::DataBits dataBits) SetBaudRate(qint32 baudRate, QSerialPort::Directions directions = AllDirections) QSerialPort(const QString & name, QObject * parent = nullptr)īaudRate(QSerialPort::Directions directions = AllDirections) constĬlear(QSerialPort::Directions directions = AllDirections) QSerialPort(const QSerialPortInfo & serialPortInfo, QObject * parent = nullptr)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |