in reply to Re: Module to talk to modem? in thread Module to talk to modem?
Just a note from an old BBS'er. For any platform if you want to interact directly with a modem using its serial port and AT commands the modem has to have a hardware interface. "WinModems" or software driven modems as are common these days won't let you talk to them directly as a serial port. (e.g. from a dos prompt you couldn't do 'echo ATA > COM1' to make it pickup the phone) Anyone feel free to correct me if I'm way off on this -- its been many years since I coded with a modem.
Re^3: Module to talk to modem?
by jepri (Parson) on Jul 08, 2004 at 04:31 UTC
|
I have a recollection of some Linux drivers for winmodems going to the effort of faking a Hayes command set within the driver, and then faking a ttyS device so it would look exactly like a normal modem.
That's making the big assumption that he uses Linux. Under windows you probably have to call some silly "get_win_handle_for_serial_devices_no_not those_,_the_other_ones()". That's just a guess, of course.
| [reply] |
|