Skip to content

JuliaSzymanska/Xmodem

Repository files navigation

XModem Protocol

Breaks up the original data into blocks that are sent to the receiver, along with information allowing to determine whether that packet was correctly received(checksum, block number, completing the block number). If an error is detected, the receiver requests that the packet be re-sent.

Transmitter sends:

  • SOH
  • Block number, completing the block number
  • Block of data
  • Checksum
  • ACK
  • EOT

Receiver:

  • Sends NAK to initiate transmission
  • Receive data
  • Check received data (calculate checksum)
  • If received data is correct sends ACK
  • After receiving EOT sends ACK to end transmission

Checksum:

  • Algebraic
  • CRC

Instalation

pip install pyserial crc16

Usage

GUI

  • Transmitter:

  • Receiver:

License

Apache License 2.0

Releases

No releases published

Packages

No packages published

Languages