Long Packet Structure
Packet Header (4 bytes)
- Data Identifier (DI) * 1byte:Contains the Virtual Channel[7:6] and Data Type[5:0].
- Word Count (WC) * 2byte:defines the number of bytes in the Data Payload.
- Error Correction Code (ECC) * 1byte:allows single-bit errors to be corrected and 2-bit errors to be detected.
Data Payload (0~65535 bytes)
Packet Footer (2 bytes):Checksum
- If the payload has length 0, then the Checksum calculation results in FFFFh
- If the Checksum isn’t calculated, the Checksum value is 0000h
Packet Size
- 4 + (0~65535) + 2 = 6 ~ 65541 bytes
댓글 없음:
댓글 쓰기