MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setStartSequence

Method setStartSequence

app/src/IO/ConnectionManager.cpp:971–980  ·  view source on GitHub ↗

* @brief Sets the start delimiter and recreates device 0's FrameReader. */

Source from the content-addressed store, hash-verified

969 * @brief Sets the start delimiter and recreates device 0's FrameReader.
970 */
971void IO::ConnectionManager::setStartSequence(const QByteArray& sequence)
972{
973 const auto effective = sequence.isEmpty() ? QByteArray("/*") : sequence;
974 if (m_startSequence == effective)
975 return;
976
977 m_startSequence = effective;
978 resetFrameReader();
979 Q_EMIT startSequenceChanged();
980}
981
982/**
983 * @brief Sets the end delimiter and recreates device 0's FrameReader.

Callers 1

frameParserConfigureMethod · 0.80

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected