📄 classpmodem.html
字号:
<td><p>The modem is in a state that allows the hang up to start.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if the <A><a class="el" href="classPModem.html#a30">HangUp()</a> function may proceeed. </dl> </td> </tr></table><a name="a9" doxytag="PModem::CanInitialise"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> BOOL PModem::CanInitialise </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>The modem is in a state that allows the initialise to start.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if the <A><a class="el" href="classPModem.html#a10">Initialise()</a> function may proceeed. </dl> </td> </tr></table><a name="a34" doxytag="PModem::CanRead"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> BOOL PModem::CanRead </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>The modem is in a state that allows the user application to read from the channel. Reading while this is TRUE can interfere with the operation of the meta-string processing. This function is only usefull when multi-threading is used.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if <A><a class="el" href="classPChannel.html#z49_2">Read()</a> operations are "safe". </dl> </td> </tr></table><a name="a31" doxytag="PModem::CanSendUser"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> BOOL PModem::CanSendUser </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>The modem is in a state that allows the user command to start.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if the <A><a class="el" href="classPModem.html#a32">SendUser()</a> function may proceeed. </dl> </td> </tr></table><a name="a3" doxytag="PModem::Close"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual BOOL PModem::Close </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Close the channel, shutting down the link to the data source.<p><dl compact><dt><b>Returns: </b></dt><dd>TRUE if the channel successfully closed. </dl><p>Reimplemented from <a class="el" href="classPSerialChannel.html#a0">PSerialChannel</a>. </td> </tr></table><a name="a14" doxytag="PModem::Deinitialise"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> BOOL PModem::Deinitialise </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Send the de-initialisation meta-command string to the modem. The return value indicates that the conditions for the operation to start were met, ie the serial port was open etc and the command was successfully sent with all replies met.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if command string sent successfully and the objects state has changed. </dl> </td> </tr></table><a name="a26" doxytag="PModem::Dial"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> BOOL PModem::Dial </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>number</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Send the dial meta-command strings to the modem. The return value indicates that the conditions for the operation to start were met, ie the serial port was open etc and the command was successfully sent with all replies met.<p>The string sent to the modem is the concatenation of the pre-dial string, a <code>\s</code>, the <code>number</code> parameter and the post-dial string.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if command string sent successfully and the objects state has changed. </dl> </td> </tr></table><a name="a20" doxytag="PModem::GetBusyString"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classPString.html">PString</a> PModem::GetBusyString </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get the modem busy response meta-command string.<p>See the <A><a class="el" href="classPChannel.html#z53_4">PChannel::SendCommandString()</a> function for more information on the format of the command string.<p><dl compact><dt><b>Returns: </b></dt><dd> string for busy response command. </dl> </td> </tr></table><a name="a24" doxytag="PModem::GetConnectString"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classPString.html">PString</a> PModem::GetConnectString </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get the modem connect response meta-command string.<p>See the <A><a class="el" href="classPChannel.html#z53_4">PChannel::SendCommandString()</a> function for more information on the format of the command string.<p><dl compact><dt><b>Returns: </b></dt><dd> string for connect response command. </dl> </td> </tr></table><a name="a12" doxytag="PModem::GetDeinitString"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classPString.html">PString</a> PModem::GetDeinitString </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get the modem de-initialisation meta-command string.<p>See the <A><a class="el" href="classPChannel.html#z53_4">PChannel::SendCommandString()</a> function for more information on the format of the command string.<p><dl compact><dt><b>Returns: </b></dt><dd> string for de-initialisation command. </dl> </td> </tr></table><a name="a28" doxytag="PModem::GetHangUpString"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classPString.html">PString</a> PModem::GetHangUpString </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get the modem hang up meta-command string.<p>See the <A><a class="el" href="classPChannel.html#z53_4">PChannel::SendCommandString()</a> function for more information on the format of the command string.<p><dl compact><dt><b>Returns: </b></dt><dd> string for hang up command. </dl> </td> </tr></table><a name="a8" doxytag="PModem::GetInitString"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classPString.html">PString</a> PModem::GetInitString </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get the modem initialisation meta-command string.<p>See the <A><a class="el" href="classPChannel.html#z53_4">PChannel::SendCommandString()</a> function for more information on the format of the command string.<p><dl compact><dt><b>Returns: </b></dt><dd> string for initialisation command. </dl> </td> </tr></table><a name="a22" doxytag="PModem::GetNoCarrierString"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classPString.html">PString</a> PModem::GetNoCarrierString </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get the modem no carrier response meta-command string.<p>See the <A><a class="el" href="classPChannel.html#z53_4">PChannel::SendCommandString()</a> function for more information on the format of the command string.<p><dl compact><dt><b>Returns: </b></dt><dd> string for no carrier response command. </dl> </td> </tr></table><a name="a18" doxytag="PModem::GetPostDialString"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -