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

Function frameDesc

tools/ax25_session_analyze.cpp:79–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79QString frameDesc(const Frame& f)
80{
81 QString s = ax25::frameTypeName(f.type);
82 if (f.type == FrameType::I)
83 s += QStringLiteral(" NS=%1 NR=%2").arg(f.ns).arg(f.nr);
84 else if (f.type == FrameType::RR || f.type == FrameType::RNR || f.type == FrameType::REJ)
85 s += QStringLiteral(" NR=%1").arg(f.nr);
86 if (f.pollFinal) s += QStringLiteral(" P/F");
87 return s;
88}
89
90} // namespace
91

Callers 1

mainFunction · 0.85

Calls 1

frameTypeNameFunction · 0.85

Tested by

no test coverage detected