Compatibility Members for QSerialPort
The following members of class QSerialPortare part of the Qt compatibility layer. We advise against using them in new code.
|bool||sendBreak(int duration = 0)|
Member Function Documentation
Sends a continuous stream of zero bits during a specified period of time duration in msec if the terminal is using asynchronous serial data. If successful, returns true; otherwise returns false.
If the duration is zero then zero bits are transmitted by at least 0.25 seconds, but no more than 0.5 seconds.
If the duration is non zero then zero bits are transmitted within a certain period of time depending on the implementation.
Note: The serial port has to be open before trying to send a break duration; otherwise returns false and sets the NotOpenError error code.
See also setBreakEnabled().
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.