home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 May / PCO_5_97.ISO / FilesBBS / OS2 / CF2B1205.ARJ / CF2B1205.ZIP / MODEM.DOC < prev    next >
Encoding:
Text File  |  1997-02-18  |  22.9 KB  |  571 lines

  1.  
  2.         Note: An asterik '*' denotes that this option is only available
  3.               in cFos for CAPI 2.0.
  4.  
  5.               {++} denotes that this command is only available in
  6.               'cFos Professional', i.e. when you register 'cFos'.
  7.  
  8.  
  9.     -----------------------------------------------------------------------
  10.                               cFos Modem Command Set
  11.     -----------------------------------------------------------------------
  12.  
  13.         ?       Show a small help screen of AT Commands and important
  14.                 S-registers.
  15.  
  16.         A       Force Answer
  17.  
  18.         Bn      Select protocol ONLY for outgoing calls
  19.                 0       X.75 without B3 protocoll, 64000bps     ("ISDNC")
  20.                         s22=2048, s26=2, s28=2048
  21.                 1       V.110 async, 38400bps, 8n1              ("ISDNB")
  22.                         s22=2048, s26=2, s28=2048
  23.                 2       V.110 async, 19200bps, 8n1              ("ISDNA")
  24.                         s22=2048, s26=2, s28=2048
  25.                 3       TELES 128kbps Bundle Protocol
  26.                         s22=2048, s26=2, s28=2048
  27.                 4       X.75, Framelen=256, Win.Size=7 (ELINK mode)
  28.                         s22=framelen, s26=7, s28=256
  29.                 5       Datex-J (BTX), Framesize=130, Win.Size=7
  30.                         s22=framelen, s26=7, s28=128
  31.                 6       same as 5, but switches VT-100 on
  32.                 7       analogue modem, if possible
  33.                 8       PPP mode according to RFC1662 (see WHATSNEW)
  34.                 9       CompuServe via BTX
  35.                 10      V.110 async, 9600 bps, 8, n, 1
  36.                 11      V.110 async, 9600 bps, 7, e, 1
  37.                 12      V.120
  38. {++}            13      X.31
  39.  
  40.                 'framelen' refers to the framelen set by -b switch on
  41.                 commandline; all values are checked not to exceed the
  42.                 commandline given settings
  43.  
  44.         D..     Dial
  45.                 F       start a leased line connection
  46.                 L       dial last number
  47.                 S       dial stored number (hardcoded, 0=Zaphods BBS)
  48.                 V       flag connection as SPV
  49.                 0..9    digits
  50.                 A..D#*  special "digits"
  51.                 <nb>s   dial number <nb> and flag connection as SPV
  52.  
  53.         En      Command Echo
  54.                 0       echo off
  55.                 1       echo on
  56.  
  57.         Hn      On/Off Hook control
  58.                 0       on hook, terminate an active connection
  59.                 1       off hook, reject an incoming call
  60.  
  61.         In      Inquiry
  62.                 0       product identification and CAPI version and
  63.                         manufacturer
  64.                 1       status line output
  65.                 2       last call statistics
  66.                 4       last 10 CAPI info dumps
  67.                 5       some CAPI infos (number of charging infos
  68.                         and time/date infos) (not CFOSN)
  69.                 6       some OS-dependant information on cFos
  70.                 7       PPP statistics
  71.  
  72.         Qn      Quiet mode, result codes display
  73.                 0       display result codes
  74.                 1       suppress result code; be Quiet
  75.  
  76.         Sr=n    Set register r to value n (registers are unsigned 16bit ints)
  77.         Sr.b=n  Set bit b to n
  78.         Sr,b=n  Set bit b to n
  79.         Sr?     Query register r
  80.         SrH=n   Set high byte of register r to value n
  81.         SrL=n   Set low byte of register r to value n
  82.  
  83.         Vn      Verbal mode
  84.                 0       numeric result codes
  85.                 1       verbal result codes
  86.  
  87.         Xn      Result code options
  88.                 0       modem looks (i.e. responds) like a standard
  89.                         9600 bps modem
  90.                 1       enables CONNECT <rate>
  91.                 2       enables RINGING
  92.                 3       enables RING <incoming caller's id>
  93.                 4       enables CONNECT[...]/<protocols..>
  94.                 5       enables ?
  95.                 6       enables /<cause> on ERROR, NO CARRIER, NO ANSWER
  96.                         and NO DIALTONE
  97.                 7       enables /V42B message after CONNECT
  98.                 8       enables /PPP message after CONNECT
  99.  
  100.         Zn      Restore profile from number n (out of the file PROFILE).
  101.                 This will further reregister the application at the CAPI.
  102.                 If no number is given, 0 will be default.
  103.  
  104.  
  105.         Fn      \
  106.         Kn       |
  107.         Ln       |
  108.         Mn       |  ignored for compatibility
  109.         Nn       |
  110.         O        |
  111.         P        |
  112.         T       /
  113.  
  114.  
  115.  
  116.     -----------------------------------------------------------------------
  117.                         cFos extended Modem Command Set
  118.     -----------------------------------------------------------------------
  119.  
  120. *       &Ak=nnn Answer to these MSNs (CAPI 2.0). See CAPI_20.DOC
  121.  
  122. {++}    &Bn     Number of Channels to use for 'cFos' Channel Bundling, for
  123.                 next dial command
  124.  
  125.         &Cn     DCD override
  126.                 0       DCD always high
  127.                 1       DCD follows connection state: high=connection
  128.                         active, low=no connection active
  129.  
  130.         &Dn     Status line
  131.                 0       disable status line (default)
  132.                 1       enable status line (only if port is initialized)
  133.                 2       enable status line (only if carrier is high)
  134.                 3       always display status (cFos/Win)
  135.  
  136.         &En     EAZ: n = '0' ... '9': changes register 18. Default is
  137.                 EAZ 0.
  138.  
  139.         &F      Reset to Factory defaults and reset. Does not clear
  140.                 the accumulated charges
  141.  
  142.         &G      Accumulated costs management
  143.                 0       Display accumulated costs in currency units
  144.                 1       Clear accumulated costs
  145.  
  146.         &H<str> This sets the hangup string to "+++<str><cr>". E.g. this
  147.                 enables setting the hangup  sequence  to  "+++ATHE1<cr>"
  148.                 for the pcANYWHERE "Hayes compatible modem". Default  is
  149.                 <str>   =   "ATH0",   i.e.   the   hangup-sequence    is
  150.                 "+++ATH0<cr>".
  151.  
  152.         &I..    Listen to services; changes register 14; takes
  153.                 'A' (Analog or Audio) and/or 'D' (Data or Digital) as
  154.                 parameter. Use register S44 to select mode for analogue
  155.                 calls.
  156.  
  157.         &Kn     Enable/Disable inband-negotiation / V.42bis)
  158.                 0       disable both
  159.                 1       enable negotiation and V.42bis
  160.                 2       enable negotiation without V.42bis
  161.  
  162.         &Lnnn   Listen to what EAZ's; changes register 13;
  163.                 takes multiple digits or '*' for all. Default is EAZ 1.
  164.  
  165.         &Mn     Select bundling mode.
  166.                 0       static bundling
  167.                 1       dynamic bundling
  168.  
  169.         &Onnn   Outdial Number. This number will be used as prefix for
  170.                 all phone numbers dialed with the ATD command. Default is
  171.                 none.
  172.  
  173. * {++}  &Pnnn   Called Subaddress (CAPI 2.0). Default is none.
  174.  
  175.         &Rn     Reregister the application if all ports are idle; use
  176.                 &R1 to force reregister (and lockout of all active
  177.                 connections!)
  178.  
  179.         &Sn=..  Set string register
  180.         &Sn?    Query string register
  181.  
  182.         &T      TRANX: set the clock to the actual time/date (gotten from
  183.                 the last connection attempt).
  184.  
  185. * {++}  &Unnn   Calling Subaddress (CAPI 2.0 and X.31)
  186.  
  187.         &Vn     View profile (n=0..2)
  188.  
  189.         &Wn     Write profile to number n (into a file named PROFILE). If
  190.                 no number is given, it defaults to 0.
  191.  
  192. {++}    &Xn     n=1, X.31 activate, n=0, X.31 deactivate
  193.  
  194.  
  195.  
  196.     -----------------------------------------------------------------------
  197.                              cFos Modem Register Chart
  198.     -----------------------------------------------------------------------
  199.  
  200.       Reg#      Description                                     Default
  201.  
  202.         S0      Auto Answer on (>=1) / off (==0)                0
  203.  
  204.         S1      Ring count                                      0
  205.  
  206.         S2
  207.  
  208.         S3      ASCII Carriage Return (only used to detect      13
  209.                 the end of a modem command)
  210.  
  211.         S4      ASCII Line Feed (only used in modem command     10
  212.                 evaluation)
  213.  
  214.         S5      ASCII Backspace (only used to detect a          8
  215.                 backspace in modem command evaluation)
  216.  
  217.         S6      Column of callerid display (only if s10.1 == 1, 61
  218.                 at&d1 or at&d2; used together with s11 (line))
  219.  
  220.         S7      Number of seconds modem waits for a carrier     60
  221.  
  222.         S8
  223.  
  224.         S9      Bit-mapped register:                            32737
  225.                 .0      enable any further result code
  226.                 .1      enable CONNECT <rate>, otherwise
  227.                         CONNECT 9600 is always returned
  228.                 .2      enable RINGING
  229.                 .3      enable RING followed by <number>, style depends
  230.                         on S10.3
  231.                 .4      enable /X75.. after CONNECT
  232.                 .5      enable ERROR/<cause>
  233.                 .6      enable NO CARRIER/<cause> and
  234.                         NO CARRIER/CHARGE=..
  235.                 .7      enable /V42B after CONNECT
  236.                 .8      enable /PPP after CONNECT
  237.  
  238.         S10     Bit-mapped register:                            Default: 0
  239.                 .0      enable CONNECT.../ID=<callerid>
  240.                 .1      disable full status line, just display the callerid
  241.                         on the left side
  242.                 .2      display numerical values for service indicator /
  243.                         add. si instead of names
  244.                 .3      display the callerid, requested eaz, si/add si on
  245.                         a RING like RING 1234/EAZ1/07/00, in spite of the
  246.                         default method: RING<cr>ID=1234/EAZ1/07/00
  247.                 .4      enable +++ATH0<CR> hangup sequence in BIOS emulator
  248.                         mode (and disable hangup on baudrate change)
  249.                 .5      (obsolete)
  250.                 .6      disable multiple CallerID's
  251. {++}            .7      display the baudrate specified in register S47
  252.                         on CONNECT messages
  253.                 .8      reject calls with no CallerID
  254. {++}            .9      enable 'Audible RING': each RING message
  255.                         activates a small ringer
  256.                 .10     (reserved)
  257.                 .11     1=disable disconnect on port close (cFos/Win)
  258.                 .12     handle DTR like: 0=COM.SYS, 1=SIO (cFos/2)
  259.                         on port open/close and set_DCB IOCTL; see
  260.                         README.OS2 for more details.
  261. {++}            .13     ignore '?' and 'R' modifiers on incoming
  262.                         cFos Channel Bundling calls.
  263.  
  264.         S11     Status line line number (0 - screen length-1)   0
  265.                 Note: only displayed if AT&D1 or AT&D2
  266.  
  267.         S12     Nummer of 1/18 sec. to wait before CONNECT      50
  268.                 message.
  269.  
  270.         S13     Serviced EAZ Mask                               2
  271.                 Every bit from bit0.. bit9 enables RING on
  272.                 this EAZ ('0' - '9')
  273.                 ex:     0000000010b     answer on '1'
  274.                         0100000000b     answer on '8'
  275.                         0001111111b     answer on '0' - '6'
  276.                         1111111111b     answer all calls
  277.  
  278.                 This register is also modified by the AT&L... command.
  279.  
  280.         S14     Serviced SI Mask                                0x80
  281.                 Every bit enables a service 'cFos' listens to
  282.  
  283.                    Bit 0    videophone
  284.                    Bit 1    telephone
  285.                    Bit 2    a/b-services
  286.                    Bit 3    X.21-services
  287.                    Bit 4    telefax (Group 4)
  288.                    Bit 5    BTX (64 kbits/s)
  289.                    Bit 7    data transmission (64 kbits/s)
  290.                    Bit 8    X.25-services
  291.                    Bit 9    teletex 64
  292.                    Bit 10   mixed mode
  293.                    Bit 15   BTX (new standard)
  294.  
  295.         S15     B-Channel Identification (ffs. 1.TR.6,          0x83
  296.                 3.2.3.4.4.7)
  297.  
  298.         S16     Source Service Indicator                        7
  299.  
  300.         S17     Source Additional Service Indicator             0
  301.  
  302.         S18     Source EAZ (character: '0'=48.. '9'=57)         '0'
  303.                 Sent with connect_req message; maybe this has
  304.                 to be changed on PBX systems.
  305.  
  306.                 This register is also modified by an AT&En
  307.                 command.
  308.  
  309.         S19     Inactivity timer: modem disconnects if          0
  310.                 no traffic in N minutes; 0==disabled
  311.  
  312.         S20     B-Channel, level 2 protocol                     1
  313.                 1       X.75 SLP Basis Operation Mode,
  314.                         mit Implementation Rules nach T.90
  315.                 2       Transparent-HDLC mit Bit-Stuffing,
  316.                         Frame-Erkennung und CRC-Check
  317.                 3       Bittransparent
  318.                 4       SNA-SDLC
  319.                 5       X.75 Btx
  320.                 7       LAPD
  321.                 8       V.110 mit transparentem B2 protokoll
  322.                 9       V.110 SNA-SDLC
  323.                 10      V.110 X.75 SLP nach T.90
  324.  
  325.         S21     B-Channel, level 3 protocol                     4
  326.                 1       T70 NL für Leitungsvermittlung (CSPDN)
  327.                 2       ISO 8208 (DTE/DTE)
  328.                 3       Level 3 according to T.90, Appendix II
  329.                 4       transparent
  330.  
  331.         S22     SELECT_B2_PROTOCOL_REQ: Data-length             2048
  332.  
  333.         S23     SELECT_B2_PROTOCOL_REQ: Link-Address-A          3
  334.  
  335.         S24     SELECT_B2_PROTOCOL_REQ: Link-Address-B          1
  336.  
  337.         S25     SELECT_B2_PROTOCOL_REQ: Modulo-Mode             8
  338.  
  339.         S26     SELECT_B2_PROTOCOL_REQ: Window-Size             2
  340.  
  341.         S27     SELECT_B2_PROTOCOL_REQ: V.110 user rate         64
  342.  
  343.         S28     Maximum SEND B2-Framesize                       2048
  344.  
  345.         S29     B3-Protocol-Overhead in Bytes                   0
  346.                 b3 == 1 (t70nl): 2
  347.                 b3 == 2 (iso8208): 3
  348.                 b3 == 4 (transparent): 0
  349.  
  350.         S30     SELECT_B3_PROTOCOL_REQ: LIC                     0
  351.  
  352.         S31     SELECT_B3_PROTOCOL_REQ: HIC                     0
  353.  
  354.         S32     SELECT_B3_PROTOCOL_REQ: LTC                     1
  355.  
  356.         S33     SELECT_B3_PROTOCOL_REQ: HTC                     1
  357.  
  358.         S34     SELECT_B3_PROTOCOL_REQ: LOC                     0
  359.  
  360.         S35     SELECT_B3_PROTOCOL_REQ: HOC                     0
  361.  
  362.         S36     SELECT_B3_PROTOCOL_REQ: Modulo-Mode             8
  363.  
  364. *       S37     SELECT_B3_PROTOCOL_REQ: Window-Size             2
  365.                 (CAPI 2.0 only)
  366.  
  367.         S39     Numbering Type/Plan                             0x80
  368.  
  369.         S40     Controller                                      0
  370.  
  371.         S41     Info-Mask-low                                   63
  372.  
  373.         S42     Info-Mask-high                                  0
  374.  
  375.         S43     Default V.110 user rate & Protocol              64
  376.                 (CAPI 1.1 only)
  377.  
  378.         S44     Audio Mode for incoming calls                   0
  379.                 0       Voice mode
  380.                 1       Modem mode
  381.  
  382. {++} *  S45     X.25 / X.31 delivery confirmation, CAPI 2.0     0
  383.  
  384. {++} *  S46     X.25 / X.31 group/channel, CAPI 2.0             0
  385.  
  386. {++}    S47     Baudrate to return on CONNECT, if S10.7=1       9600
  387.  
  388. {++}    S48     Suppress the first <s48> RINGs.                 0
  389.  
  390. {++}    S49     number of digits of caller id to ignore         0
  391.                 (from right to left) when called with CCB
  392.  
  393.         S50     \
  394.         S51      |
  395.         S52      |   Default Additional Service Indicator and B2-Protocol
  396.         S53      |   for every EAZ:
  397.         S54      |   If the incoming AddSI is 0 then we get the AddSI
  398.         S55      |   from the low byte of register 50+EAZ; the B2-Protocol
  399.         S56      |   is got from the high byte.
  400.         S57      |   (CAPI 1.1 only)
  401.         S58      |
  402.         S59     /
  403.  
  404.         S60     Charge limit, main port     \
  405.         S61     Charge limit, aux. port      |
  406.         S62     Time limit, main port (secs) |
  407.         S63     Time limit, aux. port (secs) |
  408.         S64     Lower cps limit              | {++} see CFOS.DOC, chapter 12
  409.         S65     Upper cps limit              |
  410.         S66     Charge simulation timer      |
  411.         S67     Pre-off disconnect time      |
  412.         S68     Connect tries                |
  413.         S69     Delay between dyn.CCB tries /
  414.  
  415. {++}    S70     Cost of one charging unit (Pfennig, Groschen,Cent,...)
  416. {++}    S71     Amount of money: charging units * S70 (Pfennig, Groschen,..)
  417. {++}    S72     Amount of money: charging units * S70 (DM, Schilling,..)
  418.  
  419.         S75     internal use, do not change
  420.         S76     protocol selection for incoming calls without service
  421.                 signalling: 0 = use X.75, 1 = use outgoing protocols
  422.                 (default: 0)
  423.  
  424.         S77     What to do, if the string "01910" is found      0
  425.                 in the number of an outgoing call:
  426.  
  427.                 0       nothing changes (default)
  428.                 1       act as if ATB5 was set
  429.                 2       act as if ATB6 was set
  430.                 3       act as if ATB9 was set
  431.  
  432.         S99     internal use, do not change
  433.  
  434.     -----------------------------------------------------------------------
  435.  
  436.         The following registers, marked with (*) are reserved for cFos
  437.         for CAPI 2.0 (currently under development) and cannot be used yet.
  438.  
  439.  *      S100  CAPI 2.0  B1 Protocol                             0
  440.               0        64 kBit/s, HDLC framing (CAPI 2.0 default)
  441.               1        64 kBit/s, bit transparent
  442.               2        V.110 async, w/ start/stop byte framing
  443.               3        V.110 sync, w/ HDLC framing
  444.               4        T.30 for FAX group 3
  445.               5        64 kBit/s inverted w/ HDLC framing
  446.               6        56 kBit/s, bit transparent
  447.  
  448.  *      S101  CAPI 2.0  B2 Protocol                             0
  449.               0        ISO 7776 (X.75 SLP) (CAPI 2.0 default)
  450.               1        Transparent
  451.               2        SDLC
  452.               3        LAPD, Q.921 for D channel X.25
  453.               4        T.30 for FAX group 3
  454.               5        Point to Point Protocol (PPP)
  455.               6        Transparent (ignoring framing errors of B1)
  456.  
  457.  *      S102  CAPI 2.0  B3 Protocol                             0
  458.               0        Transparent (CAPI 2.0 default)
  459.               1        T.90NL w/ compatibility to T.70NL
  460.               2        ISO 8208 (X.25 DTE-DTE)
  461.               3        X.25 DCE
  462.               4        T.30 for FAX group 3
  463.  
  464.  *      S103  CAPI 2.0  B1 Protocol Config, Rate                0
  465.  *      S104  CAPI 2.0  B1 Protocol Config, Bits per Char       8
  466.  *      S105  CAPI 2.0  B1 Protocol Config, Parity              0
  467.                            0=no, 1=odd, 2=even
  468.  *      S106  CAPI 2.0  B1 Protocol Config, Stop Bits           0
  469.                            0=1 stop bit, 1=2 stop bits
  470.  
  471.  *      S107  CAPI 2.0  CIP mask, low                           4
  472.               Bit 0       don't provide CIP value
  473.                           (all other bits must be 0)
  474.               Bit 1       speech
  475.               Bit 2       unrestricted digital information
  476.               Bit 3       restricted digital information
  477.               Bit 4       3.1 kHz audio
  478.               Bit 5       7 kHz audio
  479.               Bit 6       video
  480.               Bit 7       packet mode
  481.               Bit 8       56 kBit/s rate adaption
  482.               Bit 9       unrestr. digital info. w/ tones
  483.               Bit 10..15  reserved
  484.  
  485.  *      S108  CAPI 2.0  CIP mask, high                          0
  486.               Bit 0       telephony
  487.               Bit 1       FAX group 2/3
  488.               Bit 2       FAX group 4, class 1
  489.               Bit 3       teletex, basic & mixed mode
  490.               Bit 4       teletex, basic & processable mode
  491.               Bit 5       teletex, basic mode
  492.               Bit 6       international interworking f. videotex
  493.               Bit 7       telex
  494.               Bit 8       X.400
  495.               Bit 9       X.200
  496.               Bit 10      7 kHz Telephony
  497.               Bit 11      video telephony, first connection
  498.               Bit 12      video telephony, second connection
  499.               Bit 13..15  reserved
  500.  
  501.  *      S109  CAPI 2.0  Info mask, low                        127
  502.               Bit 0       Cause info
  503.               Bit 1       Date/Time
  504.               Bit 2       Display
  505.               Bit 3       User-user info
  506.               Bit 4       Call progression
  507.               Bit 5       Facility
  508.               Bit 6       Charging info
  509.               Bit 7..15   reserved
  510.  
  511.  *      S110  CAPI 2.0  Info mask, high                         0
  512.               Bit 0..15   reserved
  513.  
  514.  *      S111  CAPI 2.0  CIP value                               2
  515.  
  516.  *{++}  S112  CAPI 2.0  Modem-Support, speaker mode             0
  517.               Bit 0       disable retrain
  518.               Bit 1       disable calling tone
  519.               Bit 3..2    guard tone
  520.                           00   none
  521.                           01   1800 hz
  522.                           10   550 hz
  523.               Bit 5..4    loudspeaker
  524.                           00   off
  525.                           01   on, while dialing & negotiation
  526.                           10   always on
  527.               Bit 7..6    speaker volume
  528.                           00   silent
  529.                           01   normal low
  530.                           10   normal high
  531.                           11   maximum
  532.  
  533.  *{++}  S113  CAPI 2.0  Modem Support: Max. Connect Rate        0
  534.                         0=adaptive
  535.  
  536.  
  537.     -----------------------------------------------------------------------
  538.                          cFos Modem String Register Chart
  539.     -----------------------------------------------------------------------
  540.  
  541.  *      &S0   CAPI 2.0  Bearer Capability, BC
  542.               string register of 14 bytes
  543.  
  544.  *      &S1   CAPI 2.0  Low Level Compatibility, LLC
  545.               string register of 17 bytes
  546.  
  547.  *      &S2   CAPI 2.0  High Level Compatibility, HLC
  548.               string register of 5 bytes
  549.  
  550. {++}    &S3   X.31  Call User Data
  551.               string register of 32 bytes
  552.  
  553.  
  554.  
  555.     -----------------------------------------------------------------------
  556.                           cFos Numerical Result Codes
  557.     -----------------------------------------------------------------------
  558.  
  559.          0     OK
  560.          1     CONNECT
  561.          2     RING
  562.          3     NO CARRIER
  563.          4     ERROR
  564.          5     ( not used )
  565.          6     NO DIALTONE
  566.          7     BUSY
  567.          8     NO ANSWER
  568.          9     ( not used )
  569.         10     ( not used )
  570.         11     RINGING
  571.