'AT+F' Commands
===============

The following are the list of commands supported by the RipeFAX 9624FM board.
They follow the EIA standard 2388 (TR.29 class2).

All of the commands listed are used one at a time, always preceeded by 'AT',
in a command string and should be the last command in a string. For example,
"AT&D2E1V0+FCLASS=2<CR>" is a valid command sequence.

All commands and responses are mandatory. Mandatory values are
specified for each commadn and parameters.

      Name              Description
--------------------------------------------------------------------
      A                 Answer Command
                        This command is not preceded by +F
                        Modem goes off hook and CED is generated.

      D<string>         Originate Command
                        Modem goes off hook dials <number> and sends CNG
                        (.5 sec on 3 secs off)
      +FAA=             Auto Answer Mode parameter
                        Write syntax:           +FAA=<value>
                        valid values:           0, 1
                                                +FAA=0 --> Answer only as
                                                set by +FCLASS
                                                +FAA=1 --> Auto answer either
                                                as facsimile DCE or as a data
                                                DCE
                        Default value:          manufacturer's option
                        Mandatory value         0

      +FBOR=            Data Bit Order parameter
                        Controls the maping between PSTN facsimile data and
                        the DTE-DCE link
                        Write syntax:           +FBOR=<value>
                        Valid value:            0, 1, 2, 3
                        Default value:          0
                        Mandatory value:        0, 1, 2, 3
                                                0 --> Select direct mode
                                                1 --> Select reverse bit order
                                                      for phase C, direct for
                                                      for phase B and D.
                                                2 --> Direct for phase C
                                                      reverse for B adn D
                                                3 --> Reverse order for all.

      +FBUF?            Buffer Size, read only parameter
                        Allows DTE to determine DCE's data buffer
                        characteristics. (No minimum buffer size is
                        mandated)
                        Read syntax:            +FBUF?
                        DCE responce syntax:    <bf>,<xofft>,<xont>,<bc>
                                                <bf> --> total buffer size
                                                <xofft> --> XOFF threshold
                                                <xont> --> XON threshold
                                                <bc> --> current buffer byte
                                                count.

      +FBUG=            Session Message Reporting parameter
                        Write syntax:           +FBUG=<value>
                        Valid values:           0, 1
                        Default value:          0
                        Mandatory values:       0, 1
                                                0 --> Disable HDLC frame
                                                reporting
                                                1 --> Enable HDLC frame
                                                reporting (phase B and D)

      +FCIG:            Report remote ID response, CIG
                        (Calling subscriber identification)


      +FCFR             Confirmation to Receive prompt
                        (Resonce from DCE to DTE)
                        Syntax:                 +FCFR
                        After the valid DCS and TCF, the DCE will
                        send +FCFR to DTE.

      +FCLASS           Service class identification and control
                        (Refer to PN2388)
                        Mandatory

      +FCON             Facsimile Connection Response
                        (Response form DCE to DTE)
                        Indicates conection with fax machine
                        It is released after the detetion of first
                        HDLC flags in the first HDLC frame.


      +FCR=             Capability to Receive parameter
                        Write syntax:           +FCR=<value>
                        valid values:           0, 1
                        Default value:          manufacturer option
                        Mandatory value:        0
                                                0 --> DCE will not receive
                                                      message data, and will
                                                      not be able to poll
                                                      remote device.
                                                1 --> DCE can receive message
                                                      data.

      +FCSI:            Report remote ID response, CSI
                        (Called station ID)

      +FCIG=            Local polling ID String parameter
                        Write syntax:           +FCIG=<local poling ID string>
                        Valid values:           20 character ASCII string
                        Default value:          manufacturer option
                        Mandatory values:       20 character numeric string
                                                (CIG is used in polling)

      +FCTCRTY=         CTC Retry Value parameter
                        (ECM retry count)
                        Write syntax:           +FCTCRTY=<value>
                        Valid values:           0-255, units of 4 retries
                        Default value:          0 ( 4 tries, one attemp block)
                        Mandatory value:        0

      +FDCS:            Report session parameters response
                        +FDCS:<string> reports negotiated parameters

      +FDCS=            Current Session parameters
                        Read syntax:            +FDCS?
                        DCE responce:           +FDCS=VR,BR,WD,LN,DF,EC,BF,ST
                        Valid values:           See table 8.4 EIA PN2388
                        Default values:         Set by manufacturer
                        Mandatory value:        As required by CCITT T.30


      +FDCC=            DCE capabilities parameters
                        +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 the DTE modifies
                        +FDCC the DCE shell copy this into +FDIS.
                        Write syntax:           +FDCC=VR,BR,WD,LN,DF,EC,BF,ST
                        Valid values:           See table 8.4 EIA PN2388
                        Default values:         Set by manufacturer
                        Mandatory values:       As required by T.30

      +FDIS:            Report Remote capabilities response
                        The resonce reports T.30 session parameter frames.
                        Respnse syntax:         +FDIS:<values>
                        Valid values:           VR,BR,WD,LN,DF,EC,BF,ST

      +FDIS=            Current Session negotiation
                        The +FDIS parameter allows the DTE to sense and
                        constrain the capabilities used for the current
                        session. The DCE uses this to generate DIS or
                        DTC messages directly
                        Write syntax:           +FDIS=VR,BR,WD,LN,DF,EC,BF,ST
                        Valid values:           See table 8.4 EIA 2388
                        Default values:         Set by manufacturer
                        Mandatory values:       As required by CCITT T.30

      +FDR              Receive Phase C Data Command
                        (Begin or continue phase C data)
                        Write syntax:           +FDR<CR>

      +FDT[=]           Transmit Phase C data command
                        Write syntax:           +FDT=<VALUES>
                        Valid values:           DF,VR,WD,LN<CR>
                        Default values:         non
                        Mandatory values:       FDT<CR>

      +FDTC:            Report Remote capabilities response
                        (When the remote DCE wants to poll)
                        Response syntax:        +FDTC:<String>
                        Valid values:           VR,BR,WD,LN,DF,EC,BF,ST

      +FET:             Post Page Message response
                        This response is generated by receiving facsimile DCE
                        after the end of phase C reseption, on receipt of the
                        post page message from the transmitting station.The
                        +FET:<ppm> response is generated in execution of +FDR
                        command.
                        Response syntax:        +FET:<ppm>
                        Valid values:           0, 1, 2, 3, 4, 5, 6, 7, 8-15
                                                (see table 8.1 EIA PN-2388)

      +FET=             End the page or document command
                        Command syntax:         +FET=<ppm>
                        Valid values:           0, 1, 2, 3, 4, 5, 6, 7, 8-15
                                                (see table 8.1 EIA PN 2388)
                                                For non ECM operation, +FET
                                                command causes DCE to append
                                                RTC as needed, and enter
                                                phase D by sending the selected
                                                T.30 post page message.

      +FHNG:            Call termination status response
                        Response syntax:        +FHNG:<hangup status code>
                        Valid values:           see table 8.3 EIA PN 2388

      +FHR:             Report received HDLC frame response
                        (Reports the HDLC frame reeeived)
                        Response syntax:        +FHR:<received HDLC frame
                                                octets>

      +FHT:             Report transmitted HDLC frame
                        response
                        Response syntax:        +FHT:<transmitted HDLC octets>

      +FK               Orderly fax abort command
                        This operation can be invoked by <CAN> character during
                        phase C data reception.
                        Write syntax:           +FK

      +FLID=            Local ID String parameter, TSI/CSI
                        Write syntax:           +FLID="<local ID string>"
                        Valid values:           20 character ASCII string
                        Default value:          Manufacturer option
                        Mandatory values:       20 character numeric string

      +FLNFC=           Page Length Format Conversion
                        parameter
                        Write syntax:           +FLNFC=<value>
                        Valid values:           0, 1, 2, 3
                        Default value:          Manufacturer option
                        Mandatory value:        0 (Disable mismatch checking
                                                the DTE must check the +FDCS:LN
                                                subparameter, and transfer
                                                matching data(.

      +FMDL?            Request DCE Model       (NEW)
                        (product (DCE) identification)
                        Write syntax:           +FMDL?
                        DCE response:           DCE will send text information
                                                determine by the manufacturer
                                                to DTE. This will hel identify
                                                the type of DCE.

      +FMFR?            Request DCE Manufacturer        (NEW)
                        (Manufacturer identification)
                        Write syntax:           +FMFR?
                        DCE respnse:            DCE will sent text information
                                                determined by the manufacturer
                                                this will help identify the
                                                manufacturer of the DCE.
      +FMINSP=          Minimum Phase C Speed parameter
                        (Limits the lowest negotiable speed)
                        Write syntax:           +FMINSP=BR
                        Valid values:           0-3 (in BR subparameter code
                        Default value:          0 (V.27ter @ 2400bps)
                        Mandatory values:       0

      +FNSC:            Report NSC frame response
                        (Non standard commands)
                        The DCE facsimile reports NSC, but does not need
                        to act on it.
                        Response syntax:        +FNSC:<NSC FIF string>

      +FNSF:            Report NSF frame response
                        (Non standard facilities)
                        Response syntax:        +FNSF:<non standard FIF string>

      +FNSS:            Report NSS frame response
                        (NOn standard setup)
                        Response syntax:        +FNSS:<non standard FIF string>

      +FPHCTO=          Phase C Time-out parameter
                        (The DCE wait time for a command in phase C)
                        Write syntax:           +FPHCTO=<value>
                        Valid values:           0 - 255, 100ms units
                        Default value:          30
                        Mandatory value:        30 (from T.30)

      +FPTS:            RX Page Transfer Status Response
                        Response syntax:        +FPTS:<ppr>,<lc>,[<blc>,<cblc>,
                                                <lbc>]

      +FPTS:            TX Page Transfer Status Response
                        Response syntax:        +FPTS:<ppr>

      +FPTS=            Page Transfer Status parameter
                        Write sytax:            +FPTS=<ppr>
                        Valid values:           1, 2, 3, 4, 5
                        Default value:          1
                        Mandatory values:       1, 2, 3, 4, 5

      +FREV?            Request DCE Revision    (NEW)
                        (Causes the DCE to send revision identification
                        to DTE)
                        Write syntax:           +FREV?
                        DCE response:           <revision identification>

      +FRBC:            Phase C data transmit byte count
                        response
                        +FBRC is an optional response to +FER command. It is
                        generated in block mode, if +FBRC parameer is non zero
                        Response syntax:        +FBRX:<nnnn><CR>

      +FRBC=            Phase C data Receive Byte Count
                        parameter
                        (+FBRC selects between stream mode and block mode for
                        phase C data transfer from DCE to DTE.)
                        Write syntax:           +FBRC=<value>
                        Valid value:            0 to 65535, units of bytes
                        Default value:          0 (stream mode)
                        Mandatory value:        0 (Stream mode only)

      +FREL=            Phase C received EOL alignment parameter
                        Write syntax:           +FREL=<value>
                        Valid values:           0, 1
                        Default value:          0
                        Mandatory value:        0 (determines that EOL patterns
                                                are bit alligned as received)

      +FTBC=            Phase C data Transmit Byte Count
                        parameter
                        ( Select stream mode or block mode)
                        Write syntax:           +FTBC=<value>
                        Valid values:           0 to 65535, units of bytes
                        Default value:          0 (Stream mode only)

      +FTSI:            Report remote ID response, TSI
                        (Transmit station ID)
                        Response syntax:        +FTSI:"<TSI ID string>"

      +FVOICE           Transition to Voice Response
                        (Indicates that a procedure interrupt has been
                        nigotiated, and the session has been suspended.
                        Response sytax:         +FVOICE
