Sombrerero_loco has asked for the wisdom of the Perl Monks concerning the following question:
Where it says '/dev/ttyS1' i need to put a $variable, but it doesnt read the variable, :( Any workaround or i should mess with the AT commands ? thanks!use Device::Gsm; my $gsm = new Device::Gsm( port => '/dev/ttyS1', pin => 'xxxx' ); if( $gsm->connect() ) { print "connected!\n"; } else { print "sorry, no connection with gsm phone on serial port!\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Any idea how to pass a variable there ?
by davido (Cardinal) on Jun 25, 2013 at 16:09 UTC | |
|
Re: Any idea how to pass a variable there ?
by LanX (Saint) on Jun 25, 2013 at 16:08 UTC |