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

📄 class2.txt

📁 使用efax的fax工具程序
💻 TXT
📖 第 1 页 / 共 4 页
字号:
|      54  |  No response to EOP repeated 3 times            ||      55  |  Invalid response to EOM                        ||      56  |  No response to EOM repeated 3 times            ||      57  |  Invalid response to EOM                        ||      58  |  Unable to continue after PIN or PIP            ||----------|-------------------------------------------------||   70-89  |  RECEIVE PHASE B HANGUP CODES                   ||----------|-------------------------------------------------||      70  |  Unspecified Receive Phase B error              ||      71  |  RSPREC error                                   | |      72  |  COMREC error                                   ||      73  |  T.30 T2 timeout, expected page not received    ||      74  |  T.30 T1 timeout after EOM received             ||----------|-------------------------------------------------||   90-99  |  RECEIVE PHASE C HANGUP CODES                   ||----------|-------------------------------------------------||      90  |  Unspecified Receive Phase C error              ||      91  |  Missing EOL after 5 seconds                    ||      92  |  Unused code                                    ||      93  |  DCE to DTE buffer overflow                     ||      94  |  Bad CRC or frame (ECM or BFT modes)            ||----------|-------------------------------------------------|| 100-119  |  RECEIVE PHASE D HANGUP CODES                   ||----------|-------------------------------------------------||     100  |  Unspecified Receive Phase D errors             ||     101  |  RSPREC invalid response received               ||     102  |  COMREC invalid response received               ||     103  |  Unable to continue after PIN or PIP            ||----------|-------------------------------------------------|| 120-255  |  RESERVED CODES                                 ||------------------------------------------------------------|7.5  SERVICE CLASS 2 PARAMETERSAll Service Class 2 parameters can be read, written, and tested for range of legal values by the DCE.  The general syntax is described in Section 7.1.Group 3 FAX devices negotiate session parameters in DIS, DCS, and DTC frames.  The following parameters are provided to condition the facsimile DCE for the capabilities it will offer and to report the session settings negotiated.The three primary T.30 session parameters are +FDCC, +FDIS and +FDCS.  They are compound parameters, using values listed in Table 7-2.  Figure 70-1 illustrates their relationships.7.5.1  +FDCC, DCE CAPABILITIES PARAMETERSWrite Syntax:   +FDCC:VR,BR,WD,LN,DF,EC,BF,STValid values    See Table 7-2Default values  0,3,0,2,0,0,0,0  (RC96AC)                0,5,0,2,0,0,0,0  (RC144AC)+FDCC allows the DTE to sense and constrain the capabilities of the facsimile DCE from the choices defined in CCITT t.30 Table 2.  When +FDCC is modified by the DTE, the DCE copies +FDCC into +FDIS.7.5.2  +FDIS, CURRENT SESSIONS CAPABILIIES PARAMETERSWrite Syntax:   +FDIS:VR,BR,WD,LN,DF,EC,BF,STValid values    See Table 7-2Default values  0,3,0,2,0,0,0,0  (RC96AC)                0,5,0,2,0,0,0,0  (RC144AC)The +FDIS parameter allows the DTE to sense and constrain the capabilities used for the current session.  The DCE uses +FDIS to generate DIS or DTC messages directly, and uses +FDIS and received DIS messages to generate DCS messages.The DCE initializes the +FDIS parameter from the +FDCC parameter on initialization, when +FDCC is written, and at the end of a session.7.5.4  +FLID=, LOCAL ID STRINGWrite Syntax   +FLID="<local ID string>"Valid values:   20 character ASCII stringDefault value:  EmptyIf FLID is not a null string, it generates a TSI or CSI frame.  Table 3/T.30 includes digits 0-9, "+" and space.If the DCE supports use of Table 3/t.30 only, the response to a +FLID=? command is "<20)(32, 43, 48-57)".  If the DCE supports printable ASCII <, the response is "(20)(32-127)<CRLF>"  The first "(20)" represents string length: the second (character values) field reports supported string values.Notes:  1.  The string is saved in RAM.        2.  Non-numeric characters are not filtered out.7.5.5  +FCR, CAPABILITY TO RECEIVEWrite Syntax:  +FCR=<value>Valid values:  1,0Default values 0+FCR=0 indicates that the DCE will not receive message data.  This can be sued when the DTE has insufficient storage.  The DCE can send and can be polled for a file.+FCR is sampled in CCITT T.30 Phase A and Phase D7.5.6  +FPTS=, PAGE TRANSFER STATUSWrite syntax:   +FPTS=<ppr>Valid Values:   1,2,3,4,5Default value:  07.5.7  +FCQ, COPY QUALITY CHECKINGWrite Syntax:  +FCQ=<value>Valid Values:  0Default Value: 0This parameter controls Copy Quality checking by a receiving facsimile DCE.The DCE returns +FCQ=0 which indicates the DCE does no quality checking.  The DCE will generate Copy Quality OK (MCF) responses to complete pages, and set +FPTS=1.7.5.8  +FPHCTO, DTE PHASE C RESPONSE TIME-OUTWrite Syntax:   +FPHCTO=<value>Valid Values:   0-255, 100 millisecond unitsDefault Value:  30The +FPHCTO command determines how long the DCE will wait for a command after reaching the end of data when transmitting in Phase C.  When this time-out is reached, the DCE assumes there are no more pages and no documents to send.  It then sends the T.30 EOP response to the remote device.7.5.9  +FAXERR, T.30 SESSION ERROR REPORTRead Syntax:   +FAXERR=<table value>, read onlyValid values:  0-255, see table 7-5 for meaningThis read-only parameter indicates the cause of the hangup.  Table 7-5 shows the valid values for this parameter as well as the meaning of the each value.  +FAXERR is set by the DCE at the conclusion of a fax session.  The DCE resets +FAXERR to 0 at the beginning of Phase A off-hook time.7.5.10  +FBOR, DATA BIT ORDERWrite Syntax:  +FBOR=<value>Valid Values:  0,1Default value:  0This parameter controls the mapping between PSTN facsimile data and the DTE-DCE link.  There are two choices:DIRECT:  The first bit transferred to each byte on the DTE-DCE link is the first bit transferred on the PSTN data carrier.REVERSED:  The last bit transferred of each byte on the DTE-DCE link is the first bit transferred on the PSTN data carrier.There are two data types to control:This command controls Phase C data (T.4 encoded data) transferred during execution of +FDT or +FDR commands.The following two codes are supported.  +FBOR=0  selects direct bit order for Phase C data    +FBOR=1  selects reversed bit order for Phase C dataNote that this parameter does not affect the bit order of control characters generated by the DCE.7.5.11  +FAA, ANSWER PARAMETERWrite syntax:  +FAA=<value>Valid values:   0,1Default value   0   +FAA=0   constrains the DCE to answer as set by +FCLASS   +FAA=1   indicates that the DCE can answer and automatically determine whether to answer as a Class 2 facsimile DCE or as a data modem.  If the DCE automatically switches, if modifies FCLASS appropriately.Class 2 adaptive answer is implemented as follows:First, a data mode handshake is attempted.  If the DCE has been configured for automode detection (using the A command), the DCE may try several protocols be terminating attempts to make a data mode connection.  This can take as long as 6-8 seconds.If the data mode connection attempt fails, a facsimile Class 2 connection is assumed.  When a connection is made, a result of the adaptive answer, the DCE issues the D or FAX result code before the CONNECT or +FCC message to inform the DTE of the connection type.  A making a class 2 connection, the DCE stays on-line rather than going into the command mode as with a Class 2 connection.7.5.12  +FBUF?, BUFFER SIZERead syntax:   +FBUF?DCE response syntax <bs>,<xoft>,<xont>,<bc> where:  <bs> = total buffer size  <xoft> = XOFF threshold  <xcont> = XON threshold  <bc> = current buffer byte countThe +FBUF parameter allows the DTE to determine the characteristics of the DCE's data buffer.  Data buffers are used for flow control.  Use of the reported values allow the DTE to transfer data without provoking XOFF.7.6  EXAMPLE SESSIONSTable 7-6 and 7-7 show the typical command and responses for sending and receiving two pages respectively.              Table 7-6 Send two pages, 1-D data, no errors|----------------------------------------------------------------------|| DTE COMMAND | DCE RESPONSE | LOCAL DTE ACTION |REMOTE STATION ACTION ||-------------|--------------|------------------|----------------------|| AT+FCLASS=2 | OK           | Set Class 2      |                      ||-------------|--------------|------------------|----------------------|| AT+FLID=    |              |                  |                      || <local id>  | OK           | Set local ID     |                      ||-------------|--------------|------------------|----------------------|| AT<dial str>|              | off hook, dial   | answer               ||             |              | send CNG         | send [CED],          ||             | +FCON        | detect flags     | v.21 flags           ||             | +FDIS:<csi>  | get CSI          | CSI                  ||             | +FDIS:<codes>| get DIS          | DIS                  ||             | OK           |                  |                      ||-------------|--------------|------------------|----------------------|| AT+FDT      |              | send TSI         | get TSI              ||             |              | send DCS         | get DCS              ||             |              | send TCF         | get TCF              ||             | +FDCS:<codes>| get CFR          | send CFR             ||             | CONNECT      | send carrier     | receive carrier      ||             | <XON>        |                  |                      || <1st page>  |              | send page data   | receive page data    || <DLE><ETX>  | OK           |                  |                      ||-------------|--------------|------------------|----------------------|| AT+FET=0    |              | send RTC         | get RTC              ||             |              | get MPS          | send MPS             ||             | +FPTS:1      | get MCF          | send MCF             ||             | OK           |                  |                      ||-------------|--------------|------------------|----------------------|| AT+FDT      | CONNECT      | send carrier     | receive carrier      ||             | <XON>        |                  |                      || <2nd page>  |              | send page data   | receive page data    || <DLE><ETX>  | OK           |                  |                      ||-------------|--------------|------------------|----------------------|| AT+FET=2    |              | send RTC         | get RTC              ||             |              | send EOP         | get EOP              ||             | +FPTS:1      | get MCF          | send MCF             ||             | +FHNG:0      | send DCN         | get DCN              ||             | OK           | hangup           | hangup               ||-------------|--------------|------------------|----------------------|              Table 7-7 Receive two pages, 1-D data, no errors|----------------------------------------------------------------------|| DTE COMMAND | DCE RESPONSE | LOCAL DTE ACTION |REMOTE STATION ACTION ||-------------|--------------|------------------|----------------------|| AT+FCR=1    | OK           | Enable reception |                      ||-------------|--------------|------------------|----------------------|| AT+FLID=    |              |                  |                      || <local id>  | OK           | Set local ID     |                      ||-------------|--------------|------------------|----------------------||             | RING    <-   | detect ring  <-  | Dials[, send CNG]    ||-------------|--------------|------------------|----------------------|| ATA         |              | off hook         |                      ||             |              | send CED         | get CED              ||             |              | send CSI         | get CSI              ||             |              | send DIS         | get DIS              ||             | +FCON        | detect flags     | send v.21 flags      ||             |[+FTSI:"<tsi>"] [get TSI]        | [send TSI]           ||             | +FDCS:<codes>| get DCS          | send DCS             ||             | OK           | begin TCF receive| start TCF            ||-------------|--------------|------------------|----------------------|| AT+FDR      |              | accept TCF       | finish TCF           ||             | +FCFR        | send CFR         | get CFR              ||             |[+FDCS:<codes>]                  |                      ||             | CONNECT      | get page carrier | send page carrier    || <DC2>       |              | get page data    | send page data       ||             |<page data stream>               |                      ||             | <DLE><ETX> <-| detect RTC   <-  | send RTC             ||             | +FPTS:1,<lc> |                  | drop carrier         ||             | +FET:0    <- | get MPS       <- | send MPS             ||             | OK           |                  |                      ||-------------|--------------|------------------|----------------------|| AT+FDR      |              | send MCF         | get MCF              ||             | CONNECT      | get page carrier | send page carrier    || <DC2>       |              | get page data    | send page data       ||             |<page data stream>               |                      ||             | <DLE><ETX> <-| detect RTC   <-  | send RTC             ||             | +FPTS:1,<lc> |                  | drop carrier         ||             | +FET:2    <- | get EOP       <- | send EOP             ||             | OK           |                  |                      ||-------------|--------------|------------------|----------------------|| AT+FDR      |              | send MCF         | get MCF              ||             | +FHNG:0   <- | get DCN       <- | send DCN             ||             | OK           | hangup           | hangup               ||-------------|--------------|------------------|----------------------|

⌨️ 快捷键说明

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