Bo M. Maryniuck
b.maryniuk at forbis.lt
Fri Sep 6 11:08:25 EDT 2002
Is anybody know how to check modem status from the Python on Linux?
I need something like send 'ATZ' and get "OK" or something.
I've tried do somethig like:
modem = open('/dev/ttyS0', 'r+')
modem.read() # Hang here forewer
This is bad. Then I've tried use several modules for serial port, wheere I can
write, but if I read, always get ''.
Perhaps I should figure out with DTR status and so on.... Any ideas?
Anybody who doesn't cut his speed at the sight of a police car is
More information about the Python-list