E
Etienne Labuschagne
Thanks for the responses. I will look into using PySerial for talking to
the modem as suggested by Peter. The code example I gave is probably not
the best way to do it, but it seemed to work ok (after running the
diagnostics program).
How do I "test for the modem prompt" and "confirmation after any outputs"?
Any pointers as to "the correct way" to dial a number and read the responses
from the modem (ie to see if the number was dialled, busy tone detected,
etc.).
Any help is greatly appreciated.
Etienne
-----Original Message-----
From: Dennis Lee Bieber [mailto:[email protected]]
Sent: Thursday, July 22, 2004 5:50 PM
To: (e-mail address removed)
Subject: Re: Reading responses from Modem.
Which means NO \r\n wanted...
Safest would probably be a sequence (not in Python here)
flush, sleep, write, flush, sleep
I also note that the original posted code does not seem to be
testing for the modem prompt or confirmation after any outputs.
--
the modem as suggested by Peter. The code example I gave is probably not
the best way to do it, but it seemed to work ok (after running the
diagnostics program).
How do I "test for the modem prompt" and "confirmation after any outputs"?
Any pointers as to "the correct way" to dial a number and read the responses
from the modem (ie to see if the number was dialled, busy tone detected,
etc.).
Any help is greatly appreciated.
Etienne
-----Original Message-----
From: Dennis Lee Bieber [mailto:[email protected]]
Sent: Thursday, July 22, 2004 5:50 PM
To: (e-mail address removed)
Subject: Re: Reading responses from Modem.
Note: the +++ string is typically required to have delays
with *no* data transmitted on either side of it for one
Which means NO \r\n wanted...
Safest would probably be a sequence (not in Python here)
flush, sleep, write, flush, sleep
I also note that the original posted code does not seem to be
testing for the modem prompt or confirmation after any outputs.
--