MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / parseWaterfallLineHeader

Function parseWaterfallLineHeader

src/core/KiwiSdrProtocol.cpp:402–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402WaterfallLineHeader parseWaterfallLineHeader(const QByteArray& frame)
403{
404 if (frame.size() < 4 || !frame.startsWith("W/F")) {
405 return {};
406 }
407
408 WaterfallLineHeader header;
409 header.sequence = static_cast<uchar>(frame[3]);
410 header.valid = true;
411 return header;
412}
413
414quint64 sequenceGapCount(int previousSequence, int currentSequence)
415{

Callers 3

handleWaterfallFrameMethod · 0.85
mainFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by 1

mainFunction · 0.68