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

Method handleCommandResponse

src/models/DvkModel.cpp:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57// ── Reply handling ──────────────────────────────────────────────────────────
58
59void DvkModel::handleCommandResponse(const QString& verb, int id, uint code,
60 const QString& body)
61{
62 Q_UNUSED(body);
63 if (code == 0) return; // success path: status broadcast drives UI
64
65 qWarning() << "DvkModel: command" << verb << "id=" << id
66 << "failed with code 0x" << QString::number(code, 16);
67 emit commandFailed(verb, id, code, dvkErrorString(code));
68}
69
70QString DvkModel::dvkErrorString(uint code)
71{

Callers 1

RadioModelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected