Struct PacketHeader
Header used for single packets from and to the RepRapFirmware board
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DuetControlServer.SPI.Communication.Shared
Assembly: DuetControlServer.dll
Syntax
public struct PacketHeader
Fields
Id
Identifier of the packet
Declaration
public ushort Id
Field Value
Type | Description |
---|---|
System.UInt16 |
Length
Length of the packet in bytes
Declaration
public ushort Length
Field Value
Type | Description |
---|---|
System.UInt16 |
Request
Identifier of this request
Declaration
public ushort Request
Field Value
Type | Description |
---|---|
System.UInt16 |
See Also
ResendPacketId
Identifier of the packet that is supposed to be resend (defaults to 0)
Declaration
public ushort ResendPacketId
Field Value
Type | Description |
---|---|
System.UInt16 |