Redler Technologies Inc.

MotionPacketHelperErrorCodes Enumeration

When a receive method was not successful, the first byte in the payload is represented as one of the given values

Definition

Namespace: Redler.Motion.Communication.MotionPackets
Assembly: Redler.Motion.Communication (in Redler.Motion.Communication.dll) Version: 0.0.0.0
C#
public enum ErrorCodes

Members

No_Msg0 There was no message to be read on the buffer
Bad_Preamble1 The preamble was incorrect. The payload[1] has info about the expected preamble, and payload[2] has info about the actual preamble
Read_Error2 Unknown reason for the read failure
Port_Null3 The port is null
Port_Closed4 The port is closed
Bad_Crc5 The CRC calculation was not correct.
NMT6 An NMT packet is received. Usually it's the heartbit of the unit.
BAD_ID7 The ID of the unit was not correct
UnsupportedHeader8 The header is unsupported
BadChecksum9 The checksum is incorrect

See Also