#include <SerialPortManager.h>
Public Member Functions | |
| bool | hasName (const QString &name) const |
| Whether name is the port's system location, port name or stable name. | |
Public Attributes | |
| QString | systemLocation |
| QString | portName |
| QGCSerialPortInfo::BoardType_t | boardType = QGCSerialPortInfo::BoardTypeUnknown |
| QString | boardName |
| bool | bootloader = false |
| QString | physicalDeviceId = {} |
| Shared by interfaces with the same VID/PID/serial; empty when identity is unavailable. | |
| QString | description = {} |
| QString | displayName = {} |
| QString | stableName = {} |
| bool | hardwareFlowControl = true |
Definition at line 32 of file SerialPortManager.h.
|
inline |
Whether name is the port's system location, port name or stable name.
Definition at line 52 of file SerialPortManager.h.
References portName, stableName, and systemLocation.
| QString SerialPortManager::Port::boardName |
Definition at line 37 of file SerialPortManager.h.
| QGCSerialPortInfo::BoardType_t SerialPortManager::Port::boardType = QGCSerialPortInfo::BoardTypeUnknown |
Definition at line 36 of file SerialPortManager.h.
| bool SerialPortManager::Port::bootloader = false |
Definition at line 38 of file SerialPortManager.h.
| QString SerialPortManager::Port::description = {} |
Definition at line 41 of file SerialPortManager.h.
| QString SerialPortManager::Port::displayName = {} |
Definition at line 42 of file SerialPortManager.h.
| bool SerialPortManager::Port::hardwareFlowControl = true |
Whether the port can be set to hardware flow control. On Android the driver of a USB device may have none, and its port then refuses the setting.
Definition at line 49 of file SerialPortManager.h.
| QString SerialPortManager::Port::physicalDeviceId = {} |
Shared by interfaces with the same VID/PID/serial; empty when identity is unavailable.
Definition at line 40 of file SerialPortManager.h.
| QString SerialPortManager::Port::portName |
Definition at line 35 of file SerialPortManager.h.
Referenced by hasName().
| QString SerialPortManager::Port::stableName = {} |
Finds the port again once its device has been replugged, which gives it another system location. Empty where the platform has no such name. Devices of a kind that report the same serial number, or none, share theirs.
Definition at line 46 of file SerialPortManager.h.
Referenced by hasName().
| QString SerialPortManager::Port::systemLocation |
Definition at line 34 of file SerialPortManager.h.
Referenced by hasName().