* @brief Returns a list with the available serial devices/ports (with "Select Port" placeholder at * index 0). */
| 341 | * index 0). |
| 342 | */ |
| 343 | QStringList IO::Drivers::UART::portList() const |
| 344 | { |
| 345 | if (m_deviceNames.count() > 0) |
| 346 | return m_deviceNames + m_customDevices; |
| 347 | |
| 348 | else |
| 349 | return QStringList{tr("Select Port")}; |
| 350 | } |
| 351 | |
| 352 | /** |
| 353 | * @brief Returns a list with the available baud rate configurations. |
no test coverage detected