74 Parity parity = DefaultParity,
76 FlowControl inputFlow = DefaultFlowControl,
77 FlowControl outputFlow = DefaultFlowControl
88 #endif // P_CONFIG_FILE
109 Parity parity = DefaultParity,
111 FlowControl inputFlow = DefaultFlowControl,
112 FlowControl outputFlow = DefaultFlowControl
131 #endif // P_CONFIG_FILE
181 void SetDeinitString(
193 PString GetDeinitString()
const;
220 void SetPreDialString(
232 PString GetPreDialString()
const;
242 void SetPostDialString(
254 PString GetPostDialString()
const;
288 void SetNoCarrierString(
300 PString GetNoCarrierString()
const;
311 void SetConnectString(
323 PString GetConnectString()
const;
354 void SetHangUpString(
366 PString GetHangUpString()
const;
444 Status GetStatus()
const;
449 PString initCmd, deinitCmd, preDialCmd, postDialCmd,
450 busyReply, noCarrierReply, connectReply, hangUpCmd;
460 #endif // PTLIB_MODEM_H
#define PCLASSINFO(cls, par)
Declare all the standard PTLib class information.
Definition: object.h:2164
virtual void SaveSettings(PConfig &cfg)
Save the current port settings into the configuration file.
virtual PBoolean Open(const PString &port, DWORD speed=0, BYTE data=0, Parity parity=DefaultParity, BYTE stop=0, FlowControl inputFlow=DefaultFlowControl, FlowControl outputFlow=DefaultFlowControl)
Open a serial channal.
A class representing a configuration for the application.
Definition: config.h:62
This class defines an I/O channel that communicates via a serial port.
Definition: serchan.h:53
bool PBoolean
Definition: object.h:174
The character string class.
Definition: pstring.h:108
PBoolean Close()
Close the channel, shutting down the link to the data source.