GSM::SMS::Support::SerialPort - A proxy for platform specific serial conenction


GSM-SMS documentation  | view source Contained in the GSM-SMS distribution.

Index


NAME

Top

GSM::SMS::Support::SerialPort - A proxy for platform specific serial conenction

SYNOPSIS

Top

  use GSM::SMS::Support::SerialPort;

  my $po = GSM::SMS::Support::SerialPort->new( $port );
  $po->baudrate( 9600 );
  ...

DESCRIPTION

Top

Actually, this is a kind of a serial port factory - for the moment - as both Win32::SerialPort and Device::SerialPort have almost the same interface.

METHODS

Top

new - Return a SerialPort object

PRIVATE METHODS

Top

_create_serial_win32 - Create a Win32::SerialPort object
_create_serial_unix - Create a Device::SerialPort object

AUTHOR

Top

Johan Van den Brande <johan@vandenbrande.com>


GSM-SMS documentation  | view source Contained in the GSM-SMS distribution.