Table of Contents

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

This must remain a static class in order to allow for unknown enum values

Fields

Bad header checksum

public const uint BadDataChecksum = 6

Field Value

uint

Bad data length

public const uint BadDataLength = 4

Field Value

uint

Bad transfer format

public const uint BadFormat = 2

Field Value

uint

Bad header checksum

public const uint BadHeaderChecksum = 5

Field Value

uint

Bad protocol version

public const uint BadProtocolVersion = 3

Field Value

uint

Bad response. This one is special because it can follow a response exchange

public const uint BadResponse = 4278124286

Field Value

uint

Error response because the pin is always high

public const uint HighPin = 4294967295

Field Value

uint

Error response because the pin is always low

public const uint LowPin = 0

Field Value

uint

Transfer is OK

public const uint Success = 1

Field Value

uint