MotionPacketHelperErrorCodes Enumeration
When a receive method was not successful, the first byte in the payload is represented as one of the given values
| No_Msg | 0 |
There was no message to be read on the buffer
|
| Bad_Preamble | 1 |
The preamble was incorrect. The payload[1] has info about the expected preamble, and payload[2] has info about the actual preamble
|
| Read_Error | 2 |
Unknown reason for the read failure
|
| Port_Null | 3 |
The port is null
|
| Port_Closed | 4 |
The port is closed
|
| Bad_Crc | 5 |
The CRC calculation was not correct.
|
| NMT | 6 |
An NMT packet is received. Usually it's the heartbit of the unit.
|
| BAD_ID | 7 |
The ID of the unit was not correct
|
| UnsupportedHeader | 8 |
The header is unsupported
|
| BadChecksum | 9 |
The checksum is incorrect
|