1

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?

2
  • 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? Commented 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. Commented Sep 19, 2012 at 7:44

1 Answer 1

1

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...

Sign up to request clarification or add additional context in comments.

2 Comments

I've seen that this package can send files over the serial port. I'll take a look at this package.
Great. Please accept this response if it's useful to you. Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.