in reply to how can I send AT command
use Device::Modem; my $modem = new Device::Modem( port => '/dev/ttyS1' ); die "Sorry, no connection with serial port!\n" unless $modem->connect( baudrate => 9600 ); $modem->atsend( 'ATD' ); print $modem->answer();
cheers
tachyon
|
|---|