Class TransferResponse
- Namespace
- DuetControlServer.Link.Protocol.Shared
- Assembly
- DuetControlServer.dll
Result code for header and data transfers
public static class TransferResponse
- Inheritance
-
TransferResponse
- Inherited Members
Remarks
This must remain a static class in order to allow for unknown enum values
Fields
BadDataChecksum
Bad header checksum
public const uint BadDataChecksum = 6
Field Value
BadDataLength
Bad data length
public const uint BadDataLength = 4
Field Value
BadFormat
Bad transfer format
public const uint BadFormat = 2
Field Value
BadHeaderChecksum
Bad header checksum
public const uint BadHeaderChecksum = 5
Field Value
BadProtocolVersion
Bad protocol version
public const uint BadProtocolVersion = 3
Field Value
BadResponse
Bad response. This one is special because it can follow a response exchange
public const uint BadResponse = 4278124286
Field Value
HighPin
Error response because the pin is always high
public const uint HighPin = 4294967295
Field Value
LowPin
Error response because the pin is always low
public const uint LowPin = 0
Field Value
Success
Transfer is OK
public const uint Success = 1