MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / Diagnostics

Method Diagnostics

src/SBC/SbcInterface.cpp:1443–1452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1441}
1442
1443void SbcInterface::Diagnostics(const StringRef& reply) noexcept
1444{
1445 reply.copy( "=== SBC interface ===");
1446 transfer.Diagnostics(reply);
1447 reply.lcatf("State: %d, disconnects: %" PRIu32 ", timeouts: %" PRIu32 " total, %" PRIu32 " by SBC, IAP RAM available 0x%05" PRIx32, (int)state, numDisconnects, numTimeouts, numSbcTimeouts, iapRamAvailable);
1448 reply.lcatf("Buffer RX/TX: %d/%d-%d, open files: %u", (int)rxPointer, (int)txPointer, (int)txEnd, numOpenFiles);
1449#ifdef TRACK_FILE_CODES
1450 reply.lcatf("File codes read/handled: %d/%d, file macros open/closing: %d %d", (int)fileCodesRead, (int)fileCodesHandled, (int)fileMacrosRunning, (int)fileMacrosClosing);
1451#endif
1452}
1453
1454GCodeResult SbcInterface::HandleM576(GCodeBuffer& gb, const StringRef& reply) noexcept
1455{

Callers

nothing calls this directly

Calls 2

copyMethod · 0.80
lcatfMethod · 0.80

Tested by

no test coverage detected