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
ChecksumData16
CRC16 checksum of the transfer data (protocol version < 4)
public ushort ChecksumData16
Field Value
ChecksumData32
CRC32 checksum of the transfer data (protocol version >= 4)
public uint ChecksumData32
Field Value
ChecksumHeader16
CRC16 checksum of the transfer header (protocol version < 4)
public ushort ChecksumHeader16
Field Value
ChecksumHeader32
CRC32 checksum of the transfer header (protocol version >= 4)
public uint ChecksumHeader32
Field Value
DataLength
Total length of the data transfer in bytes
public ushort DataLength
Field Value
FormatCode
Unique number representing the format used for this type of data transfer
public byte FormatCode
Field Value
- See Also
NumPackets
Number of packets in the data transfer
public byte NumPackets
Field Value
ProtocolVersion
Version of the protocol. This is incremented whenever the protocol details change
public ushort ProtocolVersion
Field Value
- See Also
SequenceNumber
Sequence number (auto-incremented), used to detect resets on either side
public ushort SequenceNumber