Enum CodeResult
- Namespace
- DuetControlServer.Link.Protocol.Shared
- Assembly
- DuetControlServer.dll
Enumeration to specify the result of attempting to process a GCode command
public enum CodeResult : byte
Fields
Bad or missing parameter
Only used if CAN expansion is supported - timed out waiting for a response to a CAN message - the associated reply buffer may contain more info
General error, the reason will be written to the associated reply buffer
Error: not supported
M291 cancelled
Only used if CAN expansion is supported - we failed to allocate a CAN buffer to send a message to an expansion board
We haven't finished processing this command
Not supported in current mode
We have finished processing this code in the current state, and if the GCodeState is 'normal' then we have finished it completely
Only used if CAN expansion is supported - can be sent by expansion boards, so don't change its number!
We are halted because of an emergency stop
We are waiting for a message box to be acknowledged so the command has been ignored
The command succeeded but a warning was generated
The command is not supported, but for this command we issue a warning not an error
Remarks
This needs to stay in sync with the GCodeResult definition in RepRapFirmware