* @brief Sets the end delimiter and recreates device 0's FrameReader. */
| 983 | * @brief Sets the end delimiter and recreates device 0's FrameReader. |
| 984 | */ |
| 985 | void IO::ConnectionManager::setFinishSequence(const QByteArray& sequence) |
| 986 | { |
| 987 | const auto effective = sequence.isEmpty() ? QByteArray("*/") : sequence; |
| 988 | if (m_finishSequence == effective) |
| 989 | return; |
| 990 | |
| 991 | m_finishSequence = effective; |
| 992 | resetFrameReader(); |
| 993 | Q_EMIT finishSequenceChanged(); |
| 994 | } |
| 995 | |
| 996 | /** |
| 997 | * @brief Sets the checksum algorithm and recreates device 0's FrameReader. |
no test coverage detected