A link cable packet: its sequence number, the consoles not yet heard from, its checksum and a 24-byte payload. More...
#include <system/serial_runtime.h>
Data Fields | |
| u8 | sequence |
| SerialRuntime's sequence when the packet was built. | |
| u8 | missingMask |
| The consoles heard from before but not this frame (receivedMask ^ currentMask); a receiver complements it once the checksum is good. | |
| u16 | checksum |
| The complement of the sum of the packet's first 14 halfwords, taken with this field 0. | |
| u8 | payload [24] |
| u8 | reservedTail [4] |
| past the 14 halfwords sent; never written | |
A link cable packet: its sequence number, the consoles not yet heard from, its checksum and a 24-byte payload.
Definition at line 18 of file serial_runtime.h.
| u8 SerialPacket::sequence |
SerialRuntime's sequence when the packet was built.
Definition at line 19 of file serial_runtime.h.
| u8 SerialPacket::missingMask |
The consoles heard from before but not this frame (receivedMask ^ currentMask); a receiver complements it once the checksum is good.
Definition at line 22 of file serial_runtime.h.
| u16 SerialPacket::checksum |
The complement of the sum of the packet's first 14 halfwords, taken with this field 0.
Definition at line 25 of file serial_runtime.h.
Referenced by SerialRuntime_PrepareSendPacket().
| u8 SerialPacket::payload[24] |
Definition at line 26 of file serial_runtime.h.
Referenced by SerialRuntime_CollectReceivedPayloads().
| u8 SerialPacket::reservedTail[4] |
past the 14 halfwords sent; never written
Definition at line 27 of file serial_runtime.h.