Device::Modem 1.47
Sponsored Links
Device::Modem 1.47 Ranking & Summary
File size:
0.046 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
951
Date added:
2007-04-17
Publisher:
Cosimo Streppone
Device::Modem 1.47 description
Device::Modem is a Perl extension created to talk to modem devices connected via serial port.
WARNING
This is BETA software, so use it at your own risk, and without ANY warranty! Have fun.
SYNOPSIS
use Device::Modem;
my $modem = new Device::Modem( port => /dev/ttyS1 );
if( $modem->connect( baudrate => 9600 ) ) {
print "connected!n";
} else {
print "sorry, no connection with serial port!n";
}
$modem->attention(); # send `attention sequence (+++)
($ok, $answer) = $modem->dial(02270469012); # dial phone number
$ok = $modem->dial(3); # 1-digit parameter = dial number stored in memory 3
$modem->echo(1); # enable local echo (0 to disable)
$modem->offhook(); # Take off hook (ready to dial)
$modem->hangup(); # returns modem answer
$modem->is_active(); # Tests whether modem device is active or not
# So far it works for modem OFF/ modem ON condition
$modem->reset(); # hangup + attention + restore setting 0 (Z0)
$modem->restore_factory_settings(); # Handle with care!
$modem->restore_factory_settings(1); # Same with preset profile 1 (can be 0 or 1)
$modem->send_init_string(); # Send initialization string
# Now this is fixed to AT H0 Z S7=45 S0=0 Q0 V1 E0 &C0 X4
# Get/Set value of S1 register
my $S1 = $modem->S_register(1);
my $S1 = $modem->S_register(1, 55); # Dont do that if you definitely dont know!
# Get status of managed signals (CTS, DSR, RLSD, RING)
my %signal = $modem->status();
if( $signal{DSR} ) { print "Data Set Ready signal active!n"; }
# Stores this number in modem memory number 3
$modem->store_number(3, 01005552817);
$modem->repeat(); # Repeat last command
$modem->verbose(1); # Normal text responses (0=numeric codes)
# Some raw AT commands
$modem->atsend( ATH0 );
print $modem->answer();
$modem->atsend( ATDT01234567 . Device::Modem::CR );
print $modem->answer();
Device::Modem class implements basic AT (Hayes) compliant device abstraction. It can be inherited by sub classes (as Device::Gsm), which are based on serial connections.
WARNING
This is BETA software, so use it at your own risk, and without ANY warranty! Have fun.
SYNOPSIS
use Device::Modem;
my $modem = new Device::Modem( port => /dev/ttyS1 );
if( $modem->connect( baudrate => 9600 ) ) {
print "connected!n";
} else {
print "sorry, no connection with serial port!n";
}
$modem->attention(); # send `attention sequence (+++)
($ok, $answer) = $modem->dial(02270469012); # dial phone number
$ok = $modem->dial(3); # 1-digit parameter = dial number stored in memory 3
$modem->echo(1); # enable local echo (0 to disable)
$modem->offhook(); # Take off hook (ready to dial)
$modem->hangup(); # returns modem answer
$modem->is_active(); # Tests whether modem device is active or not
# So far it works for modem OFF/ modem ON condition
$modem->reset(); # hangup + attention + restore setting 0 (Z0)
$modem->restore_factory_settings(); # Handle with care!
$modem->restore_factory_settings(1); # Same with preset profile 1 (can be 0 or 1)
$modem->send_init_string(); # Send initialization string
# Now this is fixed to AT H0 Z S7=45 S0=0 Q0 V1 E0 &C0 X4
# Get/Set value of S1 register
my $S1 = $modem->S_register(1);
my $S1 = $modem->S_register(1, 55); # Dont do that if you definitely dont know!
# Get status of managed signals (CTS, DSR, RLSD, RING)
my %signal = $modem->status();
if( $signal{DSR} ) { print "Data Set Ready signal active!n"; }
# Stores this number in modem memory number 3
$modem->store_number(3, 01005552817);
$modem->repeat(); # Repeat last command
$modem->verbose(1); # Normal text responses (0=numeric codes)
# Some raw AT commands
$modem->atsend( ATH0 );
print $modem->answer();
$modem->atsend( ATDT01234567 . Device::Modem::CR );
print $modem->answer();
Device::Modem class implements basic AT (Hayes) compliant device abstraction. It can be inherited by sub classes (as Device::Gsm), which are based on serial connections.
Device::Modem 1.47 Screenshot
Device::Modem 1.47 Keywords
Modem 1.47
To talk to
serial port
to talk
talk to
perl extension
modem
1
serial
port
number
0
Device::Modem
DeviceModem
Device::Modem 1.47
Libraries
Bookmark Device::Modem 1.47
Device::Modem 1.47 Copyright
WareSeeker periodically updates pricing and software information of Device::Modem 1.47 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Device::Modem 1.47 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
how to talk to girls
how to talk to women
town talk
talk to santa
to talk to you lyrics
talk to tom felton
how to talk to guys
talk to her
talk to emma watson
how to talk dirty to a guy
rs232 serial port
to talk to you pj harvey
To Talk To Talk
to talk to you
how to talk dirty
how to talk to people
someone to talk to
to talk to the dead
Related Software
Device::Gsm is a Perl extension to interface GSM phones / modems. Free Download
servicemon is a simple service monitoring application written in Python. Free Download
Device::SNP is a Perl extension for the GE Fanuc SNP-X serial protocol as used by GE Fanuc DataPanel data terminals. Free Download
Device::Serdisp is a Perl extension for talking to the serdisplib. Free Download
COMSERV is a program that allows you to talk to a network terminal server such as a Xyplex MAXserver 1600. Free Download
Cwdaemon is a small daemon which uses the pc parallel or serial port and a simple transistor switch to output morse code. Free Download
CuteCom is a graphical serial terminal, like minicom. Free Download
UDP-Bridge is a transparent proxy for UDP traffic, designed for use with Linux 2.2.x kernels. Free Download
Latest Software
Popular Software
Favourite Software