background image

CHAPTER 6: Result Codes

43

6. Result Codes

The modem responds to commands from the DTE and to activity on the line by signaling to the DTE in the
form of result codes. The result codes that the modem can send are described in this chapter.

Two forms of each result code are available: long-form (verbose) response and a short-form (terse) response.
The long-form code is preceded and terminated by the sequence < CR>< LF>.

The short-form is terminated by < CR>, only with no preceding sequence.

If result messages are suppressed, nothing is returned to the DTE. The long-form results codes can be modified
by the OEM through the .INF file.

Terse

Verbose

Description

+F4 

+FCERROR

High-speed fax data (V.27, V.29, V.33, or V.17) is expected but a V.21 signal
is received.

0

OK

Command executed.

1

CONNECT

Modem connected to the line. For X command values specifying no speed
reporting, the modem has connected to the line and either the line speed
is 300 bps and is enabled, or the DTE speed is 300 bps and DTE speed
reporting is enabled.

2

RING

Ring signal detected. An incoming ring signal is detected on the line. What
qualifies as a ring signal is determined by country-dependent parameters.

NO CARRIER

Carrier signal lost/not detected. Sent when trying to establish a call if: 

1. Ringback is detected and later ceases but no carrier is detected within

the period of time determined by register S7.

2. No ringback detected within the period of time determined by register

S7. Also sent when the modem auto-disconnects due to loss of carrier.

For X0, sent for the following conditions:

1. If busy tone detection is enforced, busy/circuit-busy has been detected. 

2. If dial tone detection is enforced or selected, dial tone has not been 

detected.

4

ERROR 

Invalid command. Sent during an attempt to execute a command line if
any of the following conditions occur:
1. Command line contains a syntax error.

2. Modem cannot execute a command contained in the command line;

that is, the command does not exist or is not supported.

Summary of Contents for MD1650A-JP

Page 1: ...ng address 6 1 1 Heiwajima Ota ku Tokyo 143 6501 Japan Web site www blackbox co jp E mail info blackbox co jp CUSTOMER SUPPORT INFORMATION SEPTEMBER 2006 MD1650A JP V 92 Dialup 2 Wire or 4 Wire Leased...

Page 2: ......

Page 3: ...nce Changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate the equipment This digital apparatus does not exceed the Class A...

Page 4: ...ler ID Commands 21 2 5 Callback Security Commands 22 2 6 Data Compression Commands 23 2 7 Error Control Commands 24 2 8 DTE Commands 27 2 9 Modulation Command 29 2 10 Call Control Command 30 2 11 Test...

Page 5: ...or communications program to send the commands automatically Fortunately communications programs make modems daily operation effortless by hiding the commands from the user Most users therefore need...

Page 6: ...e modem is at 300 or 1200 bps B1 Selects Bell 212A when the modem is at 300 or 1200 bps Command Ds Dial Values s dial string phone number and dial modifiers Default None Description Dials telephone nu...

Page 7: ...Echo Command Mode Characters Values n 0 or 1 Default 1 Description E0 Does not echo keyboard input to the terminal E1 Does echo keyboard input to the terminal Command Hn Hook Control Values n 0 or 1 D...

Page 8: ...carrier and during dialing but on during answering Command On Return Online to Data Mode Values n 0 or 1 Default None Description O0 Exit online command mode and return to online data mode without a r...

Page 9: ...result codes as digits terse response V1 Display result codes as words verbose response Command Wn Connect Message Control Values n 0 1 or 2 Default 0 Description W0 The CONNECT result code reports t...

Page 10: ...ONNECT message is generated C3 DCD goes high when the CONNECT message is generated C4 Disables C5 and C6 commands C5 UNIX only Holds DCD low until proper callback security password is entered or until...

Page 11: ...Q0 NOTE If D1 D2 or D3 is set the modem will not dial without a DTR drop Command En V 42 Error Correction Modes Values n 0 1 or 2 Default 1 Description E0 V 42 non error correction mode V 42 disabled...

Page 12: ...nables CTS RTS hardware flow control K4 Enables X ON X OFF software flow control K5 Enables transparent X ON X OFF flow control K6 Enables both CTS RTS and X ON X OFF flow control NOTE See also the E...

Page 13: ...lects direct asynchronous operation See M0 Q1 Selects synchronous connect mode with asynchronous offline command mode See M1 Serial interface operation only Q2 Selects synchronous connect mode with as...

Page 14: ...mmand NOTE See also the Z F and Y commands Command Xn Synchronous Clock Source Values n 0 1 or 2 Default 0 Description Selects the source of the transmit clock for synchronous mode In asynchronous mod...

Page 15: ...tion Enables or disables data compression negotiation The modem can only perform data compression on an error corrected link C0 Disables data compression C1 Enables MNP 5 data compression negotiation...

Page 16: ...n Values n 0 or 1 Default 0 Description Specifies the PCM code type for 56K modulation NOTE The modem automatically selects the code type if the server sends the proper ID U0 Selects law coding used i...

Page 17: ...not make a V 42 connection it disconnects Forces Q5 and S48 0 NOTE K1 can override N4 N5 MNP reliable mode If the modem cannot make an MNP connection it disconnects Forces Q5 S36 4 and S48 128 Command...

Page 18: ...ables automode specifies the lowest and highest connection rates selects Law or A Law codec type and specifies the highest transmit rate using one to five subparameters The command format is MS MS car...

Page 19: ...limits for the receive direction as distinct from the transmit direction Values for this subparameter are decimal encoded in units of bit s The possible values for each modulation are listed in the ta...

Page 20: ...attempted in the previous two hours failed Permanently forbidden numbers as defined by country requirements do not appear in this list If no numbers are blacklisted only the OK result code is display...

Page 21: ...2 3 Modem Connection Commands Command PCW n Call Waiting Enable Values n 0 1 or 2 Default 2 Description Controls the action to be taken upon detection of a call waiting tone in V 92 mode Values specif...

Page 22: ...Syntax PSS value Values value Decimal number corresponding to the selected sequence 0 The modems decide whether or not to use the short startup procedures The short startup procedures can only be use...

Page 23: ...rst ring The reported data includes the date and time of the call the caller s name and number and a message Set S0 2 VCID 0 Disables Caller ID VCID 1 Enables Caller ID with formatted data VCID 2 Enab...

Page 24: ...immediately connected Command CBPn x Store Callback Password Values n 01 30 x password 6 10 characters Default None Description Stores callback security password x in memory location y The password mu...

Page 25: ...fter the error control report ER and before the final result code for example CONNECT Report Commands DR Reports current or selected values DR Reports supported range of parameter values Command DS Da...

Page 26: ...256 to 2048 that specifies the maximum number of code words that should be negotiated in the transmit direction Default 2048 max_codewords_rx The decimal number from 256 to 2048 that specifies the max...

Page 27: ...s supported range of parameter values Command ES Error Control Selection Description This extended format command specifies the initial requested mode of operation when the modem is operating as the o...

Page 28: ...extended format numeric parameter controls the use of the selective reject SREJ option in V 42 Syntax ESR value Decimal number 0 specifying that SREJ is not used Report Commands ESR Reports current or...

Page 29: ...h DC1 DC3 characters being passed through to the remote DCE in addition to being acted upon for local flow control DTE_by_modem Specifies the method the modem will use to control flow of transmitted d...

Page 30: ...xtended format parameter specifies the data rate at which the modem will accept commands during online operation It may be used to select operation at rates at which the modem is not capable of automa...

Page 31: ...nt setting of MR or S95 bit 2 and the W command setting determines modulation result code reporting see S95 Parameter and W Command Syntax MR value Values value A decimal number corresponding to the s...

Page 32: ...f parameter values Result Codes OK value 0 7 ERROR Otherwise Behavior in Data Mode FCLASS 0 When on hook if the line is in use and an ATDT is issued the modem will not go off hook and will return with...

Page 33: ...in a data connection the modem will then send a GSTN Clear down to the remote modem and then go on hook The modem will then send a NO CARRIER message to the DTE A result code of 25 will be left in S8...

Page 34: ...Ring AT VLS 1 OK AT VSM 1 8000 AT VTX Starts to play greeting message DLE P User picks up extension DLE DTE sends abort to end playback AT VLS 0 DTE hangs up Automated system that needs to periodicall...

Page 35: ...when the modem is in asynchronous operation in non error correction mode normal or direct mode To terminate a test in progress the escape sequence must be entered first T0 Abort Stop any test in prog...

Page 36: ...gotiation Example If initial V 8 negotiation fails but subsequent T 30 negotiation indicates V 8 capability this command may be used to initiate V 8 negotiation Syntax A8E v8o v8a v8cf v8b cfrange pro...

Page 37: ...rt Commands A8E Reports current or selected values A8E Reports supported range of parameter values Command A8I CI Signal Indication Description This indication is issued by an answering modem if A8E v...

Page 38: ...a number Values s dial string 0 9 P T Command CRIs Call Request Identification Description Used to dial a number Values s dial string 0 9 P T V 25bis Number Format 0 9 Dialing Digit Wait tone Pause S...

Page 39: ...5bis Responses CFIrr Call Failure Indication where rr equals the following messages ab Call not answered et Engaged tone same as Busy fc Number on forbidden list number is blacklisted nd No dial tone...

Page 40: ...Backspace Character Sets the ASCII code for the backspace 33 127 character Values greater than 32 disable backspace S6 seconds 2 255 country Wait Time Before Blind Dialing or for Dial Tone Sets the de...

Page 41: ...re it attempts a dialup connection S24 seconds 0 255 0 Sleep Inactivity Timer Sets the number of seconds that the modem operates in normal mode with no detected telephone or serial port activity befor...

Page 42: ...e modem s receipt of the H command to disconnect or high to low transition of DTR if the modem is programmed to follow the signal and the disconnect operation Applies only to error correction connecti...

Page 43: ...or correction at the other end 6 No response to feature negotiation 7 This modem is async only the other is sync only 8 No framing technique in common 9 No protocol in common 10 Bad response to featur...

Page 44: ...2 3 and 5 respectively The more recent settings of MR ER and DR or host writing of S95 bits 2 3 and 5 along with the W command setting determine the corresponding actual result code reporting see MR...

Page 45: ...e and either the line speed is 300 bps and is enabled or the DTE speed is 300 bps and DTE speed reporting is enabled 2 RING Ring signal detected An incoming ring signal is detected on the line What qu...

Page 46: ...t 2400 bps speed reporting enabled Modem connects to the line either the line speed is 2400 bps with speed reporting enabled or the DTE speed is 2400 bps and the DTE speed reporting is enabled 11 CONN...

Page 47: ...nd line speed reporting is enabled 24 DELAYED Delay is in effect for the dialed number For X4 sent when a call fails to connect and the number dialed is considered delayed due to country blacklisting...

Page 48: ...orting enabled 61 CONNECT 21600 Connected at 21 600 bps and DTE speed reporting enabled 62 CONNECT 24000 Connected at 24 000 bps and DTE speed reporting enabled 63 CONNECT 26400 Connected at 26 400 bp...

Page 49: ...ed with ITU T V 21 modulation and modulation reporting is enabled See MR S95 Xn 137 MCR V22 Connected with ITU T V 22 modulation and modulation reporting is enabled See MR S95 Xn 138 MCR V22B Connecte...

Page 50: ...Connected at 34 000 bps and DCE speed reporting is enabled 167 CONNECT 36000 Connected at 36 000 bps and DCE speed reporting is enabled 168 CONNECT 38000 Connected at 38 000 bps and DCE speed reporti...

Page 51: ...28 000 bps and carrier reporting is enabled See S95 Xn 196 MRR 29333 Connected at 29 333 bps and carrier reporting is enabled See S95 Xn 197 MRR 30667 Connected at 30 667 bps and carrier reporting is...

Page 52: ...m result code or verbose extended result message 2 See Wn for extended connect message control 3 See S95 for extended result code enabling options which override some Wn commands 4 See Xn for extended...

Page 53: ...egion Select LCD across the Region Settings Options LCD to the Current Setting LCD 3 If the current setting shown is not the one for your region use the arrow keys to get to the Region Profile LCD The...

Page 54: ...CD into the CD ROM drive The Autorun dialog box appears 2 Click Initial Setup and Country or Region Selection The Global Wizard dialog box appears Click Next 3 The Global Wizard searches for your mod...

Page 55: ...these commands in your communication program s terminal window You can use a communication program such as PhoneTools How to change the country region code 1 Set and save the country region code 00 by...

Page 56: ...6 1 1 Heiwajima Ota ku Tokyo 143 6501 Japan 03 5471 8800 Fax 03 5471 8822 Copyright 2006 Black Box Corporation All rights reserved...

Reviews: