Supra Corporation 7101 Supra Drive SW, Albany, OR 97321 General (503) 967-2400 / Sales (503) 967-2410 / Fax (503) 967-2401 Supra Tech Support (503) 967-2440 8:00am - 5:00pm PST, M-F Supra BBS........(503) 967-2444 24 Hours CompuServe.......76004,565 BIX..............SupraCorp America Online...SupraCorp2 GEnie............SupraTech AppleLink........D2456 UseNet EMail.....supratech%supra.uucp@cs.orst.edu .....supra!supratech@cs.orst.edu
When customers have a problem communicating correctly with a fax machine/modem, it can be very difficult to determine which is at fault, the software or the hardware. Supra has collected numerous Class 1 and 2 fax software for a variety of different computers. When we receive a report of a problem, we use these programs to determine if it is a software or hardware problem. If it is a hardware problem, we notify Rockwell, otherwise we notify the software company.
SUPRA V32/BIS FAX BUGPlease fully describe the 'bug' (specific steps to generate it, phone numbers to call, make and model of fax/modem, rev of our ROM (from I3 command) ), why you believe that it is a bug, what specific section of Class 2 applies to this bug and how you would like the bug to be fixed. Please remember that there are issues that have not been addressed or settled by the TR29.2 committee in the Class 2 specifications. (i.e. how the DCD and DTR lines are handled while in fax mode.)
Telecommunications Industry Association 1722 Eye St. NW Suite 440 Washington, DC 20006You need to ask for:
Global Engineering Documents 2805 McGaw Ave Irvin, CA 92713 800-854-7179 714-261-1455 714-261-7892 (Fax)You need to ask for:
Global Engineering will not have the Class 2 documentation until approx. a month after the TR29.2 committee accepts it. Most of those companies which have developed Class 2 fax software either sit on the TR29.2 committee or know someone who does. It may be possible to receive the documentation from the TIA if you present a credible proposal. Supra has no knowledge of what this proposal should consist of or who you need to talk to.
See also CLASS 1 FAX COMMANDS FOR SUPRA FAXMODEMS which is available on Supra BBS.
For Phase C data transmission or reception, all 8 bits are needed.
Missing decimal parameters are evaluated as 0.
AT+FAA=0 ;+FCR 1 <CR>This command instructs the DCE to answer automatically a data or fax call and also enables reception.
AT+FCLASS=0 <CR> for data mode AT+FCLASS=1 <CR> for Service Class 1 Fax AT+FCLASS=2 <CR> for Service Class 2 FaxIn Class 2, the DCE makes and terminates calls, manages the communication session and negotiates (T.30 protocol) and transports the image date to DTE. The T.4 protocol management of image data, etc. is done by DTE.
The response to
AT+FCLASS=0<CR> in Data Modeor
AT+FCLASS=2<CR> in Service Class 2 Faxis
OKThe service class may be set by the DTE from the choices available using the '+FCLASS=
The DCE provides a speed buffer of 1024 bytes and provides DC1/DC3 (XON/XOFF) or RTS/CTS method of controlling the data into the buffer. This flow control is controlled by AT&K3 or AT&K4 command.
This method of data flow control is available only for DTE to DCE direction of data. There is no provision for data flow control from DCE to DTE.
The ASCII <DLE> character (016) is used as a special character to shield special characters. The <DLE><ETX> character pair (<106><003>) is used to mark the end of a stream. The following patterns are used:
any data....<DLE><ETX> end of stream any data....<DLE><DLE> single <DLE> in data any data....<DLE><any byte> delete <DLE><any byte>
The DTE must filter stream data to the DCE, and insert extra <DLE> characters ahead of data.
The DCE filters stream data to the DTE, and inserts extra <DLE> characters ahead of data.
AT+FAA=1 ; Auto answer as a facsimile or a ; data modem depending on call CONNECT xxx ; DCE status response if data call +FCON ; DCE status response if fax call
+FCON +FHNG:<0-255>
Syntax:+FDIS:VR, BR, WD, LN, DF, EC, BF, ST
XON, XOFF, DC2
+FPTS:<1-5>
TABLE 7-1. FAX CLASS 2 COMMANDS ----------------------------------------------------------- | Command Function | |---------------------------------------------------------| | SERVICE CLASS ID | |---------------------------------------------------------| | +FCLASS= Service Class | |---------------------------------------------------------| | CLASS 2 ACTION COMMANDS | |---------------------------------------------------------| | D Originate a call | | A Answer a call | | +FDT= Data Transmission | | +FET=N Transmit Page Punctuation | | +FDR Begin or Continue Phase C Receive Data | | +FK Session Termination | |---------------------------------------------------------| | CLASS 2 DCE RESPONSES | |---------------------------------------------------------| | +FCON Facsimile Connection Response | | +FDCS: Report Current Session | | +FDIS: Report Remote Identification | | +FCFR Indicate Confirmation to Receive | | +FTSI: Report the Transmit Station ID | | +FCSI: Report the Called Station ID | | +FPTS: Page Transfer Status | | +FET: Post Page Message Response | | +FHNG Call Termination with Status | |---------------------------------------------------------| | CLASS 2 SESSION PARAMETERS | |---------------------------------------------------------| | +FMFR? Identify Manufacturer | | +FMDL? Identify Model | | +FREV? Identify Revision | | +FDCC= DCE Capabilities Parameters | | +FDIS= Current Sessions Parameters | | +FDCS= Current Session Results | | +FLID= Local ID String | | +FCR Capability to Receive | | +FPTS= Page Transfer Status | | +FAA Adaptive Answer | | +FBUF? Buffer Size (Read Only) | | +FPHCTO Phase C Time Out | | +FAXERR Fax Error Value | | +FBOR Phase C Data Bit Order | |---------------------------------------------------------|
Three commands report identification and selection information. Each of these three commands cause the DCE to send a message to the DTE. Each message is 20 bytes (ASCII encoded) followed by the terminating character (binary 0).
ROCKWELL OK
V.32AC OK
V0.200 TR14-JXXX-001 OK
All action commands initiate processes. The modem will not accept other commands from the DTE until the modem issues a final result code (e.g. OK, CONNECT). The modem will abort the process if it receives any character before the final result code is issued.
Syntax: ATD...<CR>The DCE can support a DTE command to originate a call using the ATD command (See Table 4-2).
If this command is unsuccessful, the DCE reports an appropriate failure or error type result code such as NO CARRIER, NO DIALTONE or BUSY (see Table 4-7).
If this call is successful, the typical DCE response is:
ATDnn.nn (go off-hook, dial, get CED) +FCON (DCE detects flags) [+FCSI:<remote ID string>] +FDCS:<T.30 subparameter string> OKThe DCE dials, detects call progress and generates the CNG tone. Then it waits for a DIS frame. On detection of the first Phase B preamble (V.21 ch. 2 modulated by 300 bit/s HDLC flags) it reports the "+FCON" message to the DTE. The DCE then switches to 19.2K bps.
The DCE generates a DCS frame based on the received DIS frame and on the previously set +FDIS parameter. A +FDT command from the DTE releases the DCE to transmit that DCS frame.
The DCE reports the initial received T.30 negotiation messages, including the DIS frame and the optional CSI ID string. The +FDIS: report is followed by the OK final result code.
The DTE may issue an Answer command in response to an incoming ring.
If the Answer command is unsuccessful, the DCE will report an appropriate failure or error type result code, such as NO CARRIER (see 4-7)
+FCON [+FTSI:<remote ID string>] +FDCS: <T.30 subparameter string> OK (DTE should issue +FDR command here)On receipt of an Answer command from the DTE, the DCE answer and generates the CED tone. The DCE then generates a DIS frame (derived from the +FDIS parameter) and hunts for the first T.30 negotiation frames. On detection of the first Phase B preamble (V.21 ch 2 modulated by 300 bit/s HDLC flags), it reports the "+FCON" message to the DTE.
The DTE should report the initial received T.30 negotiation messages, including the DCS frame. The +FCS: report will be followed by the OK final result code.
Syntax: +FDT<CR>The +FDT command prefixes Phase C data transmission. When the DCE is ready to accept Phase C data, it issues the negotiation responses and the CONNECT result code to the DTE.
In Phase B, the +FDT command releases the DCE to proceed with negotiation, and releases the DCS message to the remote station. In Phase C, the +FDT command resumes transmission after the end of a prior transmit data stream.
[+FCSI:<remote ID string>] ; If new CSI received [+FDIS:<subparameters from remote station>] ; If new DIS received +FDCS:<T.30 subparameter string> CONNECT <XON> ; When ready for dataAfter placing a call, or after finishing a document exchange, the DTE may command the DCE to re-enter T.30 Phase B to attempt to negotiate a document transmission.
CONNECT <XON>The DTE may issue more than one +FDT command for a given page, so that different files may be concatenated together. These files must have the same format.
The DCE will acknowledge the end of the data by returning the OK result code to the DTE.
If there is data underrun before the next +FDT or +FET= command, the DCE will zero-fill pad as per T.4 until the Phase C timeout (+FPHCTO) is reached, or until more data is received. The DCE appends an RTC pattern to the transmit data after an +FET= command is received from the DTE.
The DCE will use the negotiated minimum Scan Time parameter from the DCS frame , and insert sufficient fill bits to pad each line to the minimum scan time. This is reported in the +FDCS:ST subparameter.
If the DCE finds more than one consecutive EOL in Phase C data (e.g. RTC), it will send only one EOL.
Note 1: Phase C data must conform to T.4 specifications
Note 2: The DTE need not include a final RTC, since the DCE will append an RTC in response to an FET= command
Note 3: Some facsimile machines may treat two EOLs as an RTC
Table 7-2 T.30 Session Subparameter Codes
|-----------------------------------------------------------------| | Label | Function | Value | Description | |--------|---------------|---------|------------------------------| | VR | Vertical | 0 | Normal, 98 lpi | | | resolution | 1 | Fine, 196 lpi | |--------|---------------|---------|------------------------------| | BR | Bit Rate | 0 | 2400 bit/s V.27 ter | | | | 1 | 4800 bit/s V.27 ter | | | (See note 1) | 2 | 7200 bit/s V.29 or v.17 | | | | 3 | 9600 bit/s V.29 or v.17 | | | | **4 | 12000 bit/s V.33 or v.17 | | | | **5 | 14400 bit/s V.33 or v.17 | |--------|---------------|---------|------------------------------| | WD | Page Width | 0 | 1728 pixels in 215 mm | | | | 1 | 2048 pixels in 255 mm | | | | 2 | 2432 pixels in 303 mm | | | | *3 | 1216 pixels in 151 mm | | | | *4 | 864 pixels in 107 mm | |--------|---------------|---------|------------------------------| | LN | Page Length | 0 | A4, 297 mm | | | | *1 | B4, 364 mm | | | | *2 | unlimited length | |--------|---------------|---------|------------------------------| | DF | Data | 0 | 1-D modified Huffman | | | Compression | 1 | 2-D modified Read | | | Format | *2 | 2-D uncompressed mode | | | | *3 | 2-D modified Read | |--------|---------------|---------|------------------------------| | EC | Error | 0 | Disable ECM | | | Correction | *1 | Enable ECM,64 bytes/frame | | | (Annex | *2 | Enable ECM,256 bytes/frame | | | A/T.30) | | | | | (See Note 2) | | | |--------|---------------|---------|------------------------------| | BF | Binary File | 0 | Disable BFT | | | Transfer | *1 | Enable BFT | | | (See Note 3) | | | |--------|---------------|---------|------------------------------| | ST | Scan Time/ | | VR=normal VR=fine | | | Line | 0 | 0 ms 0 ms | | | | 1 | 5 ms 5 ms | | | | 2 | 10 ms 5 ms | | | | 3 | 10 ms 10 ms | | | | 4 | 20 ms 10 ms | | | | 5 | 20 ms 20 ms | | | | 6 | 40 ms 20 ms | | | | 7 | 40 ms 40 ms | |--------|---------------|---------|------------------------------| | NOTES: 1: CCITT T.30 does not provide for the answering | | station to specify all speeds exactly using the DIS | | frame. Implementation of some BR codes (e.g.code 2) | | by an answering DCE is manufacturer specific. | | | | | | * =Not supported | | ** =RC144AC only | | | | 2: ECM has been implemented in Supra's version 1.200C. | | ECM transmit works correctly, and ECM receive works, | | but does not tell the transmitting machine that the | | fax was received correctly. | | | | 3: BFT has been implemented in Supra's version 1.200C. | | BFT transmit works correctly, and BFT receive works, | | but does not tell the transmitting machine that the | | file was received correctly. | | | |-----------------------------------------------------------------|
Syntax: +FET=<ppm>[,<pc>,<bc>,<fc>] DCE response: +FPTS:<ppr> ; when receive from remote OKThis command is used to punctuate page and document transmission after one or more +FDT commands. This command generates T.30 Post Page Messages selected by the <ppm> code (Table 7-3)
The +FET=<ppm> command indicates that the current page is complete; no more data will be appended to it. The value indicates if there are any additional pages are to be sent and, if so, whether there is a change in any of the document parameters.
The DTE can command the DCE to generate PRI-Q messages with the +FET=<ppm> command using ppm codes 4-6 (see Table 7-3)
This command must be sent within the time out specified by +FPHCTO after sending Phase C data, or else the DCE will end the page and document transmission. If the Phase C timeout is reached, the DCE sends an EOP post page message and terminates the session
The remote facsimile station should respond to the post page message with a post page response. The DCE will report this using the +FPTS:<ppr> response (Table 7-4)
The +FET=1 (EOM) command signals the remote station that the next document will have a new DCS negotiated; this causes the session to re- enter Phase B.
Syntax: +FDR<CR> Default value: 3 seconds in some placesThe +FDR command initiates transition to Phase C data reception. This can occur after answering, dialing, a document is received, or a page is received.
The DCE reports the negotiated T.30 parameters, with the remote ID information if available. When the DCE is ready to commence data transfer, it issues a CONNECT response code. If the DCE cannot resume data transfer because there is no more data, it responds OK. When the DTE is ready to accept data, it issues an <DC2> character (018) to the DCE.
If the DTE issues an <XOFF> character to the DCE for flow control, the DCE signals the DTE when its buffers are empty by sending a <DLE><DC2> (<016><018>) character pair.
When the DCE delivers that last byte of a page, the DCE reports the Page Transfer Status via the +FPTS:<ppr> response (Table 7-4).
After a Page Transfer Status Report, the DCE reports the post page message from the remote facsimile station via the +FET:<ppm> response (Table 7-3) which signals the intentions of the remote station.
Table 7-3. T.30 Post Page Message Codes
|-----------------------------------------------------------------| | ppm | | | | Code | Mnemonic | Description | |---------|-----------------|-------------------------------------| | 1 | [PPS]-MPS | Another page next, same document | | 2 | [PPS]-EOM | Another page next | | 3 | [PPS]-EOP | no more pages or documents | | 4 | [PPS-]PRI-MPS | Another page, procedure interrupt | | 5 | [PPS-]PRI-EOM | Another doc, procedure interrupt | | 6 | [PPS-]PRI-EOP | All done, procedure interrupt | | 7 | CTC | Continue to correct | | 8-15 | EOR- | End of Retransmission (8)+ | | =8+ppm | | Post Page Message (ppm code) | |-----------------------------------------------------------------|Table 7-4. T.30 Post Page Response Message Codes
|-----------------------------------------------------------------| | ppr | | | | Code | Mnemonic | Description | |---------|-----------------|-------------------------------------| | 0 | PPR | Partial page errors | | 1 | MCF | Page Good | | 2 | RTN | Page bad, retrain requested | | 3 | RTP | Page good, retrain requested | | 4 | PIN | Page bad, interrupt requested | | 5 | PIP | Page good, interrupt requested | |-----------------------------------------------------------------|The DCE holds the post page response message to the remote facsimile station (MCF, etc.), represented in the +FPTS parameter until the next +FDR command. The DTE may modify the +FPTS parameter before issuing the +FDR command which releases that message. The DTE must issue a +FDR command to release Post Page Messages.
The DCE response in stream mode is:
+FCR ; when CFR sent [+FTSI:<remote ID string>] ; if new TSI received +FDCS:<T.30 subparameter string>] ; if new DCS CONNECT (<DC2> needed from DTE here) <Phase C data stream> <DLE><ETX> +FPTS:<ppr>,<lc>[,<blc>,<cblc>] +FET:<ppm> OK (DTE must issue +FDR command to release post page response)
CONNECT (<DC2> needed from DTE here) <Phase C data stream> <DLE><ETX> +FPTS:<ppr>,<lc>[,<blc>,<cblc>] +FET:<ppm> OK (DTE must issue +FDR command to release post page response.If done receiving:
+FHNG:<hangup cause code> OK Continue page reception
The DCE will delete the terminating RTC (6 EOLs) patterns. The DCE may strip zero fill bits from the data, to minimize storage needs.
Upon receipt of the <CAN> character, the DCE will terminate the reporting of received data by sending trailing <DLE><ETX> characters to the DTE, and will then execute an implied +FK command in order to conduct an orderly disconnection.
Syntax: +FKThe +FK command causes the DCE to terminate the session in an orderly manner. In particular, the DCE will send a DCN message at the next opportunity and hang up. At the end of the termination process, the DCE will report the +FHNG response with result code (A HREF="#Table7-5">Table 7-5).
This operation can be invoked by using the cancel <CAN> character during Phase C data reception (see prior section).
The DCE will wait until the current page completes, unless the reception is of unlimited length; in that case, the DCE may halt reception and terminate the session at any time.
The DCE precedes and follows the following information responses with <CR><LF>.
The DCE provides the on-line status of several session parameters when they are available during T.30 handshaking. These include the remote ID string and the DIS/DCS parameters. These responses report the T.30 session parameter frames. The subparameters are described in Table 7-2.
Syntax: +FDCS:VR,BR,WD,LN,DF,EC,BF,ST+FDCS:<string> reports the negotiated parameters. Phase C data will be formatted as described by the subparameters. This message may be generated in execution of +FDT or +FDR commands before the CONNECT result code if new DCS frames are generated of received. (See Table 7-2.)
Syntax: +FDIS:VR,BR,WD,LN,DF,EC,BF,ST+FDIS:<string> reports remote facsimile station capabilities and intentions. The parameters are provided in ASCII notation. (See Table 7-2.)
This message is generated in execution of Originate, Answer, +FDT, or +FDR commands.
Syntax: +FCFRThe DCE sends a +FCFR response to the DTE upon reception of an acceptable TCF training burst and a valid DCS signal from the remote machine. This indicates that the DCE will receive Phase C data after the remote station receives the local DCE's CFR message. The +FCFR message is generated in execution of a +FDR command.
Syntax: +FTSI:"<TSI ID string>" Transmit Station IDThis response reports the received transmit station ID string, if any. This message is generated in execution of Originate, Answer, +FDT, or +FDR commands.
Syntax: +FCSI:"<CSI ID string>" Called Station IDThis response reports the received called station ID string, if any. This message is generated in execution of Originate, Answer, +FDT, or +FDA commands.
Syntax: +FPTS:<ppr>,<lc>[,<blc>,<cblc>]The +FPTS:<ppr> is generated by the DCE at the end of Phase C data reception in execution of a +FDR command.
The <ppr> is generated by the DCE; it depends on the DCE capabilities at T.4 error checking. See Table 7-4 for <ppr> values.
The receiving DCE will count the lines and may optionally generate bad line counts. These values are:
<lc> = line count <blc> = bad line count <cblc> = consecutive bad line countA receiving DTE may inspect <ppr> and write a modified value into the +FPTS parameter. The DCE will hold the corresponding Post Page Response message until released by a +FDR command from the DTE.
Syntax: +FET:<ppm>The +FET:<post page message> response is generated by a receiving DCE after DCE after the end of Phase C reception on receipt of the post-page message from the transmitting station. The +FET:<ppm> response is generated in execution of a +FDR command. The <ppm> codes respond to the T.30 post page messages (Table 7-3.)
Syntax: +FPTS:<ppr>The +FPTS: response reports a <ppr> number representing the copy quality and related post page message responses received from the remote DCE. The set of valid <ppr> values are defined in Table 7-4.
The +FPTS:<ppr> response is generated in execution of a +FET=<ppm> command.
Syntax: +FHNG:<hangup status code<+FHNG indicates that the call has been terminated. The hangup cause is reported and stored in the +FAXERR parameter for later inspection. The <hangup status code> values are described in Table 7-5.
+FHNG:<hsc> is a possible intermediate result code to any DTE action command described in Section 7.3. It is always followed by the OK final result code.
Upon termination of a call, the DCE determines the cause of termination and reports it as part of the FHNG:<hsc> response. It also stores this <hsc> code in the +FAXERR parameter for later inspection.
The hangup values are organized according to the phases of the facsimile transaction as defined by T.30. A COMREC error or RSPREC error indicates that one of two events occurred:
The table values are in decimal notation. Leading zero characters are optional.
|------------------------------------------------------------| | Code | Cause Description | |----------|-------------------------------------------------| | 0-9 | CALL PLACEMENT AND TERMINATION | |----------|-------------------------------------------------| | 0 | Normal and proper end of connection | | 1 | Ring Detect without successful handshake | | 2 | Call aborted, from +FK or AN | | 3 | No Loop Current | |----------|-------------------------------------------------| | 10-19 | TRANSMIT PHASE A & MISCELLANEOUS ERRORS | |----------|-------------------------------------------------| | 10 | Unspecified Phase A error | | 11 | No Answer (T.30 T1 timeout) | |----------|-------------------------------------------------| | 20-39 | TRANSMIT PHASE B HANGUP CODES | |----------|-------------------------------------------------| | 20 | Unspecified Transmit Phase B error | | 21 | Remote cannot receive or send | | 22 | COMREC error in transmit Phase B | | 23 | COMREC invalid command received | | 24 | RSPEC error | | 25 | DCS sent three times without response | | 26 | DIS/DTC received 3 times; DCS not recognized | | 27 | Failure to train at 2400 bps or +FMINSP value | | 28 | RSPREC invalid response received | |----------|-------------------------------------------------| | 40-49 | TRANSMIT PHASE C HANGUP CODES | |----------|-------------------------------------------------| | 40 | Unspecified Transmit Phase C error | | 43 | DTE to DCE data underflow | |----------|-------------------------------------------------| | 50-69 | TRANSMIT PHASE D HANGUP CODES | |----------|-------------------------------------------------| | 50 | Unspecified Transmit Phase D error | | 51 | RSPREC error | | 52 | No response to MPS repeated 3 times | | 53 | Invalid response to MPS | | 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 | |------------------------------------------------------------|
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.
Write Syntax: +FDCC:VR,BR,WD,LN,DF,EC,BF,ST Valid values See Table 7-2 Default 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.
Write Syntax: +FDIS:VR,BR,WD,LN,DF,EC,BF,ST Valid values See Table 7-2 Default 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.
Write Syntax +FLID="<local ID string>" Valid values: 20 character ASCII string Default 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)" The first "(20)" represents string length: the second (character values) field reports supported string values.
Notes:
Write Syntax: +FCR=<value> Valid values: 1,0 Default 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 D
Write syntax: +FPTS=<ppr> Valid Values: 1,2,3,4,5 Default value: 0
Write Syntax: +FCQ=<value> Valid Values: 0 Default 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.
Write Syntax: +FPHCTO=<value> Valid Values: 0-255, 100 millisecond units Default 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.
Read Syntax: +FAXERR=<table value>, read only Valid 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.
Write Syntax: +FBOR=<value> Valid Values: 0,1 Default 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=1 selects reversed bit order for Phase C data
Write syntax: +FAA=<value> Valid values: 0,1 Default value 0
+FAA=1 indicates that the DCE can answer and automatically
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.
Read 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.
|----------------------------------------------------------------------| | 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 | | |-------------|--------------|------------------|----------------------| | ATTable 7-7 Receive two pages, 1-D data, no errors| | 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 | |-------------|--------------|------------------|----------------------|
|----------------------------------------------------------------------| | 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 | |-------------|--------------|------------------|----------------------|