⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hayes.txt

📁 使用efax的fax工具程序
💻 TXT
📖 第 1 页 / 共 5 页
字号:
     4       bit 50      76800     8       bit 51      8160016:  1       bit 52      86400     2       bit 53      91200     4       bit 54      96000     8       bit 55      10080017:  1       bit 56      105600     2       bit 57      110400     4       bit 58      115200     8       bit 59      reserved ("0")------------------------------------------------------------------------W - Negotiation Progress Message SelectionThe W command works in conjunction with S95 (where supported) to determine which result codes will be used to describe the type of connection and protocol, etc., that resulted from handshaking and negotiation. The W command supports extended result codes in addition to the CONNECT result code. When the modem is operated in error-control mode (&Q5 is in effect), the W command and S95 together allow the user to select these additional result codes:CARRIERPROTOCOLAUTOSTREAMCOMPRESSIONCONNECTAny result codes enabled by the W command and S95 will be generated in the order indicated above. If AutoStream is not being used, no AUTOSTREAM result code is returned. Result codes not enabled when the W command option is in effect may be turned on by setting certain bits in S95. The W command options below are available when S95 is configured for any setting other than the factory-setting of 0.------------------------------------------------------------------------W0     CONNECT result code reports DTE speed, and if S95=0, then disable       all extended result codes.W1     CONNECT result code reports DTE speed, and if S95=0, then enable       the CARRIER and PROTOCOL extended result codes.W2     CONNECT result code reports DCE speed, and if S95=0, then disable       all extended result codes.------------------------------------------------------------------------Refer to the S95 bit map description in the next section. Note that selecting W0 and setting S95=12 is the same as selecting W1; and that selecting W0 and setting S95=1 is the same as selecting W2. S95 cannot be configured to force W2 to report DTE speed in the CONNECT result code; there is no setting of S95 that will force W1 not to produce the CARRIER and PROTOCOL result codes. S95 extends the functionality of the W command. The W command with S95=0 (factory setting) maintains backwards compatibility with previous Hayes Products. However, selecting W0 and setting S95 as required allows you to tailor result code characteristics to your own requirements.------------------------------------------------------------------------Z - Soft Reset CommandThe modem can be reset by issuing the Z command. The command tells the modem to go on hook and restore the selected stored profile. Any non-storable parameters previously set by commands are returned to their factory settings. The modem aborts execution of all commands following the Z command on the same command line. Subsequent commands on the same line are ignored. Refer to the &W command for description of which modem parameters are included in a stored profile. Z0 recalls stored user profile 0, stored with &W0; Z1 recalls stored user profile 1, stored with &W1.------------------------------------------------------------------------Z0     Recall stored profile 0Z1     Recall stored profile 1------------------------------------------------------------------------&T19 - Perform RTS/CTS Cable TestSoftware can use &T19 to help determine whether the DTE-to-Modem cable supports the RTS and CTS signals necessary for hardware flow control, which is selected by the &K3 command.&T19 in the modem works interactively with the DTE to confirm the RTS and CTS signal. Only the DTE can detect CTS, and only the modem can detect RTS. The modem cannot verify both signals without the active involvement of the DTE software.The modem performs the following algorithm in response to the AT&T19<CR> command:1.  Turns OFF CTS (normally ON).2.  Starts a 500 millisecond timer.3.  Monitors RTS for ON and OFF states.4.  If both states of RTS are detected before the 500ms timer     expires then:      a. Restore CTS to the ON state.      b. End the test (stop the timer).      c. Return the OK result code (meaning the modem has       verified RTS).5.  If the timer expires before both states of RTS are detected then:      a. Restore CTS to the ON state.      b. Return the ERROR result code (meaning the modem has not       verified RTS).Note: By itself, the modem cannot verify either signal. The DTE must toggle RTS during the test in order for the modem to be able to detect a change. Also, the DTE should look for CTS to drop during the test to verify it is connected.The following algorithm is used by Hayes Smartcom software in its use of the &T19 test:1.  Issue AT&T19 <CR>Note: For more predictable timing, do not combine other commands on the same command line with &T19. Also, higher DTE port speeds improve the timing resolution.2.  Wait 500ms for CTS to drop. If CTS does not drop in that time, then the test fails.3.  If CTS drop is detected, then:      a. Drop RTS, wait 50ms, raise RTS, wait 50ms, repeat up to 6       times, or until CTS is  detected high.      b. If CTS is detected returning high before 6 iterations, then the      test is passing (and an OK result code may be expected soon), or       if all 6 iterations did not result in CTS being raised, then the       RTS part of the test is failing (and an ERROR result code may be       expected after the 500ms timer expires).4.  Process the result code from the modem. Success during Step 3 above     and an OK result code implies that RTS and CTS are both wired     correctly. Failure during Step 3 or an ERROR result code implies     that either RTS or CTS is not wired in the cable.Note: Keep in mind that the result code may arrive while you are still in Steps 2 and 3 above.A modification to the software algorithm could be made to permit software to detect which signal is missing from the cable. After issuing the AT&T19 <CR> command, give the modem about 100ms to drop CTS. Then, even if the CTS drop is not detected, proceed to toggle RTS anyway, keeping in mind that the CTS part of the test has failed.RTS/CTS flow control is preferred because it is "out of band", that is, it does not consume any of the 256 serial codes from the user data. XON/XOFF flow control uses DC1 (ASCII 17) and DC3 (ASCII 19). If RTS/CTS is not supported, then Transparent Flow Control (&K5) is the next best option (IF the software supports it) because it accomplishes Xon/Xoff flow control without interfering with the user data (e.g. during binary file transfers).************************************************************************1.2     Result Code ListingThis section defines the result codes returned by Hayes modems in response to commands.The table below shows the various formats in which modem responses can be presented. Note that the "text" of the info-text may consist of multiple lines of text. The formats depicted here only refer to the <CR><LF> characters between info-texts and not within them.------------------------------------------------------------------------                  V0            V1Information Text  text          <CR><LF>                  <CR><LF>      text                                <CR><LF>Result Codes      numeric code  <CR><LF>                  <CR>          verbose code                                <CR><LF>------------------------------------------------------------------------++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++1.2.1     Command Response and Call Progress MonitoringThis set of result codes includes responses to commands and call progress monitoring responses. They are available to all modems within the capabilities of the modem. For example, the result code CONNECT 9600 is not available to Smartmodem 2400. The factory setting for all high-speed modems enables the extended set of call progress monitoring (X4). When set up in this way, the modem performs and reports full call progress monitoring (RING, NO CARRIER, NO DIALTONE, and BUSY). It also indicates the speed of the connection (CONNECT 1200 as opposed to simply CONNECT). The factory setting for Smartmodem 300, Smartmodem 1200, and all others whose highest speed is 1200 bps is basic call progress monitoring (X0).The command response and call progress monitoring result codes are defined below:0 - OKThis result code indicates that a command or command string was executed. Note that if more than one command were included on a line and an ERROR result code received, this means that one or more of the commands was not processed. If one or more were executed properly, but even one was invalid, no OK will be issued, only the ERROR.1 - CONNECTThis result code indicates a connection was made between the DTE and the modem. If X4 (extended set of call progress monitoring) were selected, the code indicates that a connection from at 0 to 300 bps was made. However, if X0 (basic set of call progress monitoring) were selected, the connection could be 0-300, 1200, 1200/75, 75/1200, 2400, 4800, 7200, 9600, 14400, 19200, or 38400 bps. If the modem is not operating in error-control or ASB mode, this is the same as the line speed. See other CONNECT messages and CARRIER messages.2 - RINGThis result code indicates the modem has detected a ring signal. No distinction can be made as to whether this is a voice call, a modem call, a fax call, or other type.3 - NO CARRIERThis result code indicates that no carrier signal was detected, or that the signal was lost. This is the response the modem will give when no connection is made; see CONNECT result code. The modem will also return this message when the connection is broken, either intentionally as when the hangup process completes, or if line difficulties break the connection.4 - ERRORThis result code indicates that an invalid command was issued, or that there was an error in the command line. For example, if the command line exceeds the character limit for your modem, this result code will be returned. See your user documentation to determine the character limit for your modem. This result code is also returned in response to the I1 command requesting a ROM checksum, if the modem detects an error in the computation.5 - CONNECT 1200This result code indicates a connection has been established at 1200, 1200/75 or 75/1200 bps between the modem and the DTE. If the modem is not operating in error-control mode, this is the same as the line speed. This result code is disabled by X0. Only CONNECT is reported.6 - NO DIALTONEThis result code indicates that no dial tone was detected when the modem went off hook. Dial tone detection and this result code are enabled by X2 or X4, or the W dial modifier.7 - BUSYThis result code indicates that the modem detected a busy signal when it attempted to connect with the modem at the number dialed. Busy signal detection and this result code are enabled by X3 or X4.8 - NO ANSWERThis result code indicates no silence was detected when dialing a system not providing a dial tone. Enabled by the @ dial modifier.10 - CONNECT 2400This result code indicates a connection has been established at 2400 bps between the modem and the DTE. If the modem is not operating in error-control mode, this is the same as the line speed. This result code is disabled by X0. Only CONNECT is reported.11 - CONNECT 4800This result code indicates a connection has been established at 4800 bps between the modem and the DTE. This result code is disabled by X0.12 - CONNECT 9600This result code indicates a connection has been established at 9600 bps between the modem and the DTE. This result code is disabled by X0.13 - CONNECT 14400This result code indicates a connection has been established at 14400 bps between the modem and the DTE. This result code is disabled by X0.14 - CONNECT 19200This result code indicates a connection has been established at 19200 bps between the modem and the DTE. This result code is disabled by X0.22 - CONNECT 1200/75This result code indicates a connection has been established at 1200 bps when transmitting data and 75 bps when receiving data between the modem and the DTE.23 - CONNECT 75/1200This result code indicates a connection has been established at 75 bps when transmitting data and 1200 bps when receiving data between the modem and the DTE.24 - CONNECT 7200This result code indicates a connection has been established at 7200 bps between the modem and the DTE. This result code is disabled by X0.25 - CONNECT 12000This result code indicates a connection has been established at 12000 bps between the modem and the DTE. This result code is disabled by X0.28 - CONNECT 38400This result code indicates a connection has been established at 38400 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -