Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PModem::Open ( const PString port,
DWORD  speed = 0,
BYTE  data = 0,
Parity  parity = DefaultParity,
BYTE  stop = 0,
FlowControl  inputFlow = DefaultFlowControl,
FlowControl  outputFlow = DefaultFlowControl 
) [virtual]

Open the modem serial channel on the specified port.

See the PSerialChannel class for more information on the parameters.

TRUE if the modem serial port was successfully opened.
portSerial port name to open.
speedSpeed of serial port.
dataNumber of data bits for serial port.
parityParity for serial port.
stopNumber of stop bits for serial port.
inputFlowInput flow control.
outputFlowOutput flow control.

Reimplemented from PSerialChannel.

Definition at line 173 of file modem.cxx.

References PSerialChannel::Open(), and Uninitialised.

Referenced by PModem().

  if (!PSerialChannel::Open(port,
                            speed, data, parity, stop, inputFlow, outputFlow))
    return FALSE;

  status = Uninitialised;
  return TRUE;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index