Using java to implement XMODEM protocol

1. Introduction

XMODEM is an asynchronous file transfer protocol widely used in serial communication, It is divided into XMODEM (using 128 byte data blocks) and 1K XMODEM (using 1024 bytes, i.e. 1K bytes of data blocks) two kinds of protocols. This paper implements the XMODEM protocol of 128 bytes of data blocks and uses CRC16 verification. When applied in the project, the sender and receiver can modify the protocols of both sides according to the specific situation. If you don't know much about serial communication, you can see this blog I wrote and use java to realize serial communication.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>