Dialing out on MODEM

Peter Hansen peter at engcorp.com
Fri Jun 28 14:49:41 CEST 2002


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



More information about the Python-list mailing list