Addressing a COM port from Python

D

Doru-Catalin Togea

Hi!

I am writing some tests and I need to place calls through the modem. Is
there an API for addressing the COM ports on my machine, so that I can
issue AT-commands to the modem?

If this can not be done from Python, I am sure it can be done from
C/C++/Java. Any tutorials/examples that you know of? Maybe calling C from
Python?

I am working on Win XP Pro, with Activestate Python 2.4.

Thanks,
Catalin

--

<<<< ================================== >>>>
<< We are what we repeatedly do. >>
<< Excellence, therefore, is not an act >>
<< but a habit. >>
<<<< ================================== >>>>
 
M

Miki Tebeka

Hello Catalin,
I am writing some tests and I need to place calls through the modem. Is
there an API for addressing the COM ports on my machine, so that I can
issue AT-commands to the modem?

If this can not be done from Python, I am sure it can be done from
C/C++/Java. Any tutorials/examples that you know of? Maybe calling C
from Python?

I am working on Win XP Pro, with Activestate Python 2.4.
http://pyserial.sourceforge.net/

HTH,
Miki
 
F

Fredrik Lundh

Doru-Catalin Togea said:
I am writing some tests and I need to place calls through the modem. Is
there an API for addressing the COM ports on my machine, so that I can
issue AT-commands to the modem?

If this can not be done from Python, I am sure it can be done from
C/C++/Java. Any tutorials/examples that you know of? Maybe calling C from
Python?

http://pyserial.sourceforge.net/

</F>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,260
Messages
2,571,038
Members
48,768
Latest member
first4landlord

Latest Threads

Top