Table of Contents

Struct TransferHeader

Namespace
DuetControlServer.Link.Protocol.Shared
Assembly
DuetControlServer.dll

Header describing the content of a full SPI transfer

public struct TransferHeader
Inherited Members

Fields

CRC16 checksum of the transfer data (protocol version < 4)

public ushort ChecksumData16

Field Value

ushort

CRC32 checksum of the transfer data (protocol version >= 4)

public uint ChecksumData32

Field Value

uint

CRC16 checksum of the transfer header (protocol version < 4)

public ushort ChecksumHeader16

Field Value

ushort

CRC32 checksum of the transfer header (protocol version >= 4)

public uint ChecksumHeader32

Field Value

uint

Total length of the data transfer in bytes

public ushort DataLength

Field Value

ushort

Unique number representing the format used for this type of data transfer

public byte FormatCode

Field Value

byte
See Also

Number of packets in the data transfer

public byte NumPackets

Field Value

byte

Version of the protocol. This is incremented whenever the protocol details change

public ushort ProtocolVersion

Field Value

ushort
See Also

Sequence number (auto-incremented), used to detect resets on either side

public ushort SequenceNumber

Field Value

ushort