forked from 7h0ma5/QLog
-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathSerialPort.cpp
More file actions
23 lines (19 loc) · 821 Bytes
/
Copy pathSerialPort.cpp
File metadata and controls
23 lines (19 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "SerialPort.h"
#include "core/debug.h"
MODULE_IDENTIFICATION("qlog.core.serialport");
SerialPort::SerialPort(QObject *parent)
: QObject{parent}
{
FCT_IDENTIFICATION;
}
const QString SerialPort::SERIAL_FLOWCONTROL_NONE = "none";
const QString SerialPort::SERIAL_FLOWCONTROL_HARDWARE = "hardware";
const QString SerialPort::SERIAL_FLOWCONTROL_SOFTWARE = "software";
const QString SerialPort::SERIAL_PARITY_EVEN = "even";
const QString SerialPort::SERIAL_PARITY_ODD = "odd";
const QString SerialPort::SERIAL_PARITY_MARK = "mark";
const QString SerialPort::SERIAL_PARITY_SPACE = "space";
const QString SerialPort::SERIAL_PARITY_NO = "no";
const QString SerialPort::SERIAL_SIGNAL_NONE = "none";
const QString SerialPort::SERIAL_SIGNAL_HIGH = "high";
const QString SerialPort::SERIAL_SIGNAL_LOW = "low";