V-series Smartmodem Command Summary The following summarizes the command set used by the V-series Smartmodem 2400. Commands that are different from, or in addition to, the standard Smartmodem 2400 command set will be marked with an asterisk (*). AT Command prefix - preceeds command line. Carriage return character - terminates command line. A Go into answer mode; attempt to go to on-line state. A/ Re-execute previous command line. When using this command, it is not preceded with an AT nor followed by . B0 Select CCITT v.22 standard for 1200bps communication (international). B1 Select Bell 212A standard for 1200bps communication (US). D Go into originate mode, first dialing any following number; attempt to go to on-line state. In addition to specifying a number to dial, the following modifiers can be used with the D command 0-9 # * ABCD digits/characters for dialing T specify tone dialing P specify pulse dialing W wait for dialtone , delay processing of nex aChar (cf reg S8) @ wait for quiet answer (no dialtone) ! hookflash ; return to command mode after dialing; do not attempt to connect with other modem R reverse mode (used to originate a call in answer mode) S=n dial number stored in location "n" (cf. &Z command) E0 Disable character echo in command state. E1 Enable character echo in command state. H0 Go on hook; hang up. H1 Go off hook; operate auxiliary relay I0 Request product identification code I1 Perform checksum on firmware ROM (only used for Hayes in-house testing). I2 Perform checksum on firmware ROM; returns OK or ERROR. L0 or L1 Low speaker volume L2 Medium speaker volume L3 High speaker volume M0 Speaker off M1 Speaker on until carrier detected M2 Speaker always on M3 Speaker on until carrier detected except during dialing. *N0 Require modem to handshake at DCE speed selected with S37 register only. *N1 Permit modem to handshake at any DCE speed. O0 Go to on-line state. O1 Go to on-line state and initiate equalizer retrain at 2400bps. Q0 Modem returns result codes. Q1 Modem does not return result codes. *Q2 Result codes returned in originate mode, not returned in answer mode. Sr=x Set register "r" to value "x". Sr? Display value currently stored in register "r" V0 Display result codes in numeric form. V1 Display result codes in verbose form. *W0 Negotiation progress result codes not returned. *W1 Negotiation progress result codes returned. X0 Enable features represented by result codes 0-4. X1 Enable features represented by result codes 0-5, 10-12. X2 Enable features represented by result codes 0-6, 10-12. X3 Enable features represented by result codes 0-5, 7, 10-12. X4 Enable features represented by result codes 0-7, 10-12. Y0 Disable long space disconnect. Y1 Enable long space disconnect. Z0 Reset modem and recall user profile 0. Z1 Reset modem and recall user profile 1. &C0 Assume data carrier always present; RS-232 DCD line always high. &C1 Track presence of data carrier; RS-232 reflects true status of DCD. &D0 Ignore DTR signal. &D1 Assume command state when an on-to-off DTR transition occurs. &D2 Hang up and assume command state when an on-to-off DTR transition occurs. &D3 Reset when on on-to-off DTR transition occurs. &F Recall factory settings as active configuration. &G0 No guard tones issued. &G1 550 Hz guard tone. &G2 1800 Hz guard tone. &J0 RJ-11/RJ-41S/RJ-45S telco jack (single line). &J1 RJ-12/RJ-13 telco jack (multiple line). *&K0 Local flow-control disabled. *&K3 RTS/CTS flow-control. *&K4 XON/XOFF flow-control. *&K5 Transparent XON/XOFF flow-control. *&L0 Dial-up operation. &P0 Pulse dial make/break ratio of 39%/61% (US) &P1 Pulse dial make/break ratio of 33%/67% (International). &Q0 Asynchronous mode. &Q1 Synchronous mode 1 &Q2 Synchronous mode 2 &Q3 Synchronous mode 3 &Q4 Synchronous mode 4 *&Q5 Error-control mode. N.B. &Mn may be used in place of all &Qn options except &Q4 and &Q5. &R0 Track CTS according to RTS (RS-232 standard). &R1 Ignore RTS; always assume presence of CTS. &S0 Assume presence of DSR signal (DSR always high). &S1 Track presence of DSR signal. &T0 Terminate test in progress. &T1 Initiate local analog loopback test. &T3 Initiate local digital loopback test. &T4 Grant request from remote modem for remote digital loopback test. &T5 Deny request from remote modem for remote digital loopback test. &T6 Initiate remote digital loopback test. &T7 Initiate remote digital loopback with self test. &T8 Initiate local analog loopback with self test. &V View active configuration, user profiles, and stored numbers. &W0 Save active config. as user profile 0. &W1 Save active config. as user profile 1. &X0 Modem provides transmit clock signal in synchronous mode. &X1 Data terminal provides transmit clock signal in synchronous mode. &X2 Receive carrier provides transmit clock signal in synchronous mode. &Y0 Recall user profile 0 on power-up. &Y1 Recall user profile 1 on power-up. Zn=x Store phone number "x" in location "n" (cf. "S" dial modifier). Note 1 : Some older Hayes modems supported the use of the ATCn and ATFn commands. On the V-series modems, issuing either of these commands with n not = 1 will generate an ERROR result code. Note 2 : When a command is issued without a number modifier, a zero is assumed (thus the command ATV is equivalent to ATV0, AT&C = AT&C0, etc.). @@@@@ Type Selection or L for list, to exit: 2 Type P to Pause, S to Stop listing S-Register Chart The following chart summarizes the modem's S-Registers.  Register Range Description Factory Setting  S0 0-255 rings Select ring to answer on. 0 S1 0-255 rings Ring count (incremented 0 with each ring). S2 0-127 ASCII Define escape sequence 43 (+) character. S3 0-127 ASCII Define carriage return 13 character. S4 0-127 ASCII Define line feed character. 10 S5 0-32, 127 Define back space character. 8 ASCII S6 2-255 sec. Select wait time before 2 blind dialing. S7 1-255 sec. Select wait time for 30 carrier/dial tone. S8 0-255 sec. Select duration of comma 2 dial modifier. S9 1-255 Select carrier detect 6 (1/10 sec.) response time. S10 1-255 Select delay between carrier 14 (1/10 sec.) loss/hangup. S11 50-255 msec. Define duration/spacing 95 of tones. S12 0-255 Define escape sequence 50 (1/ 50 sec.) guard time. S13-15 Reserved. S16 Reserved (Note: functions for this register controlled by the &T commands). S17 Reserved. S18 0-255 sec. Select test timer. 0 S19-24 Reserved. S25 0-255. Select DTR change detect time. 5 (1/100 sec.) S26 0-255 Select RTS to CTS delay. 1 (1/100 sec.) S27- S35 Reserved. S36 0,1 Select negotiation failure 1 treatment. S37 0-7 Select desired DCE line speed. 0 S38 0-255 sec. Select delay before forced 20 hang up.   Type Selection or L for list, to exit: 3 Type P to Pause, S to Stop listing Result Codes Q, V, X, W The V-series Smartmodem 9600 supports the following result codes. Various combinations of forms, subsets, and display can be selected with the commands discussed in this section. Result Code Definitions  Numeric Verbose Description  0 OK Command executed 1 CONNECT Connection at 0 to 300 bps 2 RING Ring signal detected 3 NO CARRIER Carrier signal not detected, or lost 4 ERROR Invalid command, checksum, error in command line, or command line exceeds 255 characters 5 CONNECT 1200 Connection at 1200 bps 6 NO DIALTONE No dial tone detected 7 BUSY Busy signal detected 8 NO ANSWER No silence detected when dialing a system not providing a dial tone 10 CONNECT 2400 Connection at 2400 bps 11 CONNECT 4800 Connection at 4800 bps 12 CONNECT 9600 Connection at 9600 bps 14 CONNECT 19200 Connection at 19200 bps 40 CARRIER 300 Carrier detected at 300 bps 46 CARRIER 1200 Carrier detected at 1200 bps 47 CARRIER 2400 Carrier detected at 2400 bps 48 CARRIER 4800 Carrier detected at 4800 bps 50 CARRIER 9600 Carrier detected at 9600 bps 70 PROTOCOL: NONE Asynchronous mode 71 PROTOCOL: ERROR- CONTROL/LAP-B Error-control mode with LAP-B protocol 72 PROTOCOL: ERROR- CONTROL/LAP-B/HDX Error-control mode with extended LAP-B protocol in half-duplex 73 PROTOCOL: ERROR- CONTROL/AFT Error-control mode with AFT   Note: CONNECT XXXX messages refer to modem-to-DTE connection speeds; CARRIER messages refer to DCE line speeds of the connection. Result Code Display Display of result codes for commands issued to the modem can be controlled with three separate commands. The Q command enables or disables result codes. Q0 Modem returns result codes (factory setting) Q1 Modem does not return result codes Q2 Modem returns result codes when originating a call; does not return result codes when answering a call Result Code Form The V command determines the form of result codes, whether they are returned as words (e.g., OK, ERROR, CONNECT) or as numbers. V0 Result codes displayed in numeric form V1 Result codes displayed in verbose (English) form (factory setting) For a comparative listing of numeric and verbose result codes, see the chart above outlining result code definitions. Result Code Set and Dialing Capabilities The X command selects result codes and enables dialing capabilities such as call progress monitoring. X0 Basic set of result codes (0-4) enabled The modem blind dials and sends the CONNECT result code once a satisfactory connection is established. Dial tone and busy signal are not recognized. X1 Result codes 0-5, 10-12, 14 enabled The modem blind dials and sends the appropriate CONNECT XXXX result code once a satisfactory connection is established. Dial tone and busy signal are not recognized. X2 Result codes 0-6, 10-12, 14 enabled; dial tone detected The modem waits for a dial tone before dialing, then sends the appropriate CONNECT XXXX result code once a satisfactory connection is established. The NO DIALTONE result code is sent if a dial tone is not detected within 5 seconds. Busy signals are not recognized. X3 Result codes 0-5, 7, 10-12, 14 enabled; busy signal detected; dial tone not detected The modem blind dials and sends the CONNECT XXXX result code once a satisfactory connection is established. The BUSY result code is sent if a busy signal is detected, but dial tones are not detected. X4 Result codes 0-7, 10-12, 14 enabled; dial tone and busy signal detected (factory setting) The modem waits for a dial tone before dialing, then sends the appropriate CONNECT XXXX result code once a satisfactory connection is established. The NO DIALTONE result code is sent if a dial tone is not detected within 5 seconds. The BUSY result code is sent if a busy signal is detected. Note: The NO ANSWER result code (8) is displayed only when a predetermined duration of silence expires when dialing a system not providing a dial tone. The display of this result code is independent of the X command. This result code is returned only when the @ dial modifier is included in the dial (D) command string. Negotiation Progress Reporting An additional set of result codes can be enabled to report progress of the negotiation phase of the error-control mode. These codes report the carrier speed (300-9600 bps) the link level protocol (LAP-B or AFT), and whether the link will be full- or half-duplex. These messages can also be reported in either numeric or verbose form. For example, both 72 and PROTOCOL: ERROR-CONTROL/LAP-B/HDX indicate that the protocol is extended LAP-B across a half-duplex link. W0 Error-control call progress not reported (factory setting) W1 Error-control call progress reported If the error-control link is negotiated, and a connection is made, the appropriate CONNECT XXXX message is reported. When in error-control mode, the CARRIER message may indicate one speed, while the CONNECT XXXX message reports another. The modem to DTE speed can be higher than the DCE line speed because of adaptive data compression and the capability of the modem to communicate with the remote modem at one speed and with the attached device at another. Type Selection or L for list, to exit: