#include <QtCore/QIODevice>
#include "qextserialport_global.h"
Aller au code source de ce fichier.
Classes | |
class | PortSettings |
The PortSettings class contain port settings. Plus de détails... | |
class | QextSerialPort |
The QextSerialPort class encapsulates a serial port on both POSIX and Windows systems. Plus de détails... | |
Macros | |
#define | LS_CTS 0x01 |
#define | LS_DSR 0x02 |
#define | LS_DCD 0x04 |
#define | LS_RI 0x08 |
#define | LS_RTS 0x10 |
#define | LS_DTR 0x20 |
#define | LS_ST 0x40 |
#define | LS_SR 0x80 |
#define | E_NO_ERROR 0 |
#define | E_INVALID_FD 1 |
#define | E_NO_MEMORY 2 |
#define | E_CAUGHT_NON_BLOCKED_SIGNAL 3 |
#define | E_PORT_TIMEOUT 4 |
#define | E_INVALID_DEVICE 5 |
#define | E_BREAK_CONDITION 6 |
#define | E_FRAMING_ERROR 7 |
#define | E_IO_ERROR 8 |
#define | E_BUFFER_OVERRUN 9 |
#define | E_RECEIVE_OVERFLOW 10 |
#define | E_RECEIVE_PARITY_ERROR 11 |
#define | E_TRANSMIT_OVERFLOW 12 |
#define | E_READ_FAILED 13 |
#define | E_WRITE_FAILED 14 |
#define | E_FILE_NOT_FOUND 15 |
#define | E_PERMISSION_DENIED 16 |
#define | E_AGAIN 17 |
Énumérations | |
enum | BaudRateType { BAUD110 = 110, BAUD300 = 300, BAUD600 = 600, BAUD1200 = 1200, BAUD2400 = 2400, BAUD4800 = 4800, BAUD9600 = 9600, BAUD19200 = 19200, BAUD38400 = 38400, BAUD57600 = 57600, BAUD115200 = 115200 } |
enum | DataBitsType { DATA_5 = 5, DATA_6 = 6, DATA_7 = 7, DATA_8 = 8 } |
enum | ParityType { PAR_NONE, PAR_ODD, PAR_EVEN, PAR_SPACE } |
enum | StopBitsType { STOP_1, STOP_2 } |
enum | FlowType { FLOW_OFF, FLOW_HARDWARE, FLOW_XONXOFF } |
Documentation des macros
#define E_AGAIN 17 |
Référencé par QextSerialPort::errorString().
#define E_BREAK_CONDITION 6 |
Référencé par QextSerialPort::errorString().
#define E_BUFFER_OVERRUN 9 |
Référencé par QextSerialPort::errorString().
#define E_CAUGHT_NON_BLOCKED_SIGNAL 3 |
Référencé par QextSerialPort::errorString().
#define E_FILE_NOT_FOUND 15 |
Référencé par QextSerialPort::errorString().
#define E_FRAMING_ERROR 7 |
Référencé par QextSerialPort::errorString().
#define E_INVALID_DEVICE 5 |
Référencé par QextSerialPort::errorString().
#define E_INVALID_FD 1 |
Référencé par QextSerialPort::errorString().
#define E_IO_ERROR 8 |
Référencé par QextSerialPort::errorString().
#define E_NO_ERROR 0 |
Référencé par QextSerialPort::errorString().
#define E_NO_MEMORY 2 |
Référencé par QextSerialPort::errorString().
#define E_PERMISSION_DENIED 16 |
Référencé par QextSerialPort::errorString().
#define E_PORT_TIMEOUT 4 |
Référencé par QextSerialPort::errorString().
#define E_READ_FAILED 13 |
Référencé par QextSerialPort::errorString().
#define E_RECEIVE_OVERFLOW 10 |
Référencé par QextSerialPort::errorString().
#define E_RECEIVE_PARITY_ERROR 11 |
Référencé par QextSerialPort::errorString().
#define E_TRANSMIT_OVERFLOW 12 |
Référencé par QextSerialPort::errorString().
#define E_WRITE_FAILED 14 |
Référencé par QextSerialPort::errorString().
#define LS_CTS 0x01 |
#define LS_DCD 0x04 |
#define LS_DSR 0x02 |
#define LS_DTR 0x20 |
#define LS_RI 0x08 |
#define LS_RTS 0x10 |
#define LS_SR 0x80 |
#define LS_ST 0x40 |
Documentation du type de l'énumération
enum BaudRateType |
- Valeurs énumérées:
BAUD110 BAUD300 BAUD600 BAUD1200 BAUD2400 BAUD4800 BAUD9600 BAUD19200 BAUD38400 BAUD57600 BAUD115200
{ #if defined(Q_OS_UNIX) || defined(qdoc) BAUD50 = 50, //POSIX ONLY BAUD75 = 75, //POSIX ONLY BAUD134 = 134, //POSIX ONLY BAUD150 = 150, //POSIX ONLY BAUD200 = 200, //POSIX ONLY BAUD1800 = 1800, //POSIX ONLY # if defined(B76800) || defined(qdoc) BAUD76800 = 76800, //POSIX ONLY # endif # if (defined(B230400) && defined(B4000000)) || defined(qdoc) BAUD230400 = 230400, //POSIX ONLY BAUD460800 = 460800, //POSIX ONLY BAUD500000 = 500000, //POSIX ONLY BAUD576000 = 576000, //POSIX ONLY BAUD921600 = 921600, //POSIX ONLY BAUD1000000 = 1000000, //POSIX ONLY BAUD1152000 = 1152000, //POSIX ONLY BAUD1500000 = 1500000, //POSIX ONLY BAUD2000000 = 2000000, //POSIX ONLY BAUD2500000 = 2500000, //POSIX ONLY BAUD3000000 = 3000000, //POSIX ONLY BAUD3500000 = 3500000, //POSIX ONLY BAUD4000000 = 4000000, //POSIX ONLY # endif #endif //Q_OS_UNIX #if defined(Q_OS_WIN) || defined(qdoc) BAUD14400 = 14400, decoupageTrame(); //WINDOWS ONLY BAUD56000 = 56000, //WINDOWS ONLY BAUD128000 = 128000, //WINDOWS ONLY BAUD256000 = 256000, //WINDOWS ONLY #endif //Q_OS_WIN BAUD110 = 110, BAUD300 = 300, BAUD600 = 600, BAUD1200 = 1200, BAUD2400 = 2400, BAUD4800 = 4800, BAUD9600 = 9600, BAUD19200 = 19200, BAUD38400 = 38400, BAUD57600 = 57600, BAUD115200 = 115200 };
enum DataBitsType |
enum FlowType |
{ FLOW_OFF, FLOW_HARDWARE, FLOW_XONXOFF };
enum ParityType |
enum StopBitsType |