home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1996 October / PCO_10.ISO / filesbbs / cfos2.arj / MODEM.DOC < prev    next >
Encoding:
Text File  |  1996-09-05  |  21.7 KB  |  545 lines

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