Modem ATCmd Ref
Modem ATCmd Ref
for
AT COMMANDS INDEX
A) BASIC AT COMMANDS A/ - Re-execute Command AT=x - Write to selected S-Register AT? - Read selected S-Register A - Answer Bn - CCITT or Bell Dn - Dial En - Command Echo Fn - Select Line Modulation (CH1794 only) Hn - Disconnect Hang Up) In - Identification Ln - Speaker Volume Mn - Speaker Control Nn - Automode Enable(CH179X only) On - Return to On-Line Data Mode P - Set Pulse Dial Default Qn - Quiet Results Codes Control Sn - Read/Write S-Register T - Set Tone Dial Default Vn - Result Code Form Wn - Connect Message Control (CH179X only) Xn - Extended Result Codes Table 1. Result Codes Yn - Long Space Disconnect Zn - Soft Reset and Restore Profile Page # 2 2 2 2 2 2 3 4 4 6 6 7 7 7 8 8 8 8 9 9 9 10 11-12 13 13 13 13 13 14 14 14 15 15 15 16 16 16 17 18 18 18
B) AT& COMMANDS &Cn - RLSD (DCD) Option &Dn - DTR Option &Fn - Restore Factory Configuration (Profile) &Gn - Select Guard &Jn - Telephone Jack Control &Kn - Flow Control (CH179X only) &Mn - Asynchronous/Synchronous Mode Selection &Pn - Select Pulse Dial Make/Break Ratio &Qn - Sync/Async Mode &Sn - DSR Override &Tn - Test and Diagnostics &V - Display Current Configuration and Stored Profiles &Wn - Store Current Configuration &Yn - Designate a Fault Reset Profile &Zn=x - Store Telephone Number
Page # 18 18 19 19 19 19
20 20 20 20 21 22 22 23 23-25 25 26 26-30 30 31-32 32-33 33-44 44
AT COMMAND SET REFERENCE GUIDE FOR CH1786, CH1794, CH1798 & CH1799
AT Commands A command line is a string of characters sent from a DTE to the modem (DCE) while the modem is in a command state. A command line has a prefix, a body, and a terminator. Each command line (with the exception of the A/command) must begin with the character sequence AT and must be terminated by a carriage return. Commands entered in upper case or lower case are accepted, but both the A and T must be of the same case, i.e., AAT@=ASCII 065, 084 or Aat@=ASCII 097, 116. The body is a string of commands restricted to printable ASCII characters (032-126). Space characters (ASCII 032) and control characters other than CR (ASCII 013) and BS (ASCII 010) in the command string are ignored. The default terminator is the ASCII <CR> character. Characters that precede the AT prefix are ignored. The command line interpretation begins upon receipt of the carriage return character. Characters within the command line are parsed as commands with associated parameter values. The basic commands consist of single ASCII characters, or single characters preceded by a prefix character (e.g., A&@), followed by a decimal parameter. Missing decimal parameters are evaluated as 0. The modem supports the editing of command lines by recognizing a backspace character. When modem echo os enabled, the modem responds to receipt of a backspace or delete by echoing a backspace character, a space character, and another backspace. The hex value to be used for the backspace character is programmable through register S5. Values equal to 0 or greater than 127, or the value which corresponds to the carriage return character, cannot be used for the backspace character. This editing is not applicable to the AT header of a command. A command line may be aborted at any time by entering <cntrl-x> (18h). The AT sequence may be followed by any number of commands in sequence, except for commands such as Z, D, or A. Commands following commands Z, D, or A on the same command line will be ignored. The maximum number of characters on any command line is 39 (including A and T). If a syntax error is found anywhere in a command line command, the remainder of the line will be ignored and the ERROR result code will be returned. Most commands entered with parameters out of range will not be accepted and the ERROR response will be returned to the DTE. Commands will only be accepted by the modem once the previous command has been fully executed, which is normally indicated by the return of an appropriate result code. Execution of commands D and A, either as a result of a direct command or a re-execute command, will be aborted of another character is entered before completion of the handshake.
Page 1
Escape Code Sequence When the modem has established a connection and has entered on-line data mode, it is possible to break into a data transmission in order to issue further commands to the modem in an on-line command mode. This is achieved by the DTE sending to the modem a sequence of three ASCII characters specified by register S2. The default character is >+=. The maximum time allowed between receipt of the last character of the three escape character sequence from the DTE and sending of the OK result code to the DTE is controlled by the S12 register. AT Command Set The modem will respond to the commands detailed below. Parameters applicable to each command are listed with the command description. The defaults shown for each configuration command are those used in the Rockwell factory profile 0.
A)
BASIC AT COMMANDS
A/- Re-execute Command The modem behaves as though the last command line had been re-sent by the DTE. AA/@ will repeat all the commands in the command buffer. The principal application of this command is to place another call (using the Dial command) that failed to connect due to a busy line, no answer, or a wrong number. This command must appear alone on a command line. This command should not be terminated by a carriage return. AT= x - Write to Selected S-Register This command writes the value x to the currently selected S-Register. An S-Register can be selected by using the ATSn command. All of the S-Registers will return the OK response if x is a number. Some registers may not be written due to country specific PTT limitations. Result Codes: OK For all arguments. AT? - Read Selected S-Register This command reads and displays the selected S-Register. An S-Register can be selected by using the ATSn command. Result Codes: OK For all arguments. A - Answer The modem will go off-hook and attempt to answer an incoming call if correct conditions are met. Upon successful completion of answer handshake, the modem will go on-line in answer mode. This command may be affected by the state of Line Current Sense, if enabled. (Most countries do not require Line Current Sense.) Bn - CCITT or Bell When the modem is configured to allow either option, the modem will select Bell or CCITT modulation for a line speed connection of 300 or 1200 bps according to the parameter supplied. Any other line speed will use a CCITT modulation standard. The parameter value, if valid, is written to S27 bit 6. (Also, see ATFn command.)
Page 2
B0
Selects CCITT operation at 300 or 1200 bps during Call Establishment and a subsequent connection. Selects BELL operation at 300 or 1200 bps during Call Establishment and a subsequent connection. (Default) n=0 or 1. Otherwise.
Dn - Dial This command directs the modem to go on-line, dial according to the string entered and attempt to establish a connection. If no dial string is supplied, the modem will go on-line and attempt the handshake in original mode. In W-class models, the action of going off-hook is affected by the status of the Line Current Sense input, if line current sensing is enabled, and by the blacklist and delayed list. NOTE: If the ATD command is issued before the S1 register has cleared, the modem will respond with the NO CARRIER result code. Dial Modifiers. The valid dial string parameters are described below. Punctuation characters may be used for clarity, with parentheses, hyphen, and spaces being ignored. 0-9 * A-D DTMF digits 0 to 9. The >star= digit (tone dialing only). DTMF digits A, B, C and D. Some countries may prohibit sending of these digits during dialing. Re-dial last number: the modem will re-dial the last valid telephone number. The L must be immediately after the D with all the following characters ignored (CH1798/94 only). Select pulse dialing: pulse dial the numbers that follow until a AT@ is encountered. Effects current and subsequent dialing. Some countries prevent changing dialing modes after the first digit is selected. Select tone dialing: tone dial the numbers that follow until a AP@ is encountered. Effects current and subsequent dialing. Some countries prevent changing dialing modes after the first digit is dialed. Dial the number stored in the directory (n=0 to 3). (See &Z)> Flash: the modem will go on-hook for a time defined by the value of S29. Country requirements may limit the time imposed.
S=n !
Page 3
Wait for the dial tone: the modem will wait for dial tone before dialing the digits following W. If dial tone is not detected with in the time specified by S6, the modem will abort the rest or the sequence, return on hook, and generate an error message. @ Wait for silence: the modem will wait for at least 5 seconds of silence in the call progress frequency band before continuing with the next dial string parameter. If the modem does not detect these 5 seconds of silence before the expiration of the call abort timer (S6), the modem will terminate the call attempt with a NO ANSWER message. If busy detection is enabled, the modem may terminate the call with the BUSY result code. If answer tone arrives during execution of this parameter, the modem handshakes. Wait for credit card dialing tone before continuing with the dial string. If the tone is not detected within the time specified by S7, the modem will abort the rest of the sequence, return on-hook and generate an error message (for CH1798/94 only). Dial pause: the modem will pause for a time specified by S8 before dialing the digits following @,@. Return to command state. Added to the end of a dialstring, this causes the modem to return to the command state after it processes the portion of the dial string preceding the A,@. This allows the user to issue additional AT commands while remaining off-hook. The additional AT commands may be placed in the original command line following the A,@ and/or may be entered on subsequent command lines. The modem will enter call progress only after an additional dial command is issued without the A,@ terminator. Use AH@ to abort the dial in progress, and go back on-hook. Toggles calling tone enable/disable: applicable to current dial attempt only (CH 1798/94 only).
&
En - Command Echo The modem enables or disables the echo og characters to the DTE according the parameter supplied. The parameter value, if valid, is written to S14 bit 1. E0 Disables command echo. E1 Enables command echo. (Default) Result Codes: OK n=0 or 1. ERROR Otherwise. Fn - Select Line Modulation (CH1794 only) This command selects the line modulation according to the parameter supplied. The line modulation is fixed unless Automode is selected. This command interacts with the S37 and the N command. The parameter value, if valid, is written to S37 bits 0-4. To select line modulation, it is recommended that either the F command, or a combination of the S37 and the N command, be used, but not both.
Page 4
F0
Selects auto-detect mode. Sets N1 and sets S31 bit 1. In this mode, the modem configures for automode operation. All connect speeds supported by the modem are possible according to the remote modems preference. The contents of S37 are ignored as is the sensed DTE speed. Selects V.21 or Bell 103 according to the B setting as the only acceptable line speed resulting in a subsequent connection. Sets N0, sets S37 to 1, and clears S31 bit 1. This command is equivalent to the command string: ATN0S37=1. Not supported. Selects V.23 as the only acceptable line modulation for a subsequent connection. Originator is at 75 bps and answered is at 1200 bps. Sets N0, sets S37 to 7, and clears S31 bit 1. This command is equivalent to the command string: ATN0S37=7. Selects V.22 1200 or Bell 212A according to the B command setting as the only acceptable line speed for a subsequent connection. Sets N0, sets S37 to 5, and clears S31 bit 1. This command is equivalent to the command string: ATN0S37=5. Selects V.22 bis as the only acceptable line modulation for a subsequent connection. Sets N0, sets S37 to 6, and clears S31 bit 1. This command is equivalent to the command string: ATN0S37=6. Selects V.32 bis 4800 or V.32 4800 as the only acceptable line modulation for a subsequent connection. Sets N0, sets S37 to 8, and clears S31 bit 1. This command is equivalent to the command string: ATN0S37=8. Selects V.32 bis 7200 as the only acceptable line modulation for a subsequent connection. Sets N0, sets S37 to 12, and clears S31 bit 1. This command is equivalent to the command string: ATN0S37=12. This setting also allows connection at the Rockwell proprietary 7200 V.32 speed, e.g., with a RC9696/12 based modem.
F1
F2 F3
F4
F5
F6
F7
F8
Selects V.32 bis 9600 or V.32 9600 as the only acceptable line modulations for a subsequent connection. Sets N0, sets S37 to 9, and clears S31 bit 1. This command is equivalent to the command string: ATN0S37=9. Selects V.32 bis 12000 as the only acceptable line modulations for a subsequent connection. Sets N0, sets S37 to 10, and clears S31 bit 1. This command is equivalent to the command string: ATN0S37=10. Selects V.32 bis 14000 as the only acceptable line modulation for a subsequent connection. Sets N0, sets S37 to 11, and clears S31 bit 1. This command is equivalent to the command string: ATN0S37=11.
F9
F10
Page 5
Hn - Disconnect (Hang-up) This command initiates a hang up sequence. This command may not be available for some countries due to PTT restrictions. H0 The modem will release the line if the modem is currently on-line, and will terminate any test (AT&T) that is in progress If on-hook, the modem will go off-hook and enter command mode.
In - Identification The modem reports to the DTE the requested result according to the command parameter. 10 11 Reports product code. Example 28800. Calculates the ROM checksum and reports the least significant byte of the checksum in decimal (see firmware release notes). Reports 255 if the prestored checksum value is Ffh. Reports 194 for CH1786. Calculates the ROM checksum and compares it with the prestored checksum. Reports AOK@ if the calculated checksum equals the prestored checksum or if the prestored checksum value is Ffh; otherwise reports AERROR@. Reports the firmware version (F), basic model (e.g., V34), application code (A), and interface type code (I) typically in the form VF.FFF-V34_AI. The application codes are: D=Desktop, L=Low Power (PCMCIA). The interface type codes are: S=Serial, P=Parallel. Example: V1.400-V34_DS
12
13
Note: 14 to 17 are for CH179X only. 14 Reports OEM defined identifier string in either Hayes-compatible binary format (default) or ASCII format (selected by Configure ACE). Example: RC288ACi (ASCII) Reports Country Code parameter. Example: 022 Reports modem data pump model and internal code revision. Example: RC288DPi Rev 05A Reports the DAA code resulting from MCU interrogation of the DAA for auto DAA recognition. Examples: 000 for US or Canada, 016 for Japan, 033 for Belgium, 034 for Finland, 035 for France, 037 for Italy, 038 for Netherlands, 039 for Sweden, 040 for Switzerland, and 041 for UK.
15 16
17
Ln - Speaker Volume The modem sets the speaker volume control according to the parameter supplied. The parameter value, if valid, is written to S22 bits 0 and 1. L0 Low volume. L1 Low volume. (Default for CH1798/94) L2 Medium volume. (Default for CH1786) L3 High volume. Result Codes: OK n=0 to 3. ERROR Otherwise. Mn - Speaker Control This command selects when the speaker will be on or off. The parameter value, if valid, is written to S22 bits 2 and 3. M0 Speaker is always off. M1 M2 M3 Speaker is on during call establishment, but off when receiving carrier. (Default.) Speaker is always on. Speaker is OFF when receiving carrier and during dialing, but ON during answering,
Result Codes: OK n=0to 3. ERROR Otherwise. Nn - Automode Enable (CH179X only) This command enables or disables automode detection. The parameter value, if valid, is written to S31 bit 1. N0 Automode detection is disabled (equivalent to setting the +MS <automode> subparameter to 0). A subsequent handshake will be conducted according to the contents of S37 or, if S37 is zero, according to the most recently sensed DTE speed. N1 Automode detection is enables (equivalent to setting the +MS <automode> subparameter to 1). A subsequent handshake will be conducted according the automode algorithm supported by the modem, e.g., according to the contents of S37 or, if S37 is zero, starting at 28800 bps V.34 (RC288). This command is also equivalent to F0 (RC144). (Default.)
Result Codes: OK n=0 or 1. ERROR Otherwise. Notes: 1. The Nn and S37=x commands override the +MS command settings. When the N0 or N1 command is issued, the +MS subparameters are updated to reflect the Nn and S37 values (see +MS command and S37 register). For example:
+MS=10-,1,300,12000 N0S37=10 updates the +MS command subparameters to reflect +MS=10,0,12000,12000 2. Use of the +MS command is recommended instead of the Nn and S37=x commands. Nn and S37=x commands are supported for compatibility with existing communication software.
On - Return to On-Line Data Mode This command determines how the modem will enter the on-line data mode. If the modem is the on-line command mode, the enters the on-line data mode with or without a retrain. If the modem is in the off-line command mode (no connection), ERROR is reported. O0 Enters on-line data mode without a retrain. Handling is determined by the Call Establishment task. Generally, if a connection exists, this command connects the DTE back to the remote modem after an escape (+++). O1 Enters on-line data mode with a retrain before returning to on-line data mode. Result Codes: OK =0 or 1 and a connection exists. ERROR Otherwise or if not connected. P - Set Pulse Dial Default This command forces pulse dialing until the next T dial modifier or T command is received. Sets S14 bit 5. As soon as a dial command is executed which explicitly specifies the dialing mode for that particular call (e.g., ATDT...), this command is overridden so that all future dialing will be tone dialed. (See T command.) This command may not be permitted in some countries. Result Code: OK Qn - Quiet Results Codes Control The command enables or disables the sending of result codes to the DTE according to the parameter supplied. The parameter value, if valid, is written to S14 bit 2. Q0 Enables result codes to the DTE. (Default.) Q1 Disables result codes to the DTE. Result Codes: OK n=0 or 1. ERROR Otherwise. Sn - Read/Write S-Register The modem selects an S-Register, performs an S-Register read or write function, or reports the value of an S-Register.
Page 8
Establishes S-Register n as the last register accessed. n=v Sets S-Register n to the valve v. n? Reports the value of S-Register n.
The parameter n can be omitted, in which case the last S-Register accessed will be assumed. The S can be omitted for AT=and AT?, in which case the last S-Register accessed will be assumed. For example: ATS7 establishes S7 as the last accessed register. AT=40 sets the contents of the last register accessed to 40. ATS=20 sets the contents of the last register accessed to 20. If the number An@ is beyond the range of the S-Registers available, the modem will return the ERROR message. Note that some S-Registers are read-only. In some cases, writing to the S-Register will appear to be accepted but the value will not actually be written. Due to country restrictions, some commands will be accepted, but the value may be limited and replaced by a maximum or minimum value. T - Set Tone Dial Default This command forces DTMF dialing until the next P dial modifier or P command is received. The modem will set an S-Register bit to indicate that all subsequent dialing should be conducted in tone mode. Note that the DP command will override this command. Clears S14 bit 5. This command may not be permitted in some countries. (See P.) Result Codes: OK Vn - Result Code Form This command selects the sending of short-form or long-form codes to the DTE. The parameter, if valid, is written to S14 bit 3. V0 Enables short-form (terse) result codes. Line feed is not issued before a shortform result code. V1 Enables long-form (verbose) result codes. (Default.) Result Codes: OK n=0 or 1. ERROR Otherwise. Wn - Connect Message Control (CH179X only) This command controls the format of CONNECT messages. The parameter value, if valid, is written to S31 bits 2 and 3. Note that the Wn command can be overridden by register S95 bits (see S95 description). W0 Upon connection, the modem reports only the DTE speed (e.g., CONNECT 19200). Subsequent responses are disabled. (Default.) W1 Upon connection, the modem reports the line speed, the error correction protocol, and the DTE speed, respectively. Subsequent responses are disabled. W2 Upon connection, the modem reports the DCE speed (e.g., CONNECT 19200). Subsequent responses are disabled. Page 9
Xn - Extended Result Codes: This command selects which subset of the result messages will be used by the modem to inform the DTE of the results of commands. Blind dialing is enabled or disabled by country parameters. If the user wishes to enforce dial tone detection, a AW@ can be placed in the dial string (see D command). Note that the information below is based upon the default implementation of the X results table. Table 3-1 indicates the messages which are enabled for each X value. If the modem is in facsimile mode (+FCLASS=1 or 2), the only message sent to indicate a connection is CONNECT without a speed indication. X0 Disables monitoring of busy tones unless otherwise by country requirements; send only OK, CONNECT, RING, NO CARRIER, ERROR, and NO ANSWER result codes. Blind dialing is enabled/ disabled by country parameters. If busy tone detection is enforced and busy tone is detected, NO CARRIER will be reported instead of NO DIAL TONE. The value 000b is written to S22 bits 6, 5, and 4, respectively (Busy signal and dial tone are not detected in CH1786.) Disables monitoring of busy tones unless forced otherwise by country requirements; send only OK, CONNECT, RING, NO CARRIER, ERROR, NO ANSWER, and CONNECT XXXX (XXXX=rate). Blind dialing enabled/disabled by country parameters. If busy tone detection is enforced and busy tone is detected, NO CARRIER will be reported instead of BUSY. If dial tone detection is enforced or selected and dial tone is not detected, NO CARRIER will be reported instead of NO DIAL TONE. The value 100b is written to S22 bits 6, 5, and 4, respectively (Busy signal and dial tone are not detected in CH1786). Disables monitoring of busy tones unless forced otherwise by country requirements; send only OK, CONNECT, RING, NO CARRIER, ERROR, NO DIAL TONE, NO ANSWER, and CONNECT XXXX. If busy tone detection is enforced and busy tone is detected, NO CARRIER will be reported instead of BUSY. If dial tone detection is enforced or selected and dial tone is not detected, NO DIAL TONE will be reported instead of NO CARRIER. The value 101b is written to S22 bits 6, 5, and 4, respectively. Enables monitoring of busy tones; send only OK, CONNECT, RING, NO CARRIER, ERROR, NO ANSWER, and CONNECT XXXX. Blind dialing is enabled/disabled by country parameters. If dial tone detection is enforced and dial tone is not detected, NO CARRIER will be reported. The value 110b is written to S22 bits, 6, 5, and 4, respectively (Dial tone is not detected in CH1786). Enables monitoring of busy tones; send all messages. The value 111b is written to S22 bits 6, 5, and 4, respectively. (Default).
X1
X2
X3
X4
Page 10
Table 1. Result Codes Short Form 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 22 23 24 32 33 35 40 44 45 46 47 Long Form OK CONNECT RING NO CARRIER ERROR CONNECT 1200 NO DIAL TONE BUSY NO ANSWER CONNECT 0600 CONNECT 2400 CONNECT 4800 CONNECT 9600 CONNECT 7200 CONNECT 12000 CONNECT 14400 CONNECT 19200 CONNECT 38400 CONNECT 57600 CONNECT 115200 CONNECT 75TX/1200RX CONNECT 1200TX/75RX DELAYED BLACKLISTED FAX DATA CARRIER 300 CARRIER 1200/75 CARRIER 75/1200 CARRIER 1200 CARRIER 2400 0 x x x x x 1 3 3 x 1 1 1 1 1 1 1 1 1 1 1 1 1 4 4 x x x x x x x 1 x x x x x x 3 3 x x x x x x x x x x x x x x 4 4 x x x x x x x 2 x x x x x x x 3 x x x x x x x x x x x x x x 4 4 x x x x x x x 3 x x x x x x x x x x x x x x x x x x x x x x 4 4 x x x x x x x 4 x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x * * CH1794 and up CH1794 and up CH1794 and up CH1794 and up CH1794 and up * Notes 0 * * * * * * * *
Page 11
Long Form CARRIER 4800 CARRIER 7200 CARRIER 9600 CARRIER 12000 CARRIER 14400 CARRIER 16800 CARRIER 19200 CARRIER 21600 CARRIER 24000 CARRIER 26400 CARRIER 28800 CONNECT 16800 CONNECT 21600 CONNECT 24000 CONNECT 26400 CONNECT 28800 COMPRESSION: CLASS 5 COMPRESSION: V.42 bis COMPRESSION: NONE PROTOCOL: NONE PROTOCOL: LAPM PROTOCOL: ALT CONNECT 33600 CONNECT 31200 CONNECT 32000 +FCERROR
0 x x x x x x x x x x x 1 1 1 1 1 x x x x x x x x
1 x x x x x x x x x x x x x x x x x x x x x x x x x x
2 x x x x x x x x x x x x x x x x x x x x x x x x x x
3 x x x x x x x x x x x x x x x x x x x x x x x x x x
4 x x x x x x x x x x x x x x x x x x x x x x x x x x x x
Notes CH1794 and up CH1794 and up CH1794 and up CH1794 and up CH1794 and up CH1798 and up CH1798 and up CH1798 and up CH1798 and up CH1798 and up CH1798 and up CH1798 and up CH1798 and up CH1798 and up CH1798 and up CH1798 and up
Note: 1.An (x) in a column indicates that the message (either the long form if verbose, or the value only for short form) will be generated when that particular value of (n) (shown at the top of the column) has been selected by the use of ATXn. If the column is blank, then no message will be generated for that (x) option. A numeral indicates which less explicit message (verbose or short form) will be output for that (x) option. (Also, see Section 1.3). 2. CH1786 has only the result codes marked with (*).
Page 12
Yn - Long Space Disconnect This command enables/disables the generation and response to long space disconnect. The parameter value, if valid, is written to S21 bit 7. Y0 Disables long space disconnect. (Default). Y1 Enables long space disconnect. In non-error correction mode, the modem will send a long space of four seconds prior to going on-hook. In non-error correction mode, the modem will respond to the receipt of a long space (i.e., a break signal greater than 1.6 seconds) by going on-hook. Result Codes: OK n-0 or 1. ERROR Otherwise. Zn - Soft Reset and Restore Profile The modem performs a soft reset and restores (recalls) the configuration profile according to the parameter supplied. If no parameter is specified, zero is assumed. Z0 Soft reset and restore stored profile 0. Z1 Soft reset and restore stored profile 1. Result Codes: OK n=0 or 1. ERROR Otherwise.
B)
AT& Commands
&Cn - RLSD (DCD) Option The modem controls the RLSD output in accordance with the parameter supplied. The parameter value, if valid, is written to S21 bit 5 (CH1798/94 only). &C0 RLSD remains ON at all times (Default). &C1 RLSD follows the state of the carrier. Result Codes: OK n=0 or 1. ERROR Otherwise. &Dn - DTR Option This command interprets the ON to OFF transition of the DTR signal from the DTE in accordance with the parameter supplied. The parameter value, if valid, is written to S21 bits 3 and 4. Also, see S25. &D0 DTR drop is interpreted according to the current &Qn setting as follows: &Q0, &Q5, &Q6 DTR is ignored (assumed ON). Allows operation with DTEs that do not provide DTR. &Q1, &Q4 DTR drop causes the modem to hang up. Auto-answer is not affected. &Q2, &Q3 DTR drop causes the modem to hang up. Auto-answer is inhibited. &D1 DTR drop is interrupted according to the current &Qn setting as follows: &Q0, &Q1, &Q4, &Q5, &Q6 DTR drop is interpreted by the modem as if the asynchronous escape sequence had been entered. The modem returns to asynchronous command state without disconnecting. &Q2, &Q3 DTR drop causes the modem to hang-up. Auto-answer is inhibited. Page 13
&D2
DTR drop is interpreted according to the current &Qn setting as follows: &Q0 through &Q6 DTR drop causes the modem to hang-up Auto-answer in inhibited. (Default.) DTR drop is interpreted according to the current &Qn setting as follows: &Q0, &Q1, &Q4, &Q5, &Q6 DTR drop causes the modem to perform a soft reset as of the Z command were received. The &Y setting determines which profile is loaded.
&D3
&Q2, &Q3 DTR drop causes the modem to hang-up. Auto-answer is inhibited. &Dn has the following meaning for CH1786: &D0 Modem ignores DTR (Default). &D1 Modem assumes command state when ON-to-OFF transition is detected on DTR. &D2 Modem hangs up, assumes command state and disables auto-answer upon detecting ONto-OFF transition on DTR. &D3 Modem assumes initialization state upon detecting an ON-to-OFF transition DTR. &Fn - Restore Factory Configuration (Profile) The modem loads the factory default configuration (profile). The factory defaults are identified for each command and in the S-Register descriptions. A configuration (profile) consists of a subset of SRegisters. &F Restore factory configuration 0. &F1 Restore factory configuration 1. Result Codes: OK ERROR If the modem is connected. &Gn - Select Guard Tone The modem generates the guard tone selected by this command according to the parameter supplied (DPSK modulation modes only). The parameter value, if valid, is written to S23 bits 6 and 7. &Go Disables guard tone. (Default.) &G1 Disables guard tone. (Reserved in CH1786) &G2 Selects 1800 Hz guard tone. This command may not be permitted in some countries. Result Codes: OK n=0 to 2. ERROR Otherwise. &Jn - Telephone Jack Control This command is included only for compatibility and performs no function except to load the S-Register. The parameter value, if valid, is written S21 bit 0. &J0 &J0 command. (Default). &J1 &J1 command. Result Codes: OK n=0 or 1. ERROR Otherwise. P
Page 14
&Kn - Flow Control (CH179X only) This command defines the DTE/DCE (terminal/modem) flow control mechanism. The parameter value, if valid, is written to S39 bits 0, 1, and 2. &K0 Disables flow control. &K3 Enables RTS/CTS flow control. (Default for data modem modes.) &K4 Enables XON/XOFF flow control. &K5 Enables transparent XON/XOFF flow control. &K6 Enables both RTS/CTS and XON/XOFF flow control. (Default for fax modem and voice modes). Result Codes: OK n=0, 3, 4, 5, or 6. ERROR Otherwise. &Mn - Asynchronous/Synchronous Mode Selection This command determines the DTR operating mode. The modem treats the &M command as a subset of the &Q command (CH1786 has only &M0). &M0 Selects direct asynchronous operation. Note that the command sequence &M0\N0 selects normal buffered mode, but the command sequence \N0&M0 selects direct mode. This is because the \N0 command is analogous to the &Q6 command. The value 000b is written to S27 bits 3, 1, and 0, respectively. (See &Q). &M1 (Not Supported) Selects synchronous connect mode with async off-line command mode. The value 001b is written to S27 bits 3, 1 and 0, respectively. (Serial interface operation only). &M2 (Not Supported) Selects synchronous connect mode with async off-line command mode. Same as &M1 except that &M2 enables DTR dialing of directory slot 0. The modem will disconnect if DTR is OFF for more than the period in S25 (in units of hundredths of a second): the data connection will be synchronous. The value 010b is written to S27 bits 3, 1 and 0, respectively. (Serial interface operation only.) &M3 (Not Supported) Selects synchronous connect mode. This mode allows DTR to act as talk/data switch. The call is manually initiated while DTR is inactive. When DTR becomes active, the handshake proceeds in originate or answer mode according to S14 bit 7. The value 011b is written to S27 bits 3, 1, and 0, respectively. (Serial interface operation only.) Result Codes: OK n=0 to 3. ERROR Otherwise. &Pn - Select Pulse Dial Make/Break Ratio This command determines the make/break ratio used during pulse dialing. &P0 Selects 39%-61% make/break ratio at 10 pulses per second. (Default). &P1 Selects 33%-67% make/break ratio at 10 pulses per second. &P2 Selects 39%-61% make/break ratio at 20 pulses per second. &P3 Selects 33%-67% make/break ratio at 20 pulses per second.
Page 15
n=0 to 3. Otherwise.
&Qn - Sync/Async Mode This command is an extension of the &M command and is used to control the connection modes permitted. It is used in conjunction with S36 and S48 for CH179X. (Also, see \N.) &Q0 Selects asynchronous operation. The value 000b is written to S27 bits 3, 1, and 0, respectively. See &M0. Use only for CH1786. Default CH1786 &Q1 &Q4 Not Supported. &Q5 The modem will try to negotiate an error-corrected link. The modem can be configured using S36 to determine whether a failure will result in the modem returning on-hook. To turn off all error-correcting, use \N0 command. The value 101b is written to S27 bits 3, 1, and 0, respectively. (Default). &Q6 Selects asynchronous operation in normal mode (speed buffering). The value 110b is written to S27 bits 3, 1, and 0, respectively. Result Codes: OK n=0 to 6. ERROR Otherwise. &Sn - DSR Override This command selects how the modem will control DSR. The parameter value, if valid, is written to S21 bit 6. &S0 DSR will remain ON at all times. (Default.) &S1 DSR will become active after answer tone has been detected and inactive after the carrier has been lost. Result Codes: OK n=0 or 1. ERROR Otherwise. &Tn - Test and Diagnostics The modem will perform selected test and diagnostic functions according to the parameter supplied. A test can be run only when in an asynchronous operation in nonerror correction mode (normal or direct mode). To terminate a test in progress, the escape sequence must be entered first, except for parameters 7 and 8 (see Section 3.1.3). If S18 is nonzero, a test will terminate automatically after the time specified by S18 and display the OK message. NOTE: For tests 3,6 and 7, a connection between the two modems must first be established. &T0 &T1 Terminates test in progress. Clears S16. Initiates local analog loopback, V.54 Loop 3. Sets S16 bit 0. If a connection exists when this command is issued, the modem hangs up. The CONNECT XXXX message is displayed upon the start of the test. Returns ERROR.
&T2
&T3
Initiates local digital loopback, V.54 Loop 2. Sets S16 bit 2. If no connection exists, ERROR is returned. Sets S16 bit 4 when the test is in progress. Page 16
&T7
&T8
Enables digital loopback acknowledgment for remote request, i.e., and RDL request from a remote modem is allowed. Sets S23 bit 0. Disables digital loopback acknowledgment for remote request, i.e., and RDL request from a remote modem is denied. Clears S23 bit 0. Requests a remote digital loopback (RDL), V.54 Loop 2, without self test. If no connection exists, ERROR is returned. Sets S16 bit 4 when the test is in progress. The CONNECT XXXX message is displayed upon the start of the test. Requests a remote digital loopback (RDL), V54 Loop 2, without self test. (In self test, a test pattern is looped back and checked by the modem.) If no connection exists, ERROR is returned. When the test is terminated either via expiration of S18, or via the &T0 or H command, the number of detected errors is reported to the DTE. Sets S16 bit 5 when the test is in progress. Initiates local analog loopback, V.54 Loop 3, with self test. (In self test, a test pattern is looped back and checked by the modem.) If a connection exists, the modem hangs up before the test is initiated. When the test is terminated either via expiration of S18, or via the &T0 or H command, the number of detected errors is reported to the DTE. Sets S16 bit 6 when the test is in progress. This command may not be available in some countries due to PTT restrictions.
&V - Display Current Configuration and Stored Profiles Reports the current (active) configuration, the stored (user) profiles, and the first four stored telephone numbers. The stored profiles and telephone numbers are not displayed if the NVRAM is not installed or is not operational as detected by the NVRAM test during reset processing. Result Code: OK Example: AT&V ACTIVE PROFILE: B0 E1 L1 M1 N1 Q0 T V1 W0 X4 Y0 &C0 &D0 &G2 &J0 &K3 &Q5 &R1 &S0 &T4 &X0 &Y0 S00:002 S01: 000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:030 S08:002 S09:006 S10:014 S11:255 S12:050 S18:000 S25:005 S26:001 S36:007 S37:000 S38:020 S46:138 S48:007 S95:000 STORED PROFILE 0: B0 E1 L1 M1 N1 Q0 T V1 W0 X4 Y0 &C0 &D0 &G2 &J0 &K3 &Q5 &R1 &S0 &T3 &XO S00:002 S02:043 S06:002 S07:030 S08:002 S09:006 S10:014 S11:095 S12:050 S18:000 S36:007 S37:000 S40:150 S41:003 S46:138 S95:000 STORED PROFILE 1: B0 E1 L1 M1 N1 Q0 T V1 W0 X4 Y0 &C0 &D0 &G2 &J0 &K3 &Q5 &R1 &S0 &T3 &XO S00:002 S02:043 S06:002 S07:030 S08:002 S09:006 S10:014 S11:095 S12:050 S18:000 S36:007 S37:000 S40:150 S41:003 S46:138 S95:000 TELEPHONE NUMBERS: 0= 1= 2= 3= OK
&Wn - Store Current Configuration Saves the current (active) configuration (profile), including S-Registers, in one of the two user profiles in Page 17
NVRAM as denoted by the parameter value. This command will yield an ERROR message if the NVRAM is not installed or is not operational as detected by the NVRAM test. The current configuration is comprised of a list of storable parameters illustrated in the &V command. These settings are restored to the active configuration upon receiving a Zn command or at power up (see &Yn command). &W0 Store the current configuration as profile 0. &W1 Store the current configuration as profile 1. Result Codes: OK n=0 or 1. ERROR Otherwise. &Yn - Designate a fault Reset Profile Selects which user profile will be used after a hard reset. &Y0 The modem will use profile 0. &Y1 The modem will use profile 1. Result Codes: OK n=0 to 1. ERROR If n>1, or if NVRAM is not installed or is not operational. &Zn=x - Store Telephone Number The modem can store up to four telephone numbers and each telephone number dial string can contain up to 34 digits. &Zn=x n=0 to 3 and x=dial string. (Requires 256-byte NVRAM.) Result Codes: OK For n < 3, and x < 34 digits. ERROR If n>3, x>35 digits, or if NVRAM is not installed or is not operational.
C)
AT% COMMANDS
%C - Enable/Disable Data Compression Enables or disables data compression negotiation . The modem can only perform data compression on an error corrected link. The parameter value, if valid, is written to S41 bits 0 and 1. %C0 Disables data compression. Resets S46 bit 1. %C1 Enables MNP 5 data compression negotiation. Resets S46 bit 1. %C2 Enables V.42 bits data compression. Sets S46 bit 1. %C3 Enables both V.42 bits and MNP5 data compression. Sets S46 bit 1. (Default) Result Codes: OK n=0, 1, 2 or 3 ERROR Otherwise.
Page 18
%En - Enable/Disable Line Quality Monitor and Auto-Retrain or Fallback/Fall Forward CH179X only) Controls whether or not the modem will automatically monitor the line quality and request a retrain (%E1) or fall back when line quality is insufficient or fall forward when line quality is sufficient (%E2). The parameter value, if valid, is written to S41 bits 2 and 6. If enabled, the modem attempts to retrain for a maximum of 30 seconds. %E0 Disable line quality monitor and auto-retain. %E1 Enable line quality monitor and auto-retrain. %E2 Enable line quality monitor and fallback/fall forward. (Default) Result Codes: OK n=0, 1, or 2. ERROR Otherwise Fallback/Fall Forward. When %E2 is active, the modem monitors the line quality (EQM). When line quality is insufficient, the modem will initiate a rate renegotiation to a lower speed within The V.34/V.FC/ V.32 bis/V.32 (RC288) or V.32 bis/V.32 (RC144) modulation speeds. The modem will keep falling back within the current modulation if necessary until the speed reaches 2400 bps (V.34), 14400 bps (V>FC). Or 4800 bps (V.32). Below this rate, the modem will only do retrains if EQM thresholds are exceeded. If the EQM is sufficient for at least one minute, the modem will initiate a rate renegotiation to a higher speed within the current modulation speeds. The rate renegotiations will be done without a retrain if a V.32 bis connection is established. Speeds attempted during fallback/fall forward are those shown to be available in the rate sequences exchanged during the initial connection. Fallback/fall forward is available in error correction and normal modes, but not in direct mode or synchronous mode with external clocks. %L - Line Signal Level (CH179X only) Returns a value which indicates the received signal level. The value returned is a direct indication of the receive level at the MDP, not at the telephone line connector. For example, 009= -9 dB, 043= -43dBm, and so on.
Result Codes:
OK %Q - Line Signal Quality (CH179X only) Reports the line signal quality. Returns the higher order byte of the EQM value. Based on the EQM value, retrain or fallback/fall forward may be initiated if enabled by %E1 or %E2. Example: AT%Q 015 Result Codes: OK If connected. ERROR If not connected, or connected in 300 bps, V.23, or fax modes.
Page 19
D)
\An - Select Maximum MNP Block Size The modem will operate an MNP error corrected link using a maximum block size controlled by the parameter supplied. The parameter value, if valid, is written to S40 bits 6 and 7. \A0 \A1 \A2 \A3 Result Codes: OK ERROR 64 characters. 128 characters. (Default.) 192 characters. 256 characters. n=0 to 3. Otherwise.
\Bn - Transmit Break to Remote In non-error correction mode, the modem will transmit a break signal to the remote modem with a length in multiples of 100 ms according to parameter specified. If a number in access of 9 is entered, 9 is used. The command works in conjunction with the \K command. In error correction mode, the modem will signal a break through the active error correction protocol, giving no indication of the length. \B1-\B9 Break length in 100 ms units. (Default = 3). (Non-error corrected mode only). Result Codes: OK If connected in data modem mode. NO CARRIER If not connected or connected in fax modem mode. Note: When the modem receives a break from the remote modem, break is passed to the DTE as follows: In non-error correction mode direct the break length is passed; in non-error correction mode normal and in error correction mode, a 300 ms break is passed. \Kn - Break Control Controls the response of the modem to a break received from the DTE or the remote modem or the \B command according to the parameter supplied. The parameter value, if valid, is written to S40 bits 3, 4, and 5. The response is different in three separate states. The first state is where the modem receives a break from the DTE when the modem is operating in data transfer mode: \K0 Enter on-line command mode, no break sent to the remote modem. \K1 Clear data buffers and send break to remote modem. \K2 Same as 0. \K3 Send break to remote modem immediately. \K4 Same as 0. \K5 Send break to remote modem in sequence with transmitted data. (Default.)
Page 20
The second case is where the modem is in the on-line command state (waiting for AT commands) during a data connection, and the \B is received in order to send a break to the remote modem: \K0 Clear data buffers and send break to remote modem. \K1 Clear data buffers and send break to remote modem. (Same as 0). \K2 Send break to remote modem immediately. \K3 Send break to remote modem immediately. (Same as 2). \K4 Send break to remote modem in sequence with data. \K5 Send break to remote modem in sequence with data. (Same as 4). (Default). The third case is where a break is received from a remote modem during a non-error corrected connection: \K0 Clears data buffers and sends break to the DTE. \K1 Clears data buffers and sends break to the DTE. (Same as 0). \K2 Send a break immediately to DTE. \K3 Send a break immediately to DTE. (Same as 2). \K4 Send a break in sequence with received data to DTE. \K5 Send a break in sequence with received data to DTE. (Same as 4). (Default).
Result Codes:
OK ERROR n=0 to 5. Otherwise.
\Nn - Operating Mode This command controls the preferred error correcting mode to be negotiated in a subsequent data connection. This command is affected by the OEM firmware configuration.
\No \N1 \N2 Selects normal speed buffered mode (disables error-correction mode.) (Forces &Q6). Serial interface selected - Selects direct mode and is equivalent to &M0, &Q0 mode of operation. (Forces &Q0). Selects reliable (error-correction) mode. The modem will first attempt a LAPM connection and then an MNP connection. Failure to make a reliable connection results in the modem hanging up. (Forces &Q5, S36=4, and S48=7). Selects auto reliable mode. This operates the same as \N2 except failure to make a reliable connection results in the modem falling back to the speed buffered normal mode. (Forces &Q5, S36=7, and S48=7). Selects LAPM error-correction mode. Failure to make an LAPM error-correction connection results in the modem hanging up. (Forces &Q5 and S48=0.) Note: The -K1 command can override the \N4 command. Selects MNP error-correction mode. Failure to make an MNP error-correction connection results in the modem hanging up. (Forces &Q5, S36=4, and S48=128.) n=0 to 5. Otherwise.
\N3
\N4
\N5
Result Codes:
OK ERROR
Page 21
The single line connect message format can be enabled or disabled by the \Vn command as follows:
\V0 \V1 Connect messages are controlled by the command settings X, W, and S95. Connect messages are displayed in the single line format described below subject to the command settings V (Verbose) and Q (Quiet). In Non-Verbose mode (VO), single numeric result code is generated for CONNECT DTE.
When single line connect messages are enabled, there are no CARRIER, PROTOCOL, or COMPRESSION messages apart from the fields described below. The single line connect message format is: CONNECT<DTE Speed></Modulation></Protocol></Compression></Line Speed> Where: >DTE speed = DTE speed, e.g., 57600. Modulation = AV32" for V.32 or V.32 bis modulations. AVFC@ for V.FCTM modulations. AV34" for V.34 modulations. Note: Modulation is omitted for all other modulations. ANONE@ for no protocol. AALT@ for Microcom Network Protocol. ALAPM@ for LAP-M protocol. ACLASS5" for Microcom MNP5 compression. AV42BIS@ for V.42bis compression. Note: Compression is omitted if protocol is NONE. Asymmetric rates are displayed as /rate:TX/rate:RX, e.g.,/1200 TX/75 RX. Symmetric rates are displayed as a single DCE rate, e.g., 14400.
Protocol =
Compression =
Line Speed =
-Kn-MNP Extended Services Enables or disables conversion of a V.42 LAPM connection to an MNP 10 connection. The parameter value, if valid, is written to S40 bits 0 and 1.
-K0 -K1 -K2 Disables V.42 LAPM to MNP 10 conversion (Default). Enables V.42 LAPM to MNP 10 conversion. Enables V.42 LAPM to MNP 10 conversion; inhibits MNP Extended Services initiation during V.42 LAPM answer mode detection phase.
Page 22
E)
Page 23
<mod> 0 1 2 3 9 10 11 64 69 74
Modulation V.21 V.22 V.22 bis V.23 V.32 V.32 bis V.34 Bell 103 Bell 212 V.34
Possible Rates (bps) 1. 300 1200 2400 or 1200 1200 9600 or 4800 14400, 12000, 9600, 7200 or 4800 28800, 06400, 24000, 21600, 19200, 16800, 14400, 12000, 9600, 7200, 4800 or 2400 300 1200 28800, 26400, 24000, 21600, 19200, 16800, or 14400
Notes
[CH1798 only]
Notes: 1. See optional <automode>, <min_rate>, and <max_rate> subparameters. 2. For V.23, originating modes transmit at 75 bps and receive at 1200 bps; answering modes transmit at 1200 bps and receive at 75 bps. The rate is always specified as 1200 bps.
The modem may also automatically switch to another modulation (automode), subject to the following constraints: a. The modem may not be able to automatically switch from the current modulation (specified by <mod>) to some other modulation. For example, there is no standard way to automode from Bell 103 to V.23. b. The DTE may disable automode operation (see <automode> below). c. The DTE may constrain the range of modulations available by specifying the lowest and highest rates (see <min_rate> and <max_rate> below). 2. <automode> is an optional numeric value which enables or disables automatic modulation negotiation using V.8 or V.32 bis Annex A. The options are: <automode> 0 1 Option Selected Automode disabled Automode enabled using V.8 or V.32 Annex A Notes Default
The default value is 1, which enables automode. Note, however, there are modulations for which there is no automatic negotiation, e.g., Bell 212 (<mod> = 69). For <automode> = 0 (automode disabled, i.e., fixed modulation): a. If <max_rate> is within the rates supported by the selected modulation, the selected rate is that specified by <max_rate>. For example: +MS=10,0,2400,14400 selects V.32 bis 4800 bps fixed rate.
Page 24
b.
If <max_rate> is greater than the highest speed supported by the modulation specified by <mod>, the starting rate is the highest rate supported by the selected modulation. For example: +MS=10,0,2400,14400 selects V.32 bis 14400,14000,9600,7200, or 4800 bps. To emulate issuance of the N0S37=x command sequence to select fixed mode operation, specify the <max_rate> and <min_rate> both to be the (same) requested speed, and <mod> to be the modulation for that speed. For example: +MS=11,0,16800,16800 selects V.34 16800 bps fixed mode (no comparable S37 command). +MS=10,0,12000,12000 selects V.32 bis 12000 bps fixed mode (same as /N0S37=10).
c.
For <automode> = 1 (automode enabled, i.e., automatically selected speed and modulation): The modem connects at the highest possible rate in accordance with V.8, or V.32 bis Annex A if V.8 is not supported by the remote modem. a. If <max_rate> is greater than the highest rate supported by the modulation specified by <mod>, the modem automodes down from the highest rate of the selected modulation. For example: +MS=10,1,1200,2400 selects automode starting from V.32 bis 14400 bps. To emulate issuance of the N1S37=x sequence command, specify the modulation and the rate to start automoding down from using <mod> and <max_rate>, respectively. Set min_rate> to 300 to allow automoding all the way down to V.21 300 bps. For example: +MS=11,1,300,16800 selects automode starting at V.34 16800 bps (no comparable S37 command). +MS=9,1,300,12000 selects automode starting at V.32 bis 12000 bps (same as N1S37=10).
b.
3. <min_rate> is an optional number which specifies the lowest rate at which the modem may establish a connection. The value is decimal coded, in units of bps, e.g., 2400 specifies the lowest rate to be 2400 bps The default is 300 for 300 bps.
4. <max-rate> is an optional number which specifies the highest rate at which the modem may establish a connection. The value is decimal coded, in units of bps, e.g., 14400 specifies the highest rate to be 14400 bps. The default is 28800 for 28800 bps.
CONNECT 1200 (5) For X1, X2, X3, and X4, the modem sends this result code when: 1. The line speed is 1200 bps and the modem has been instructed to report the line speed to the DTE upon connecting, or 2. The DTE speed is 1200 bps and the modem has been instructed to report the DTE speed to the DTE upon connecting. (Also, see the W command). NO DIAL TONE (6) For X2 and X4, the modem sends this result code if it has been instructed to wait for dial tone during dialing but none is received. When cellular phone interface is selected, NO DIALTONE indicates that cellular service is not currently available. BUSY (7) For X3 and X4, if busy tone detection is enforced, the modem sends this result code when attempting to originate a call if the busy (engaged) signal is detected on the line. NO ANSWER (8) The modem sends this result code when attempting to originate a call if a continuous ring-back signal is detected on the line until the expiration of the timer S7. CONNECT 0600 (9) For X1, X2, X3, and X4, the modem sends this result code when: 1. The line speed is 600 bps and the modem has been instructed to report the line speed to the DTE upon connecting, or 2. The DTE speed is 600 bps and the modem has been instructed to report the DTE speed to the DTE upon connecting. CONNECT 2400 (10) For X1, X2, X3, and X4, the modem sends this result code when: 1. The line speed is 2400 bps and the modem has been instructed to report the line speed to the DTE upon connecting, or 2. The DTE speed is 2400 bps and the modem has been instructed to report the DTE speed to the DTE upon connecting. CONNECT 4800 (11) For X1, X2, X3, and X4, the modem sends this result code when: 1. The line speed is 4800 bps and the modem has been instructed to report the line speed to the DTE upon connecting, or 2. The DTE speed is 4800 bps and the modem has been instructed to report the DTE speed to the DTE upon connecting. CONNECT 9600 (12) For X1, X2, X3, and X4, the modem sends this result code when: 1. The line speed is 9600 bps and the modem has been instructed to report the line speed to the DTE upon connecting, or 2. The DTE speed is 9600 bps and the modem has been instructed to report the DTE speed to the DTE upon connecting.
Page 27
CONNECT 7200 (13) For X1, X2, X3, and X4, the modem sends this result code when: 1. The line speed is 7200 bps and the modem has been instructed to report the line speed to the DTE upon connecting, or 2. The DTE speed is 7200 bps and the modem has been instructed to report the DTE speed to the DTE upon connecting. CONNECT 12000 (14) For X1, X2, X3, and X4, the modem sends this result code when: 1. The line speed is 12000 bps and the modem has been instructed to report the line speed to the DTE upon connecting, or 2. The DTE speed is 12000 bps and the modem has been instructed to report the DTE speed to the DTE upon connecting. CONNECT 14400 (15) For X1, X2, X3, and X4, the modem sends this result code when: 1. The line speed is 14400 bps and the modem has been instructed to report the line speed to the DTE upon connecting, or 2. The DTE speed is 14400 bps and the modem has been instructed to report the DTE speed to the DTE upon connecting. CONNECT 19200 (16) For X1, X2, X3, and X4, the modem sends this result code when: 1. The line speed is 19200 bps and the modem has been instructed to report the line speed to the DTE upon connecting, or 2. The DTE speed is 19200 bps and the modem has been instructed to report the DTE speed to the DTE upon connecting. CARRIER 7200 (49) The modem sends this result code when a 7200 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 9600 (50) The modem sends this result code when a 9600 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 12000 (51) The modem sends this result code when a 12000 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 14400 (52) The modem sends this result code when a 14400 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.)
Page 28
CARRIER 16800 (53) The modem sends this result code when a 16800 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 19200 (54) The modem sends this result code when a 19200 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 21600 (55) The modem sends this result code when a 21600 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 24000 (56) The modem sends this result code when a 24000 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 26400 (57) The modem sends this result code when a 26400 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 28800 (58) The modem sends this result code when a 28800 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 16800 (59) The modem sends this result code when a 16800 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 21600 (61) The modem sends this result code when a 21600 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 24000 (62) The modem sends this result code when a 24000 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CARRIER 26400 (63) The modem sends this result code when a 26400 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CONNECT 28800 (64) The modem sends this result code when a 28800 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) COMPRESSION: CLASS 5 (66) This message is sent to the DTE when the modem has connected in MNP Class 5 and COMPRESSION message reporting has been enabled. (See S95 and Xn.)
Page 29
COMPRESSION: V.42 bis (67) This message is sent to the DTE when the modem has connected in V.42 bis and COMPRESSION message reporting has been enabled. (See S95 and Xn.) COMPRESSION: NONE (69) This message is sent to the DTE when the modem has connected without data compression and COMPRESSION message reporting has been enabled. (See S95 and Xn.) PROTOCOL: NONE (70) This message is sent to the DTE when the modem has connected without any form of error correction, and the PROTOCOL message reporting has been enabled. (See S95 and Xn.) PROTOCOL: LAPM (77) This message is sent to the DTE when the modem has connected in the V.42 LAPM mode of error correction, and PROTOCOL message reporting has been enabled. (See S95 and Xn.) PROTOCOL: ALT (80) This message is sent to the DTE when the modem has connected in the MNP mode of error correction, and PROTOCOL message reporting has been enabled. (See S95 and Xn.) CONNECT 33600 (84) The modem sends this result code when a 33600 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CONNECT 31200 (91) The modem sends this result code when a 31200 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.) CONNECT 32000 (150) The modem sends this result code when a 32000 bps data rate has been detected on the line and carrier reporting has been enabled. (See S95 and Xn.)
H) S-REGISTERS
The S-Registers are summarized in Table 2-1 and Table 2-2 along with their default values; registers denoted with and >*= may be stored in one of the two user profiles by entering the &Wn command. One of these profiles may be loaded at any time by using the Zn command. Registers or register fields quoted as Areserved@ are reserved for current or future use by the firmware, or are permanently overridden by PTT limitations. All bit-mapped registers are read-only. The appropriate AT command which controls the relevant bits in the S-Register should be used to change the value. FACTORY DEFAULTS (CH179X only) The factory default values are stored in ROM and are loaded into the active configuration at power up or by the ATZn command. In addition, the designated default profile is subsequently loaded, and may change some of the factory default values. The designated default profile can be changed by entering the &Yn command where n is one of the two possible user profiles. Page 30
Table 2-1 Register S0 S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17 S18 S19 S20 S21 S22 S23 S24 S25 S26 S27 S28 S30 Function Rings to Auto-Answer Ring Counter Escape Character Carriage Return Character Line Feed Character Backspace Character Wait Time for Dial Tone Wait Time for Carrier
S-Register Summary for CH1798/94/99 Range Units 0-255 0-255 0-255 0-127 0-127 0-255 2-255 1-255 0-255 1-255 1-255 50-255 0-255 0-255 0-255 0-255 0-255 0-255 0-255 s s
s or 0.01s
Saved * *
Default** 0 0 43 13 10 8 2 50
rings rings ASCII ASCII ASCII ASCII s s s 0.1s 0.1s 0.001s 0.02s -
Pause Time for Dial Delay Modifier Carrier Detect Response Time Carrier Loss Disconnect Time DTMF Tone Duration Escape Prompt Delay Reserved General Bit Mapped Options Status Reserved Test Mode Bit Mapped Options Status (&T) Reserved Test Timer AutoSync Options AutoSync HDLC Address or BSC Sync Characters V.24/General Bit Mapped Options Status Speaker/Results Bit Mapped Options Status General Bit Mapped Options Status Sleep Inactivity Timer Delay to DTR Off RTS-to-CTS Delay General Bit Mapped Options Status General Bit Mapped Options Status Disconnect Inactivity Timer
* * * * * *
2 6 14 95 50 138 (8Ah) 0 -
* * * * * *
0.01s 10s * *
73 (49h) 0 0
Page 31
Register S31 S32 S33 S34-S35 S36 S37 S38 S39 S40 S41 S42-S45 S46 S48 S82 S86 S95
Function General Bit Mapped Options Status XON Character XOFF Character Reserved LAPM Failure Control Line Connection Speed Delay before Forced Hangup Flow Control Bit Mapped Options Status General Bit Mapped Options Status General Bit Mapped Options Status Reserved Data Compression Control V.42 Negotiation Control LAPM Break Control Call Failure Reason Code Result Code Messages Control
Saved *
* * * * * * *
* Register value may be stored in one of two user profiles with the &W command. ** Default values may be modified using ConfigurACE. Table 2-2 S-Registered Summary for CH1786 Units Default Description rings rings ASCII ASCII ASCII ASCII seconds seconds seconds 1/10 seconds 1/10 seconds 00 00 43 13 10 08 02 30 02 06 14 Ring to Answer On Ring Count Escape Code Character Carriage Return Character Line Feed Character Back Space Character Wait for Dial Tone Wait Time For Data Carrier Pause Time for Comma Carrier Detect Response Time Lost Carrier to Hang-up Delay
Range 0-255 0-255 0-127 0-127 0-127 0-32, 127 2-255 1-255 0-255 1-255 1-255
Page 32
Register S11 S12 S14* S16 S18* S21* S22* S23* S24 S25* S26* S27*
Range 50-255 0-255 Bit Mapped Bit Mapped 0-255 Bit Mapped Bit Mapped Bit Mapped 0-255 0-255 0-255 Bit Mapped
Units ms 1/50 seconds none none seconds none none none seconds 0.1 or 1 seconds 0.01 seconds none
Description DTMF Dialing Speed Escape Code Guard Time Bit Mapped Options Register Modem Test Options Test Timer Bit Mapped Options Register Bit Mapped Options Register Bait Mapped Options Register Sleep Mode Inactivity Timer Delay to DTR RTS to CTS Delay Interval Bit Mapped Options Register
* Register value may be stored in one of two user profiles with the &W command. S-REGISTER DEFINITIONS S0 - Number of Rings to Auto-Answer Sets the number of the rings required before the modem automatically answers a call. Setting this register to zero disables the auto-answer mode. Range: 0-255 rings Default: 0 S1 - Ring Counter S1 is incremented each time the modem detects a ring signal on the telephone line. S1 is cleared if no rings occur over an eight second interval. Range: 0-255 rings Default: 0 S2 - Escape Character S2 holds the decimal value of the ASCII character used as the escape character. The default value corresponds to and ASCII >+=. A value over 127 disables the escape process, i.e., no escape character will be recognized. Range: 0-255, ASCII decimal (0-127 for CH1786) Default: 43 (+) S3 - Carriage Return Character Sets the command line and result code terminator character. Pertains to asynchronous operation only. Range: 0-127, ASCII decimal Default: 13 (Carriage Return)
Page 33
S4 - Line Feed Character Sets the character recognized as a line feed. Pertains to asynchronous operation only. The Line Feed control character is output after the Carriage Return control character if verbose result codes are used. Range: 0-127, ASCII decimal Default: 10 (Line Feed) S5 - Backspace Character Sets the character recognized as a backspace. Pertains to asynchronous operation only. The modem will not recognize the Backspace character if it is set to a value that is greater than 32 ASCII. This character can be used to edit a command line. When the echo command is enabled, the modem echoes back to the local DTE the Backspace character, an ASCII space character and a second Backspace character; this means a total of three characters are transmitted each time the modem processes the Backspace character. Range: 0-32, ASCII decimal (0-32, 127 for CH1786) Default: 8 (Backspace) S6 - Wait Time for Dial Tone Before Blind Dialing, or After AW@ Dial Modifier (W-Class Models) 1. Sets the length of time, in seconds, that the modem will wait before starting to dial after going off-hook when blind dialing. This operation, however, may be affected by some ATX options according to country restrictions. The AWait for Dial Tone@ call process feature (W dial modifier in the dial string) will override the value in register S6. 2. For W-class models, S6 sets the length of time, in seconds, that the modem will wait for dial tone when encountering a AW@ dial modifier before returning NO DIAL TONE result code. The modem always pauses for a minimum of 2 seconds, even if the value of S6 is less than 2 seconds. Range: 2-255 seconds Default: 2 S7 - Wait Time For Carrier After Dial, For Silence, or For Dial Tone After AW@ Dial Modifier (US Models) 1. Sets the length of time, in seconds that the modem will wait for carrier before hanging up. The timer is started when the modem finished dialing (originate), or 2 seconds after going off-hook (answer). In originate mode, the timer is reset upon detection of answer tone if allowed by country restrictions. 2. Sets the length of time, in seconds, that modem will wait for silence when encountering the @ dial modifier before continuing with the next dial string parameter. 3. For US models, S7 sets the length of time, in seconds, that the modem will wait for dial tone when encountering a AW@ dial modifier before continuing with the next string parameter. Range: 1-255 seconds Default: 50 S8 - Pause Time For Dial Delay Sets the time, in seconds, that the modem must pause when the A,@ dial modifier is encountered in the dial string. Range: 0-255 seconds Default: 2
Page 34
S9 - Carrier Detect Response Time Sets the length of time, in tenths of a second, that the carrier must be present before the modem considers it valid and turns on RLSD. As this time is increased, there is less chance to detect a false carrier due to noise from the telephone line. Range: 1-255 tenths of a second Default: 6 (0.6 second) S10 - Lost Carrier To Hang Up Delay Sets the length of time, in tenths of a second, that the modem waits before hanging up after a loss of character. This allows for a temporary carrier loss without causing the local modem to disconnect. When register S10 is set to 255, the modem functions as if a carrier is always present. The actual interval the modem waits before disconnection is the value in register S10 minus the value in register S9. Therefore, the S10 value must be greater that the S9 value or else the modem disconnects before it recognizes the carrier. Range: 1-255 tenths of a second Default: 14 (1.4 seconds) S11 - DTMF Tone Duration Sets the duration of tones in DTMF dialing (US models only). This value has no effect on pulse dialing. For W-class models, this parameter is a country parameter loaded by CongfigurACE. Range: 50-255 milliseconds Default: 95 (95 milliseconds) S12 - Escape Prompt Delay (EPD) Define the maximum period, in fiftieths of a second, allowed between receipt of the last character of the three escape character sequence from the DTE and sending of the OK result code to the DTE. If any characters are detected during this time, the OK will not be sent. Note that sending of the OK result code does not affect entry into command mode. (See 3.1.3.) Range: 0-255 1/50 of a second Default: 50 (1 second) S13 - Reserved S14 - General Bit Mapped Options Status Indicates the status of command options. Default:138 (8Ah) (10001010b) Bit 0 This bit is ignored. Bit 1 Command echo (En) 0 = Disabled (E0) 1 = Enabled (E1) (Default) Bit 2 Quiet mode (Qn) 0 = Send result codes (Q0) (Default) 1 = Do not send result codes (Q1)
Page 35
Bit 3
Result codes (Vn) 0 = Numeric (V0) 1 = Verbose (V1) (Default) Bit 4 Reserved Bit 5 Tone (T)/Pulse(P) 0 = Tone (T) (Default) 1 = Pulse (P) Bit 6 Reserved Bit 7 Originate/Answer 0 = Answer 1 = Originate (Default) S15 - Reserved S16 - General Bit Mapped Test Options Status Indicates the test in progress status. Default: 0 Bit 0 Local analog loopback 0 = Disabled (Default) 1 = Enabled (&T1) Bit 1 Not used Bit 2 Local digital loopback 0 = Disabled (Default) 1 = Enabled (%T3) Bit 3 Remote Digital loopback (RDL) status 0 = Modem not in RDL (Default) 1 = RDL in progress Bit 4 RDL requested (AT%T6) 0 = RDL not requested (Default) 1 = RDL requested (&T6) Bit 5 RDL with self test 0 = Disabled (Default) 1 = Enabled (&T7) Bit 6 Local analog loopback (LAL) with self test 0 = Disabled (Default) 1 = Enabled (&T8) Bit 7 Not used S17 Reserved S18 - Test Timer Sets the length of time, in seconds, that the modem conducts a test (commanded by &Tn) before returning to the command mode. If this register value is zero, the test will not automatically terminate. The test must be terminated from the command mode by issuing an &T0 or H command. When S18 is nonzero, the modem returns the OK message upon test termination. Range: 0-255 seconds Default: 0 S19 - AutoSync Bit Mapped Options (CH1798/94 only) (Not Supported) Defines the options for AutoSync operation (see &Q4 command). S19 must be set to the desired value before &Q4 is issued. Page 36
Bit 2
Bit 3
Bit 4
Bit 5-7
0 Reserved BS/HDL format select 0 = BS selected (Default) 1 = HDL selected Address detection enable/disable 0 = Disabled (Default) 1 = Enabled NAZI/NAZI coding select 0 = NAZI (Default) 1 = NAZI Idle indicator select 0 = Mark idle (Default) 1 = Flag or sync idle Reserved
S20 - AutoSync HDL Address or BS Sync Character (Not Supported) Defines the HDL address (S19 bit 1=1) or BS Sync Character (S19 bit 1=0) for AutoSync operation (see &Q4 command). S20 must be set to the desired value before &Q4 is issued. Range: 0-255 Default: 0 S21 - V.24/General Bit Mapped Options Status Indicates the status of command options. Default: 52 (34h) (00110100b) Bit 0 Set by &Jn command but ignored otherwise 0 = &J0 (Default) 1 = &J1 Bit 1 Reserved Bit 2 CTS behavior (&Rn) 0 = CTS tracks RTS (&R0) (not supported in CH1786) 1 = CTS always on (&R1) (Default) Bits 3-4 DTR behavior (&Dn) 0 = &D0 selected (Default) 1 = &D1 selected 2 = &D2 selected 3 = &D3 selected Bit 5 RLSD (DCD) behavior (&Cn) 0 = &C0 selected 1 = &C1 selected (Default) Bit 6 DSR behavior (&Sn) 0 = &S0 selected (Default) 1 = &S1 selected Bit 7 Long space disconnected (Yn) 0 = Y0 (Default) 1 = Y1 Page 37
S22 - Speaker/Results Bit Mapped Options Status Indicates the status of command options. Default: 117 (75h) (01110101b) Bits 0-1 Speaker volume (Ln) 0 = Off (L0) 1 = Low (L1) (Default) 2 = Medium (L2) 3 = High (L3) Bits 2-3 Speaker control (Mn) 0 = Disabled (M0) 1 = Off on carrier (M1) (Default) 2 = Always on (M2) 3 = On during handshake (M3) Bits 4-6 Limit result codes (Xn) 0 = X0 4 = X1 5 = X2 6 = X3 7 = X4 (Default) Reserved in CH1798/94. In CH1786, bit 7=0 corresponds to &P0; bit 7=1 corresponds &P1.
Bit 7
to
S23 - General Bit Mapped Options Status Indicates the status of command options. Default: 62 (3Dh) (00111110b) Bit 0 Grant RDL 0 = RDL not allowed (&T5) (Default) 1 = RDL allowed (&T4) Bits 1-3 DTE Rate 0 = 0-300 bps 1 = 600 bps (not supported in CH1786) 2 = 1200 bps 3 = 2400 bps (Default for CH1786) 4 = 4800 bps (CH1798/94 only) 5 = 9600 bps (CH1798/94 only) 6 = 19200 bps (CH1798/94 only) 7 = 38100 bps or higher (Default for CH1798/94) Bits 4-5 Assumed DTE parity 0 = even (Default for CH1786) 1 = not used (space parity for CH1786) 2 = odd 3 = none (Default for CH1798/94) Bits 6-7 Guard tone (&Gn) 0 = None (&G0) (Default) 1 = None (&G1) (Reserved in CH1786) 2 = 1800 Hz (&G2) Page 38
S24 - Sleep Inactivity Timer (CH1786 only) Sets the length of time in seconds, that the modem will operate in normal mode with no detected telephone line or DTE line activity before entering low-power sleep mode. The timer is reset upon any DTE line or telephone line activity. If the S24 value is zero, neither DTE line nor telephone inactivity will cause the modem to enter the sleep mode. Range: 0-255 seconds Default: 0 S25 - Delay To DTR Sets the length of time that the modem will ignore DTR for taking the action specified by &Dn. Its units are in one hundredths of a second. Range: 0-255 (1 second for synchronous modes 1; 0.01 second otherwise) Default: 5 S26 - RTS to CTS Delay (CH179X only) Sets the time delay, in hundredths of a second, before the modem turns CTS ON after detecting and OFFto-ON transition on RTS when &R0 is commanded. Pertains to synchronous operation only. Range: 0-255 hundredths of a second Default: 1 S27 - Bit Mapped Options Status Indicates the status of command options. Default: 73 (49h) (01001001b); 40h for CH1786 Bits 0,1,3 Synchronous/asynchronous selection (&Mn/&Qn) Note: CH1786 has only &M0 and &Q0 3 1 0 0 0 0 = &M0 or &Q0 0 0 1 = &M1 or &Q1 0 1 0 = &M2 or &Q2 0 1 1 = &M3 or &Q3 1 0 0 = &Q4 1 0 1 = &Q5 (Default) 1 1 1 = &Q6 Bit 2 Bits 4-5 Leased line control (&Ln) 0 = Dial up line (&L0) (Default) Internal clock select (&Xn) 0 = Internal clock (&X0) (Default) 1 = External clock (&X1) (not supported in CH1786) 2 = Slave clock (&X2) (not supported in CH1786) CCITT/Bell mode select (Bn) 0 = CCITT mode (B0) 1 = Bell mode (B1) (Default) Reserved in CH1798/94. In CH1786, bit 7=0 corresponds to AT+FAA=0; bit 7=1 corresponds to AT+FAA=1
Bit 6
Bit 7
Page 39
S28 - Bit Mapped Options Status for CH179X. S28 not accessed by customers in CH1786 Default: 0 Bits 0-1 Reserved Bit 2 Reserved (always 0) Bits 3-4 Pulse dialing (&Pn) 0 = 39%-61% make/break ratio at 10 pulses per second (&P0) (Default) 1 = 33%-67% make/break ratio at 10 pulses per second (&P1) 2 = 39%-61% make/break ratio at 20 pulses per second (&P2) 3 = 33%-67% make/break ratio at 20 pulses per second (&P3) Note: S30 - S95 are for CH1798/94 only S30 - Disconnect Inactivity Timer Sets the length of time, in tens of seconds, that the modem will stay on-line before disconnecting when no data is sent or received. In error-correction mode, any data transmitted or received will reset the timer. In other modes, any data transmitted will reset the timer. The timer is inoperative in synchronous mode. Range: 0-255 tens of seconds (0-2550 seconds) Default: 0 (disabled) S31 - Bit Mapped Options Status Default: 194 (C2h) (11000010b) Bit 0 Single line connect message enable/disable (\Vn) 0 = Messages controlled by S95. Wn and Vn (\V0) (Default) 1 = Single connect message (\V1) Bit 1 Auto line speed detection (Nn) 0 = Disabled (N0) 1 = Enabled (N1) (Default) Bits 2-3 Error correction progress messages (Wn) 0 = DTE speed only (W0) (Default) 1 = Full reporting (W1) 2 = DCE speed only (W2) Bits 4-5 Caller ID (#CID) 0 = Caller ID disabled (#CID=0) (Default) 1 = Short (formatted) Caller ID enabled (#CID=1) 2 = Long (unformatted) Caller ID enabled (#CID=2) Bits 6-7 Reserved (Default - 11b) S32 - XON Character Sets the value of the XON character Range: 0-255, ASCII decimal Default: 17 (11h) S33 - XOFF Character Sets the value of the XOFF character Range: 0-255, ASCII decimal Default: 19 (13h) S34-35 Reserved Page 40
S36 - LAPM Failure Control Default: 7 (00000111b) Bits 0-2 This value indicates what should happen upon a LAPM failure. These fallback options are initiated immediately upon connection if S48=128. If an invalid number is entered, the number is accepted into the register, but S36 will act as if the default value has been entered. 0 = Modem disconnects. 1 = Modem stays on-line and a Direct mode connection is established. 2 = Reserved 3 = Modem stays on-line and a Normal mode connection is established. 4 = An MNP connection is attempted and if it fails, the modem disconnects. 5 = An MNP connection is attempted, and if it fails a direct mode connection is established. 6 = Reserved 7 = An MNP connection is attempted and if it fails, a Normal mode connection is established. (Default) Bits 3-7 Reserved S37 - Desired Line Connection Speed This register specifies the desired line connection speed. Notes: 1. When the Nn command is issued or the S37 register value is modified, the +MS command subparameters are updated to reflect the speed and modulation specified by the S37 value (see +MS command). For example: *If N0 command is active, S37=10 updates the +MS command subparameters to reflect +MS=10,1,300,12000 *If N1 command is active, S37=10 updates the +MS command subparameters to reflect +MS=10,0,12000,12000 2. S37 is not updated by the =MS command. 3. Use of the +MS command is recommended instead of the Nn and S37=x commands. Nn and S37=x commands are supported for compatibility with existing communication software. Default: 0 Bits 0-4 Desired line connection speed. This is interlinked with the Fn command (CH1794). If an invalid Number is entered, the number is accepted into the register, but S37 will act as if the default value has been entered. 0 = Attempt automode connection. If N0 is active, connection is attempted at the most recently sensed DTE speed (+MS command settings are updated to the appropriate values.). If N1 is active, connection is attempted at the highest possible speed (+MS settings are updated to 11,1,300,2880 to reflect V.34, automode, 300 bps minimum speed, and 28800 bps maximum speed.). (Default) 1-3 = Attempt to connect at 300 bps. F1 command (CH1794). 4 = Reserved 5 = Attempt to connect at V.22 1200 bps. F4 command (CH1794) 6 = Attempt to connect at V.22 1200 bps. F5 command (CH1794) 7 = Attempt to connect at V.23 8 = Attempt to connect at V.32 bis/V.32 4800 bps. F6 command (CH1794) 9 = Attempt to connect at V.32 bis/V.32 9600 bps. F8 command (CH1794) 10 = Attempt to connect at V.32 bis 12000 bps. F9 command (CH1794) Page 41
Bits 5-7
11 = Attempt to connect at V.32 bis 14400 bps. F10 command (CH1794) 12 = Attempt to connect at V.32 bis 7200 bps. F7 command (CH1794) Reserved
S38 - Delay Before Forced Hang Up This register specifies the delay between the modems receipt of the H command to disconnect (or ON-toOFF transition of DTR if the modem is programmed to follow the signal), and the disconnect operation. Applicable to error-correction connection only. This register can be used to ensure that data in the modem buffer is sent before the modem disconnects. 1. If S38 is set to a value between 0 and 254, the modem will wait that number of seconds for remote modem to acknowledge all data in the modem buffer before disconnecting. If time expires before all data is sent, the NO CARRIER result code will be issued to indicate that data has been lost. If all data is transmitted prior to time-out, the response to the H0 command will be OK. 2. If S38 is set to 255, the modem does not time-out and continues to attempt to deliver data in the buffer until the connection is lost or the data is delivered. Range: 0-255 seconds Default: 20 S39 - Flow Control Bit Mapped Options Status Default: 3 (00000011b) Bits 0-2 Status of command options 0 = No flow control 3 = RTS/CTS (&K3) (Default) 4 = XON/XOFF (&K4) 5 = Transparent XON (&K5) 6 = Both methods (&K6) Bits 3-7 Reserved S40 General Bit Mapped Options Status Indicates the status of command options. Default: 104 (68h) (01101000b) Bits 0-1 MNP Extended Services (-Kn) 0 = Disable extended services (-K0) (Default) 1 = Enable extended services (-K1) 2 = Enable extended services (-K2) Bit 2 Reserved Bits 3-5 Break Handling (\Kn) 0 = \K0 1 = \K1 2 = \K2 3 = \K3 4 = \K4 5 = \K5 (Default)
Page 42
Bits 6-7
MNP block size (\An) 0 = 64 chars (\A0) 1 = 128 chars (\A1) (Default) 2 = 192 chars (\A2) 3 = 256 chars (\A3)
S41 - General Bit Mapped Options Status Indicates the status of command options. Default: 195 (C3h) (11000011b) Bits 0-1 Compression selection (%Cn) 0 = Disabled (%C0) 1 = MNP 5 (%C1) 2 = V.42 bis (%C2) 3 = MNP 5 and V.42 bis (%C3) (Default) Bits 2, 6 Auto retrain and fallback/fall forward (%En) Bit 6 Bit2 0 0 = Retrain and fallback/fall forward disabled (%E0) 0 1 = Retrain enabled (%E1) 1 0 = Fallback/fall forward enabled (%E2) (Default) Bit 3 Reserved Bits 4-5 Reserved Bit 7 Reserved S46 - Data Compression Control Controls selection of compression. The following actions are executed for the given values: Range: 136 or 138 Default: 138 S46 = 136 Execute error correction protocol with no compression. S46 = 138 Execute error correction protocol with compression. (Default) S48 - V.42 Negotiation Action The V.42 negotiation process determines the capabilities of the remote modem. However, when the capabilities of the remote modem are known and negotiation is unnecessary, this process can by bypassed if so desired. Range: 0, 7, or 128. If an invalid number is entered, it is accepted into the S-Register, but S48 will act as if 128 has been entered. Default: 7 S48=0 Disable negotiation; bypass the detection and negotiation phases; and proceed with LAPM. S48=7 Enable negotiation. (Default) S48=128 Disable negotiation; bypass the detection and negotiation phases; and proceed at once with the fallback action specified in S36. Can be used to force MNP. S82 - Break Handling Options S82 is for compatibility purposes only, changing this register will not have any effect.
Page 43
S86 - Call Failure Reason Code When the modem issues a NO CARRIER result code, a value is written to this S-Register to help determine the reason for the failed connection. S86 records the first event that contributes to a NO CARRIER message. The cause codes are: Range: 0, 4, 5, 9, 12, 13, or 14 Default: S86=0 Normal disconnect, no error occurred. S86=4 Loss of carrier. S86=5 V.42 negotiation failed to detect an error-correction modem at the other end. S86=9 The modems could not find a common protocol. S86=12 Normal disconnect initiated by the remote modem. S86=13 Remote modem does not respond after 10 retransmissions of the same message. S86=14 Protocol violation. S95 - Extended Result Codes The bits in this register can be set to override some of the Wn command options. A bit set to a 1 in this register will enable the corresponding result code regardless of the Wn setting. Default: 0 Bit 0 CONNECT result code indicates DCE speed instead of DTE speed. Bit 1 Append/ARQ to CONNECT XXXX result code in error-correction mode. (XXXX = rate) Bit 2 Enable CARRIER XXXX result code (XXXX = rate). If a V.FC connection is established, /VFC is appended to the CARRIER XXXX message, e.g., CARRIER 28800/VFC; note that there is no short form for this message (CH1798). Bit 3 Enable PROTOCOL XXXX result code (XXXX = protocol identifier). Bit 4 Reserved Bit 5 Enable COMPRESSION result code (XXXX = compression type; see). Bit 6 Reserved Bit 7 Reserved
I.
1. Force V.42 bis data compression with LAP-M error correction. AT\N4%C2-K0 2. Force V.42 bis data compression with MNP error correction. AT\N5%C2 3. Force MNP 5 data compression with MNP error correction. AT\N5%C1 4. Auto negotiate data compression and error correction. AT&F (factory defaults) or AT\N3%C3 Note: In this mode, the modem prefers LAP-M over MNP 10, MNP 10 over MNP 4, and V.42 bis over MNP 5. If error correction is not negotiated, the modem will connect in normal mode. Page 44
CERMETEK MICROELECTRONICS, INC. 406 TASMAN DRIVE, SUNNYVALE, CALIFORNIA 94089 TEL: (408) 752-5000 FAX: (408) 752-5004 E-MAIL: [email protected] Cermetek reserves the right to make changes in specifications at any time and without notice. The information furnished by Cermetek in this publication is believed to be accurate and reliable. However, no responsibility is assumed by Cermetek for its use, or for any infringements of patents or other rights of third parties resulting from its use. No license is granted under any patent rights of Cermetek.
(Revised 4/98)
Page 45