home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1998 July
/
PowerPlay0798.bin
/
Online
/
Cserve
/
CFOSPRO.LIB
/
MODEM.DOC
< prev
next >
Wrap
Text File
|
1997-07-29
|
26KB
|
644 lines
Note: An asterik '*' denotes that this option is only available
in cFos for CAPI 2.0.
{++} denotes that this command is only available in
'cFos Professional', i.e. when you register 'cFos'.
-----------------------------------------------------------------------
cFos Modem Command Set
-----------------------------------------------------------------------
? Show a small help screen of AT Commands and important
S-registers.
A Force Answer
Bn Select protocol ONLY for outgoing calls
0 X.75 without B3 protocoll, 64000bps ("ISDNC")
s22=2048, s26=2, s28=2048
1 V.110 async, 38400bps, 8n1 ("ISDNB")
s22=2048, s26=2, s28=2048
2 V.110 async, 19200bps, 8n1 ("ISDNA")
s22=2048, s26=2, s28=2048
3 TELES 128kbps Bundle Protocol
s22=2048, s26=2, s28=2048
4 X.75, Framelen=256, Win.Size=7 (ELINK mode)
s22=framelen, s26=7, s28=256
5 Datex-J (BTX), Framesize=130, Win.Size=7
s22=framelen, s26=7, s28=128
6 same as 5, but switches VT-100 on
7 analogue modem, if possible
8 PPP mode according to RFC1662 (see WHATSNEW)
9 CompuServe via BTX
10 V.110 async, 9600 bps, 8, n, 1
11 V.110 async, 9600 bps, 7, e, 1
12 V.120
{++} 13 X.31
{++} 14 Call to remote configure a remote cFos
'framelen' refers to the framelen set by -b switch on
commandline; all values are checked not to exceed the
commandline given settings
D.. Dial
F start a leased line connection
L dial last number
S dial stored number (hardcoded, 0=Zaphods BBS)
V flag connection as SPV
0..9 digits
A..D#* special "digits"
<nb>s dial number <nb> and flag connection as SPV
En Command Echo
0 echo off
1 echo on
Hn On/Off Hook control
0 on hook, terminate an active connection
1 off hook, reject an incoming call
In Inquiry
0 product identification and CAPI version and
manufacturer
1 status line output
2 last call statistics
4 last 10 CAPI info dumps
5 some CAPI infos (number of charging infos
and time/date infos) (not CFOSN)
6 some OS-dependant information on cFos
7 PPP statistics
* Ln Speaker volume control (only analogue calls with CAPI 2.0,
modifies S112)
0 silent
1 normal low
2 normal high
3 maximum
* Mn Speaker control (only analogue calls with CAPI 2.0,
modifies S112)
0 off
1 on while dialing & negotiation
2 always on
3 same as 1
Qn Quiet mode, result codes display
0 display result codes
1 suppress result code; be Quiet
Sr=n Set register r to value n (registers are unsigned 16bit ints)
Sr.b=n Set bit b to n
Sr,b=n Set bit b to n
Sr? Query register r
SrH=n Set high byte of register r to value n
SrL=n Set low byte of register r to value n
Vn Verbal mode
0 numeric result codes
1 verbal result codes
Xn Result code options
0 modem looks (i.e. responds) like a standard
9600 bps modem
1 enables CONNECT <rate>
2 enables RINGING
3 enables RING <incoming caller's id>
4 enables CONNECT[...]/<protocols..>
5 enables ?
6 enables /<cause> on ERROR, NO CARRIER, NO ANSWER
and NO DIALTONE
7 enables /V42B message after CONNECT
8 enables /PPP message after CONNECT
Zn Restore profile from number n (out of the file PROFILE).
This will further reregister the application at the CAPI.
If no number is given, 0 will be default.
Fn \
Kn |
Nn | ignored for compatibility
O |
P |
T /
-----------------------------------------------------------------------
cFos extended Modem Command Set
-----------------------------------------------------------------------
* &Ak=nnn Confihure the MSN k to number nnn. The AT&L resp. AT&E
commands use the numbers set with AT&A for to select
incoming calls resp. to set the calling number on
outgoing calls.
Example:
AT&A0=2233445 set 2233445 as MSN 0
AT&A1=1234567 set 1234567 as MSN 1
AT&A2=9876543 set 9876543 as MSN 2
{++} &Bn Number of Channels to use for 'cFos' Channel Bundling, for
next dial command
&Cn DCD override
0 DCD always high
1 DCD follows connection state: high=connection
active, low=no connection active
&Dn Status line
0 disable status line (default)
1 display status line, if port is initialized
2 display status line, if carrier is high
3 always display status line
&En EAZ: n = '0' ... '9': changes register 18. Default is
EAZ 0.
&F Reset to Factory defaults and reset. Does not clear
the accumulated charges
&G Accumulated costs management
0 Display accumulated costs in currency units
1 Clear accumulated costs
&H<str> This sets the hangup string to "+++<str><cr>". E.g. this
enables setting the hangup sequence to "+++ATHE1<cr>"
for the pcANYWHERE "Hayes compatible modem". Default is
<str> = "ATH0", i.e. the hangup-sequence is
"+++ATH0<cr>".
&I.. Listen to services; changes register 14; takes
'A' (Analog or Audio) and/or 'D' (Data or Digital) as
parameter. Use register S44 to select mode for analogue
calls.
&Kn Enable/Disable inband-negotiation / V.42bis)
0 disable both
1 enable negotiation and V.42bis
2 enable negotiation without V.42bis
&Lnnn Listen to what EAZ's; changes register 13;
takes multiple digits or '*' for all. Default is all EAZ.
&Mn Select bundling mode.
0 static bundling
1 dynamic bundling
&Onnn Outdial Number. This number will be used as prefix for
all phone numbers dialed with the ATD command. Default is
none.
{++} * &Pnnn Called Subaddress (CAPI 2.0). Default is none.
&Rn Reregister the application if all ports are idle; use
&R1 to force reregister (and lockout of all active
connections!)
&Sn=.. Set string register
&Sn? Query string register
&T TRANX: set the clock to the actual time/date (gotten from
the last connection attempt).
{++} * &Unnn Calling Subaddress (CAPI 2.0 and X.31)
&Vn View profile, screens 0-2 (n=screen #)
&Wn Write profile to number n (into a file named PROFILE). If
no number is given, it defaults to 0.
{++} &Xn n=1, X.31 activate, n=0, X.31 deactivate
-----------------------------------------------------------------------
cFos Modem Register Chart
-----------------------------------------------------------------------
Reg# Description Default
S0 Auto Answer on (>=1) / off (==0) 0
S1 Ring count 0
S2
S3 ASCII Carriage Return (only used to detect 13
the end of a modem command)
S4 ASCII Line Feed (only used in modem command 10
evaluation)
S5 ASCII Backspace (only used to detect a 8
backspace in modem command evaluation)
S6 Column of callerid display (only if s10.1 == 1, 61
at&d1 or at&d2; used together with s11 (line))
S7 Number of seconds modem waits for a carrier 60
S8
S9 Bit-mapped register: 32737
.0 enable any further result code
.1 enable CONNECT <rate>, otherwise
CONNECT 9600 is always returned
.2 enable RINGING
.3 enable RING followed by <number>, style depends
on S10.3
.4 enable /X75.. after CONNECT
.5 enable ERROR/<cause>
.6 enable NO CARRIER/<cause> and
NO CARRIER/CHARGE=..
.7 enable /V42B after CONNECT
.8 enable /PPP after CONNECT
S10 Bit-mapped register: Default: 0
.0 enable CONNECT.../ID=<callerid>
.1 disable full status line, just display the callerid
on the left side
.2 display numerical values for service indicator /
add. si instead of names
.3 display the callerid, requested eaz, si/add si on
a RING like RING 1234/EAZ1/07/00, in spite of the
default method: RING<cr>ID=1234/EAZ1/07/00
.4 enable +++ATH0<CR> hangup sequence in BIOS emulator
mode (and disable hangup on baudrate change)
.5 (obsolete)
.6 disable multiple CallerID's
{++} .7 display the baudrate specified in register S47
on CONNECT messages
.8 reject calls with no CallerID
{++} .9 enable 'Audible RING': each RING message
activates a small ringer
.10 (reserved)
.11 1=disable disconnect on port close (cFos/Win)
.12 handle DTR like: 0=COM.SYS, 1=SIO (cFos/2)
on port open/close and set_DCB IOCTL; see
README.OS2 for more details.
{++} .13 ignore '?' and 'R' modifiers on incoming
cFos Channel Bundling calls.
S11 Status line line number (0 - screen length-1) 0
Note: only displayed if AT&D1 or AT&D2
S12 Nummer of 1/18 sec. to wait before CONNECT 50
message.
S13 Serviced EAZ Mask 2
Every bit from bit0.. bit9 enables RING on
this EAZ ('0' - '9')
ex: 0000000010b answer on '1'
0100000000b answer on '8'
0001111111b answer on '0' - '6'
1111111111b answer all calls
This register is also modified by the AT&L... command.
S14 Serviced SI Mask 0x80
Every bit enables a service 'cFos' listens to
Bit 0 videophone
Bit 1 telephone
Bit 2 a/b-services
Bit 3 X.21-services
Bit 4 telefax (Group 4)
Bit 5 BTX (64 kbits/s)
Bit 7 data transmission (64 kbits/s)
Bit 8 X.25-services
Bit 9 teletex 64
Bit 10 mixed mode
Bit 15 BTX (new standard)
S15 B-Channel Identification (ffs. 1.TR.6, 0x83
3.2.3.4.4.7)
S16 Source Service Indicator 7
S17 Source Additional Service Indicator 0
S18 Source EAZ (character: '0'=48.. '9'=57) '0'
Sent with connect_req message; maybe this has
to be changed on PBX systems.
This register is also modified by an AT&En
command.
S19 Inactivity timer: modem disconnects if 0
no traffic in N minutes; 0==disabled
S20 B-Channel, level 2 protocol 1
1 X.75 SLP Basis Operation Mode,
mit Implementation Rules nach T.90
2 Transparent-HDLC mit Bit-Stuffing,
Frame-Erkennung und CRC-Check
3 Bittransparent
4 SNA-SDLC
5 X.75 Btx
6 T.30
7 LAPD
8 V.110 mit transparentem B2 protokoll
9 V.110 SNA-SDLC
10 V.110 X.75 SLP nach T.90
S21 B-Channel, level 3 protocol 4
1 T70 NL für Leitungsvermittlung (CSPDN)
2 ISO 8208 (DTE/DTE)
3 Level 3 according to T.90, Appendix II
4 transparent
5 T.30
S22 SELECT_B2_PROTOCOL_REQ: Data-length 2048
S23 SELECT_B2_PROTOCOL_REQ: Link-Address-A 3
S24 SELECT_B2_PROTOCOL_REQ: Link-Address-B 1
S25 SELECT_B2_PROTOCOL_REQ: Modulo-Mode 8
S26 SELECT_B2_PROTOCOL_REQ: Window-Size 2
S27 SELECT_B2_PROTOCOL_REQ: V.110 user rate 64
S28 Maximum SEND B2-Framesize 2048
S29 B3-Protocol-Overhead in Bytes 0
b3 == 1 (t70nl): 2
b3 == 2 (iso8208): 3
b3 == 4 (transparent): 0
S30 SELECT_B3_PROTOCOL_REQ: LIC 0
S31 SELECT_B3_PROTOCOL_REQ: HIC 0
S32 SELECT_B3_PROTOCOL_REQ: LTC 1
S33 SELECT_B3_PROTOCOL_REQ: HTC 1
S34 SELECT_B3_PROTOCOL_REQ: LOC 0
S35 SELECT_B3_PROTOCOL_REQ: HOC 0
S36 SELECT_B3_PROTOCOL_REQ: Modulo-Mode 8
* S37 SELECT_B3_PROTOCOL_REQ: Window-Size 2
(CAPI 2.0 only)
S39 Numbering Type/Plan 0x80
S40 Controller 0
S41 Info-Mask-low 63
S42 Info-Mask-high 0
S43 Default V.110 user rate & Protocol 64
(CAPI 1.1 only)
S44 Audio Mode for incoming calls 0
0 Voice mode
1 Modem mode
{++} * S45 X.25 / X.31 delivery confirmation, CAPI 2.0 0
{++} * S46 X.25 / X.31 group/channel, CAPI 2.0 0
{++} S47 Baudrate to return on CONNECT, if S10.7=1 9600
{++} S48 Suppress the first <S48> RINGs. 0
{++} S49 number of digits of caller id to ignore 0
(from right to left) when called with CCB
S50 \
S51 |
S52 | Default Additional Service Indicator and B2-Protocol
S53 | for every EAZ:
S54 | If the incoming AddSI is 0 then we get the AddSI
S55 | from the low byte of register 50+EAZ; the B2-Protocol
S56 | is got from the high byte.
S57 | (CAPI 1.1 only)
S58 |
S59 /
S60 Charge limit, main port \
S61 Charge limit, aux. port |
S62 Time limit, main port (secs) |
S63 Time limit, aux. port (secs) |
S64 Lower cps limit | {++} see CFOS.DOC, chapter 12
S65 Upper cps limit |
S66 Charge simulation timer |
S67 Pre-off disconnect time |
S68 Connect tries |
S69 Delay between dyn.CCB tries /
{++} S70 Cost of one charging unit (Pfennig, Groschen,Cent,...)
{++} S71 Amount of money: charging units * S70 (Pfennig, Groschen,..)
{++} S72 Amount of money: charging units * S70 (DM, Schilling,..)
{++} * S73 Suppress CallerID (CAPI 2.0 only): 0
Bit 0..9 for MSN 0..9.
Example: S73.0=1 suppress caller ID of
MSN 0 (set by AT&A0=...)
S75 internal use, do not change
.7 do not send wake-up PPP frame at session start
S76 protocol selection for incoming calls without service
signalling: 0 = use X.75, 1 = use outgoing protocols
(default: 0)
S77 What to do, if the string "01910" is found 0
in the number of an outgoing call:
0 nothing changes (default)
1 act as if ATB5 was set
2 act as if ATB6 was set
3 act as if ATB9 was set
S78 [cFos/2 only] Delay between CONNECT message and received
first data in 1/18 sec. 0=disabled. Default=0
S79 Number of channels allowed for incoming CCB 0
on this port
0=all
1=no further auxport (i.e. disable incoming CCB)
S80 Fax support: Vertical resolution: 1=high 0
S81 Fax support: Bit-mapped register: 15
.0 enable +FCLASS=0
.1 enable +FCLASS=1
.2 enable +FCLASS=2
.3 enable +FCLASS=2.0
.7 enable +FET: response
S82 Fax support: minimum scan time per line 0
S99 internal use, do not change
-----------------------------------------------------------------------
The following registers, marked with (*) are reserved for cFos
for CAPI 2.0.
* S100 CAPI 2.0 B1 Protocol 0
0 64 kBit/s, HDLC framing (CAPI 2.0 default)
1 64 kBit/s, bit transparent
2 V.110 async, w/ start/stop byte framing
3 V.110 sync, w/ HDLC framing
4 T.30 for FAX group 3
5 64 kBit/s inverted w/ HDLC framing
6 56 kBit/s, bit transparent
* S101 CAPI 2.0 B2 Protocol 0
0 ISO 7776 (X.75 SLP) (CAPI 2.0 default)
1 Transparent
2 SDLC
3 LAPD, Q.921 for D channel X.25
4 T.30 for FAX group 3
5 Point to Point Protocol (PPP)
6 Transparent (ignoring framing errors of B1)
* S102 CAPI 2.0 B3 Protocol 0
0 Transparent (CAPI 2.0 default)
1 T.90NL w/ compatibility to T.70NL
2 ISO 8208 (X.25 DTE-DTE)
3 X.25 DCE
4 T.30 for FAX group 3
* S103 CAPI 2.0 B1 Protocol Config, Rate 0
* S104 CAPI 2.0 B1 Protocol Config, Bits per Char 8
* S105 CAPI 2.0 B1 Protocol Config, Parity 0
0=no, 1=odd, 2=even
* S106 CAPI 2.0 B1 Protocol Config, Stop Bits 0
0=1 stop bit, 1=2 stop bits
* S107 CAPI 2.0 CIP mask, low 4
Bit 0 don't provide CIP value
(all other bits must be 0)
Bit 1 speech
Bit 2 unrestricted digital information
Bit 3 restricted digital information
Bit 4 3.1 kHz audio
Bit 5 7 kHz audio
Bit 6 video
Bit 7 packet mode
Bit 8 56 kBit/s rate adaption
Bit 9 unrestr. digital info. w/ tones
Bit 10..15 reserved
* S108 CAPI 2.0 CIP mask, high 0
Bit 0 telephony
Bit 1 FAX group 2/3
Bit 2 FAX group 4, class 1
Bit 3 teletex, basic & mixed mode
Bit 4 teletex, basic & processable mode
Bit 5 teletex, basic mode
Bit 6 international interworking f. videotex
Bit 7 telex
Bit 8 X.400
Bit 9 X.200
Bit 10 7 kHz Telephony
Bit 11 video telephony, first connection
Bit 12 video telephony, second connection
Bit 13..15 reserved
* S109 CAPI 2.0 Info mask, low 127
Bit 0 Cause info
Bit 1 Date/Time
Bit 2 Display
Bit 3 User-user info
Bit 4 Call progression
Bit 5 Facility
Bit 6 Charging info
Bit 7..15 reserved
* S110 CAPI 2.0 Info mask, high 0
Bit 0..15 reserved
* S111 CAPI 2.0 CIP value 2
0 no defined profile
1 speech
2 unrestricted digital information
3 restricted digital information
4 3.1 kHz audio
5 7 kHz audio
6 video
7 packet mode
8 56 kBit/s rate adaption
9 unrestr. digital info. w/ tones
10..15 reserved
16 telephony
17 FAX group 2/3
18 FAX group 4, class 1
19 teletex, basic & mixed mode
20 teletex, basic & processable mode
21 teletex, basic mode
22 international interworking f. videotex
23 telex
24 X.400
25 X.200
26 7 kHz Telephony
27 video telephony, first connection
28 video telephony, second connection
*{++} S112 CAPI 2.0 Modem-Support, speaker mode 0
Bit 0 disable retrain
Bit 1 disable calling tone
Bit 3..2 guard tone
00 none
01 1800 hz
10 550 hz
Bit 5..4 loudspeaker
00 off
01 on while dialing & negotiation
10 always on
Bit 7..6 speaker volume
00 silent
01 normal low
10 normal high
11 maximum
*{++} S113 CAPI 2.0 Modem Support: Max. Connect Rate 0
0=adaptive
-----------------------------------------------------------------------
cFos Modem String Register Chart
-----------------------------------------------------------------------
* &S0 CAPI 2.0 Bearer Capability, BC
string register of 14 bytes
* &S1 CAPI 2.0 Low Level Compatibility, LLC
string register of 17 bytes
* &S2 CAPI 2.0 High Level Compatibility, HLC
string register of 5 bytes
{++} &S3 X.31 Call User Data
string register of 32 bytes
-----------------------------------------------------------------------
cFos Numerical Result Codes
-----------------------------------------------------------------------
0 OK
1 CONNECT
2 RING
3 NO CARRIER
4 ERROR
5 ( not used )
6 NO DIALTONE
7 BUSY
8 NO ANSWER
9 ( not used )
10 ( not used )
11 RINGING