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