[Tutor] file transfer through serial modem -- pythin code
Hi All, I am new to python. I want to transfer files over serial modem.so can I have some sample python code or any helpful links so that I can implement it. All help will be highly appreciated. Thanks Regards, Govind Goyal Adya Systems Software Pvt. Ltd. 212, IInd Floor, Okhla Industrial Estate III, New Delhi - 110020 , India Ph: 91.11.41602431 Email ID- [EMAIL PROTECTED] Disclaimer: The information contained in this message is confidential and may be legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] file transfer through serial modem -- pythin code
You probably want to start with PySerial: http://pyserial.sourceforge.net/ But, the details really depend on the application.. what are you talking to at the other end? Do you need a general terminal program? You can probably find xmodem and zmodem libraries, but if you control both ends, rolling your own would be easy enough, just be sure to check for data corruption. Zmodem is preferred, since Xmodem can pad the end of the file with NULLs. If you are working through a modem, you will need to be familiar with the Hayes AT Command Set. Google is your friend. Answering incoming calls is harder, you need access to the modem control lines (or you can tell the modem to answer manually). This is a platform specific problem. You might start out with a null modem cable between two computers (or even the same computer, with two serial ports), just to get familiar with the system. Cheers ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor