Class Consts
- Namespace
- DuetControlServer.Link.Protocol.Shared
- Assembly
- DuetControlServer.dll
Static class holding SPI transfer constants
public static class Consts
- Inheritance
-
Consts
- Inherited Members
Fields
BufferSize
Default size of a data transfer buffer
public const int BufferSize = 8192
Field Value
BufferedCodeHeaderSize
Size of the header prefixing a buffered code
public const int BufferedCodeHeaderSize = 4
Field Value
FirmwareFinishedDelay
Delay to await after the last firmware segment has been written (in ms)
public const int FirmwareFinishedDelay = 750
Field Value
FirmwareSegmentSize
Size of each transmitted firmware binary segment (must be equal to blockReadSize in the IAP project)
public const int FirmwareSegmentSize = 2048
Field Value
FormatCode
Unique format code for binary SPI transfers
public const byte FormatCode = 95
Field Value
Remarks
Must be different from any other used format code (0x3E = DuetWiFiServer)
FormatCodeStandalone
Format code indicating that RRF is operating in standalone mode
public const byte FormatCodeStandalone = 96
Field Value
IapRebootDelay
Time to wait when the IAP reboots to the main firmware
public const int IapRebootDelay = 2000
Field Value
IapSegmentSize
Size of each transmitted IAP binary segment (must be a multiple of IFLASH_PAGE_SIZE)
public const int IapSegmentSize = 1536
Field Value
IapTimeout
Timeout when waiting for a response from IAP
public const int IapTimeout = 8000
Field Value
InvalidFormatCode
Unique format code that is not used anywhere else
public const byte InvalidFormatCode = 201
Field Value
MaxCommentLength
Maximum length of a whole-line comment to send to RRF
public const int MaxCommentLength = 100
Field Value
MaxEvaluationRequestsPerTransfer
Maximum number of evaluation and variable requests to send per transfer
public const int MaxEvaluationRequestsPerTransfer = 32
Field Value
MaxExpressionLength
Maximum length of an expression
public const int MaxExpressionLength = 256
Field Value
MaxVariableLength
Maximum length of a variable name
public const int MaxVariableLength = 120
Field Value
NoFileHandle
Value used by RepRapFirmware to represent an invalid file handle
public const uint NoFileHandle = 0
Field Value
NoFilePosition
Value used by RepRapFirmware to represent an invalid file position
public const uint NoFilePosition = 4294967295
Field Value
ProtocolVersion
Used protocol version. This is incremented whenever the protocol details change
public const ushort ProtocolVersion = 7