tecknophreak
06-08-2001, 10:01 AM
how can i through at commands at the modem from c/c++?
|
Click to See Complete Forum and Search --> : at commands tecknophreak 06-08-2001, 10:01 AM how can i through at commands at the modem from c/c++? Stuka 06-08-2001, 11:10 AM Write the data to the serial port (/dev/ttyS?) that the modem is attached to. Should work. Strike 06-08-2001, 11:33 AM The man page for termios(3) has a bunch of the ways to set the attributes of the device (handled as a file descriptor returned by open(2) on the device). Then once that is all done, it's a matter of just using read(2) and write(2) to send data on the device. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |