0

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.

Paŭlo Ebermann
  • 71,139
  • 18
  • 140
  • 206
James
  • 1
  • 1

2 Answers2

0

serialio offers a commercial product..

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

Brandon Frohbieter
  • 16,827
  • 3
  • 36
  • 61
0

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

Community
  • 1
  • 1
Daniel Voina
  • 2,935
  • 28
  • 30