简体   繁体   中英

Implementation of Y-modem protocol in Java

I want to send a file via serial port and I have to use the Y-modem protocol in Java. I saw the protocol and it looks difficult for me to write it in Java. Any Idea how can I get it easier?

Thank you for the help.

serialio offers a commercial product..

http://serialio.com/products/jxmodem.php

You have 2 issues:

  1. Serial port acces from Java: Use RxTx Java library http://rxtx.qbang.org/wiki/index.php/Main_Page

  2. Y-Modem Protocol implementation: See this related post Implementation of X-modem protocol in Java

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM