zmodem2 0.1.4

ZMODEM file transfer protocol
Documentation

ZMODEM file transfer protocol crate. zmodem2::receive and zmodem2::send provide a synchronous and sequential API for sending and receiving files with the ZMODEM protocol. Each step corresponds to a single ZMODEM frame transaction, and the state between the calls is kept in a zmodem2::State instance.

The usage can be described in the high-level with the following flow:

  1. Create zmodem2::State.
  2. Call either zmodem2::send or zmodem2::receive.
  3. If the returned zmodem2::Stage is not yet zmodem2::Stage::Done, go back to step 2.