I've made a program for communicate two devices through serial port with pyserial. I want to send and receive several files through the serial link. I've looked that this is possible to do with xmodem or kermit. Are there any way to do this without kermit/xmodem directly with python?
-
I agree with pr0gged. You should definitely not be shy to use a library to handle this kind of task unless you specifically want to implement it yourself for whatever reasons. Why do you want do it directly in Python?Morten Jensen– Morten Jensen2012-09-18 12:58:57 +00:00Commented Sep 18, 2012 at 12:58
-
I don't want to do this directly with Python. I wanted to know if this is possibly with Python. I'll try with xmodem.dseira– dseira2012-09-19 07:44:35 +00:00Commented Sep 19, 2012 at 7:44
Add a comment
|
1 Answer
Have you tried the xmodem package?
Otherwise you should implement a (simpler) checksum protocol on your own.
My opinion is that using some standards could enable you to better integrate with other (external) software, one day...