Skip to content

Commit

Permalink
Xmodem packet format description as comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ferenc-nemeth committed Jun 1, 2019
1 parent 5059d40 commit 51068be
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Inc/xmodem.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
#include "stdbool.h"

/* Xmodem (128 bytes) packet format
* Byte 0: Header
* Byte 1: Packet number
* Byte 2: Packet number complement
* Byte 3-130: Data
* Byte 0: Header
* Byte 1: Packet number
* Byte 2: Packet number complement
* Bytes 3-130: Data
* Bytes 131-132: CRC
*/

/* Xmodem (1024 bytes) packet format
* Byte 0: Header
* Byte 1: Packet number
* Byte 2: Packet number complement
* Byte 0: Header
* Byte 1: Packet number
* Byte 2: Packet number complement
* Bytes 3-1026: Data
* Bytes 1027-1028: CRC
*/
Expand Down

0 comments on commit 51068be

Please sign in to comment.