Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/CAN
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-02-07 13:27:28 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-02-07 13:27:28 +0300
commit09167097d1d887d0b3b033595020a0ed8603c55d (patch)
treed52f54304852fc9903effe41a9784c2011e0aa0b /src/CAN
parent8def4ee59cce61e38c0a0c5e73d19c13fd3b3d60 (diff)
Added option to return board unique ID in CanMessageReturnInfo
Diffstat (limited to 'src/CAN')
-rw-r--r--src/CAN/CommandProcessor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CAN/CommandProcessor.cpp b/src/CAN/CommandProcessor.cpp
index 21ea0f1a..4ffb4b38 100644
--- a/src/CAN/CommandProcessor.cpp
+++ b/src/CAN/CommandProcessor.cpp
@@ -320,6 +320,10 @@ static GCodeResult EutGetInfo(const CanMessageReturnInfo& msg, const StringRef&
reply.cat('}');
break;
+ case CanMessageReturnInfo::typeBoardUniqueId:
+ reply.copy(reprap.GetPlatform().GetUniqueIdString());
+ break;
+
case CanMessageReturnInfo::typeDiagnosticsPart0:
extra = LastDiagnosticsPart;
reply.lcatf("%s (%s%s)", VERSION, DATE, TIME_SUFFIX);