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.
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.
You have 2 issues:
Serial port acces from Java: Use RxTx Java library http://rxtx.qbang.org/wiki/index.php/Main_Page
Y-Modem Protocol implementation: See this related post Implementation of X-modem protocol in Java