Skip to main content

Module xmodem

Module xmodem 

Source
Expand description

XMODEM (checksum, CRC and 1K) and YMODEM (batch, and the streaming YMODEM-G) file transfers, for the BBSes and doors that offer them.

Like ZMODEM in crate::transfer, each side is a state machine fed the bytes from the remote, appending what it wants sent. Neither protocol announces itself, so the user starts them: a download asks the sender to begin (with ‘C’, NAK or ‘G’), an upload waits for the receiver to.

Structs§

XyReceive
Receiving files.
XySend
Sending files.

Enums§

XyProtocol

Functions§

crc16
CRC-16/XMODEM: polynomial 0x1021, starting at 0.