Home · All Classes · Grouped Classes · Annotated · Functions

QSerialSocket Class Reference

The QSerialSocket class provides a serial port abstraction via a TCP socket. More...

    #include <QSerialSocket>

Inherits QSerialIODevice.

Public Functions

Signals

Additional Inherited Members


Detailed Description

The QSerialSocket class provides a serial port abstraction via a TCP socket.

This serial port abstraction implements the telnet protocol (RFC 854), to make it easy to debug AT command handlers using a telnet client.

See also QSerialSocketServer and QSerialIODevice.


Member Function Documentation

QSerialSocket::QSerialSocket ( const QString & host, quint16 port, QObject * parent = 0 )

Construct a serial-over-sockets session object and attach it to parent. The session will connect to port on host.

QSerialSocket::~QSerialSocket ()

Destroy this socket-based serial port abstraction.

void QSerialSocket::close ()   [virtual]

Close this serial I/O device. The socket will remain connected until this object is destroyed.

Reimplemented from QIODevice.

void QSerialSocket::closed ()   [signal]

Signal that is emitted when the socket is closed by the other end of the connection.

bool QSerialSocket::open ( OpenMode mode )   [virtual]

Open this serial I/O device in mode. This just sets the device to open. The actual connect is done during the constructor.

Reimplemented from QIODevice.


Copyright © 2007 Trolltech Trademarks
Qtopia 4.3.0