AtCore  1.0.70
AtCore is a API to manage the serial connection between the computer and 3D Printers.
Public Attributes | Static Public Attributes | List of all members
SerialLayer::SerialLayerPrivate Struct Reference

The SerialLayerPrivate class. More...

Public Attributes

QSerialPort::SerialPortError _lastError = QSerialPort::NoError
 
QByteArray _rawData
 
QVector< QByteArray > _rByteCommands
 
QVector< QByteArray > _sByteCommands
 
bool _serialOpened = false
 

Static Public Attributes

static const QByteArray _newLine = QByteArray("\n")
 
static const QByteArray _newLineReturn = QByteArray("\n\r")
 
static const QByteArray _return = QByteArray("\r")
 
static const QStringList _validBaudRates
 

Detailed Description

The SerialLayerPrivate class.

Member Data Documentation

◆ _lastError

QSerialPort::SerialPortError SerialLayer::SerialLayerPrivate::_lastError = QSerialPort::NoError

_lastError: the last reported error

◆ _newLine

const QByteArray SerialLayer::SerialLayerPrivate::_newLine = QByteArray("\n")
static

New Line String

◆ _newLineReturn

const QByteArray SerialLayer::SerialLayerPrivate::_newLineReturn = QByteArray("\n\r")
static

New Line Return String

◆ _rawData

QByteArray SerialLayer::SerialLayerPrivate::_rawData

_rawData: the raw serial data

◆ _rByteCommands

QVector<QByteArray> SerialLayer::SerialLayerPrivate::_rByteCommands

_rByteCommand: received Messages

◆ _return

const QByteArray SerialLayer::SerialLayerPrivate::_return = QByteArray("\r")
static

Return String

◆ _sByteCommands

QVector<QByteArray> SerialLayer::SerialLayerPrivate::_sByteCommands

_sByteCommand: sent Messages

◆ _serialOpened

bool SerialLayer::SerialLayerPrivate::_serialOpened = false

_serialOpened: is Serial port opened

◆ _validBaudRates

const QStringList SerialLayer::SerialLayerPrivate::_validBaudRates
static
Initial value:
= {QStringLiteral("9600"),
QStringLiteral("14400"),
QStringLiteral("19200"),
QStringLiteral("28800"),
QStringLiteral("38400"),
QStringLiteral("57600"),
QStringLiteral("76800"),
QStringLiteral("115200"),
QStringLiteral("230400"),
QStringLiteral("250000"),
QStringLiteral("500000"),
QStringLiteral("1000000")}

List of valid Baud Rates


The documentation for this struct was generated from the following file: