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