Dialing out on MODEM (Partially Resolved)

David McInnis david at dataovation.com
Fri Jun 28 15:08:52 CEST 2002


Peter,

Thanks for the tip.  I forgot that I am on Windows and needed \r\n
rather than just \n

I get the modem to dial, now how do I get it to dial a number when the
phone is picked up.  I am dialing a pager.  When it picks up I need to
outdial a numeric message.

David McInnis

-----Original Message-----
From: python-list-admin at python.org [mailto:python-list-admin at python.org]
On Behalf Of Peter Hansen
Sent: Friday, June 28, 2002 5:50 AM
To: python-list at python.org
Subject: Re: Dialing out on MODEM

David McInnis wrote:
> 
> I need to write a small script that opens com3 and writes an ATDT to
> dial out, answer the line and send a numeric message.  Basically, I
> paging utility.
> 
> I am using pyserial and cannot seem to get my modem to dial with
> 
> Modem.write("ATDT5555555")

Is Modem an object from pyserial, or one of yours?  And does it
automatically append the \n or CR or do you have to do that yourself?

-Peter
-- 
http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list