QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
qserialport_p.h File Reference
#include <QtCore/QLoggingCategory>
#include <QtCore/QMutex>
#include <QtCore/QWaitCondition>
#include <QtCore/private/qiodevice_p.h>
#include <QtCore/private/qproperty_p.h>
#include <atomic>
#include "AndroidSerial.h"
#include "qserialport.h"
+ Include dependency graph for qserialport_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QSerialPortErrorInfo
 
class  QSerialPortPrivate
 

Macros

#define QSERIALPORT_BUFFERSIZE   DEFAULT_WRITE_BUFFER_SIZE
 

Variables

constexpr int INVALID_DEVICE_ID = 0
 
constexpr int MIN_READ_TIMEOUT = 500
 
constexpr qint64 MAX_READ_SIZE = 16 * 1024
 
constexpr qint64 DEFAULT_READ_BUFFER_SIZE = MAX_READ_SIZE
 
constexpr qint64 DEFAULT_WRITE_BUFFER_SIZE = 16 * 1024
 
constexpr int DEFAULT_WRITE_TIMEOUT = 5000
 
constexpr int DEFAULT_READ_TIMEOUT = 0
 
constexpr int EMIT_THRESHOLD = 64
 

Macro Definition Documentation

◆ QSERIALPORT_BUFFERSIZE

#define QSERIALPORT_BUFFERSIZE   DEFAULT_WRITE_BUFFER_SIZE

Definition at line 40 of file qserialport_p.h.

Variable Documentation

◆ DEFAULT_READ_BUFFER_SIZE

constexpr qint64 DEFAULT_READ_BUFFER_SIZE = MAX_READ_SIZE
constexpr

Definition at line 33 of file qserialport_p.h.

◆ DEFAULT_READ_TIMEOUT

constexpr int DEFAULT_READ_TIMEOUT = 0
constexpr

Definition at line 36 of file qserialport_p.h.

◆ DEFAULT_WRITE_BUFFER_SIZE

constexpr qint64 DEFAULT_WRITE_BUFFER_SIZE = 16 * 1024
constexpr

Definition at line 34 of file qserialport_p.h.

◆ DEFAULT_WRITE_TIMEOUT

constexpr int DEFAULT_WRITE_TIMEOUT = 5000
constexpr

Definition at line 35 of file qserialport_p.h.

◆ EMIT_THRESHOLD

constexpr int EMIT_THRESHOLD = 64
constexpr

Definition at line 37 of file qserialport_p.h.

◆ INVALID_DEVICE_ID

constexpr int INVALID_DEVICE_ID = 0
constexpr

◆ MAX_READ_SIZE

constexpr qint64 MAX_READ_SIZE = 16 * 1024
constexpr

Definition at line 32 of file qserialport_p.h.

Referenced by AndroidSerial::jniDeviceNewData().

◆ MIN_READ_TIMEOUT

constexpr int MIN_READ_TIMEOUT = 500
constexpr

Definition at line 31 of file qserialport_p.h.