xmodem java_Xmodem XMODEM协议是一种串口通信中广泛用到的异步文件传输协议 联合开发网 - pudn.com...

Xmodem

所属分类:串口编程

开发工具:Java

文件大小:3KB

下载次数:6

上传日期:2017-11-02 21:50:52

上 传 者:雄霸天下19

说明:  XMODEM协议是一种串口通信中广泛用到的异步文件传输协议。分为标准Xmodem和1k-Xmodem两种,前者以128字节块的形式传输数据,后者字节块为1k即1024字节,并且每个块都使用一个校验和过程来进行错误检测。在校验过程中如果接收方关于一个块的校验和与它在发送方的校验和相同时,接收方就向发送方发送一个确认字节(ACK)。由于Xmodem需要对每个块都进行认可,这将导致性能有所下降,特别是延时比较长的场合,这种协议显得效率更低。

(XMODEM protocol is a widely used serial communication in the asynchronous file transfer protocol. Divided into standard Xmodem and 1k-Xmodem two, the data of 128 byte blocks, the blocks of bytes for 1K is 1024 bytes, and each block with a checksum and the process for error detection in the verification process. If the receiver is about a block and check with it at the sender's check and at the same time, the receiver to the sender sends a confirmation byte (ACK). Because the Xmodem needs are recognized for each block, which will lead to the decline in performance, especially the long delay situations, this agreement is less efficient.

In addition to Xmodem, and Ymodem, Zmodem protocol. Their agreement is similar to Xmodem, the difference is that Ymodem allows batch file transmission, high efficiency; Zmodem is improved by Xmodem, it only needs to damage other block retransmission, the correct block does not need to send a confirmation byte. Reduces the amount of communication.)

文件列表:[举报垃圾]

Xmodem

Xmodem\CRC16.cs

Xmodem\Xmodem.cs

Xmodem\用法.txt

近期下载者:

相关文件:

收藏者:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值