Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ref:zmodem [2020/11/28 20:09] – [Data Subpacket] Details about he Data Subpacket Length digital man | ref:zmodem [2020/12/01 22:12] – [Frame Header] Add Frame Info column digital man | ||
---|---|---|---|
Line 82: | Line 82: | ||
==== Frame Header ==== | ==== Frame Header ==== | ||
- | <frame encoding> | + | <frame encoding> |
- | **Frame Encoding** (single byte): | + | **Frame Encoding** (single byte): |
- | All frames sent by the " | + | |
- | **Frame Type** (single byte): ZDATA, ZRPOS, ZACK, ZEOF, etc. | + | The //Frame Encoding// is also sometimes called the "Frame Style". |
- | **Frame Info**: Up to 15 bytes (but typically 4) of frame type-specific information. Note that later claims of //16// bytes of possible frame header data include the //Frame Type// byte. | + | ^ Style ^ AKA ^ Value ^ Frame Contents |
+ | | HEX | ZHEX | ASCII ''' | ||
+ | | BIN16 | ZBIN | ASCII ''' | ||
+ | | BIN32 | ZBIN32 | ASCII ''' | ||
+ | |||
+ | Notes: | ||
+ | * All frames sent by the " | ||
+ | |||
+ | **Frame Type** (single byte): | ||
+ | |||
+ | ^ Type ^ Value ^ TX((from sender))^ RX((from receiver)) ^ Info ^ Data Subpkt | ||
+ | | ZRQINIT | ||
+ | | ZRINIT | ||
+ | | ZSINIT | ||
+ | | ZACK | 0x03 | Y | ||
+ | | ZFILE | 0x04 | Y | ||
+ | | ZSKIP | 0x05 | - | ||
+ | | ZNAK | 0x06 | Y | ||
+ | | ZABORT | ||
+ | | ZFIN | 0x08 | Y | ||
+ | | ZRPOS | 0x09 | - | ||
+ | | ZDATA | 0x0A | Y | ||
+ | | ZEOF | 0x0B | Y | ||
+ | | ZFERROR | ||
+ | | ZCRC | 0x0D | Y | ||
+ | | ZFREECNT | 0x11 | Y | ||
+ | |||
+ | **Frame Info**: Up to 15 bytes (but typically 4) of frame type-specific information.\\ | ||
+ | Note that later claims of //16// bytes of possible frame header data include the //Frame Type// byte. | ||
**Frame Header Integrity**: | **Frame Header Integrity**: | ||
Line 108: | Line 135: | ||
The Data Subpacket Type is encoded in a single byte. | The Data Subpacket Type is encoded in a single byte. | ||
- | ^ Type ^ ZACK/ZRPOS expected ^ End-of-Frame ^ Meaning ^ | + | ^ Type ^ ZACK/ZRPOS expected ^ End-of-Frame ^ Meaning |
- | | ZCRCW | Yes (synchronous) | + | | ZCRCW | Yes (synchronous) |
- | | ZCRCE | Only errors | + | | ZCRCE | Only errors |
- | | ZCRCQ | Yes (asynchronous) | + | | ZCRCQ | Yes (asynchronous) |
- | | ZCRCG | Only errors | + | | ZCRCG | Only errors |
=== Data Subpacket Integrity === | === Data Subpacket Integrity === |