I-Modem Command Reference
Total Page:16
File Type:pdf, Size:1020Kb
U.S. Robotics I-modem Command Reference U.S. Robotics I-modem Command Reference page i U.S. Robotics I-modem Command Reference The material contained in this manual is for information purposes only and is subject to change without notice. No part of this document may be reproduced, transmitted, transcribed, or stored in a retrieval system in any form or by any means, mechanical, magnetic, electronic, optical, chemical, or otherwise without the written permission of U.S. Robotics. U.S. Robotics and the U.S. Robotics logo are registered trademarks of U.S. Robotics. Courier, V.Everything, and I-modem are tradmarks of U.S. Robotics. Microsoft and Win- dows NT are registered trademarks of Microsoft Corporation. V.Fast Class and V.FC are trademarks of Rockwell International. MNP is a registered trademark of Microcom Sys- tems, Inc. Any trademarks, trade names, service marks, or service names owned or registered by any other company and used in this manual are the property of their respective companies. U.S. Robotics assumes no responsibility for errors or omissions in this manual. Nor does U.S. Robotics make any commitment to update the information contained herein. ©1997 U.S. Robotics Corp. 8100 N. McCormick Blvd. Skokie, IL 60076-2999 USA page ii U.S. Robotics I-modem Command Reference Table of Contents Chapter 1 Using the AT Command Set 1-1 General Rules for Using AT Commands 1-1 Basic AT Commands 1-2 S-registers 1-3 Chapter 2 Modes of Operation 2-1 Command and Online Modes 2-1 Controlling Local Echo 2-3 Data and Fax Modes 2-5 Chapter 3 Dialing, Answering, and Hanging Up 3-1 Making International Calls 3-7 Call Detection 3-9 page iii U.S. Robotics I-modem Command Reference Chapter 4 Working with Memory 4-1 Displaying Saved Information 4-6 Chapter 5 Controlling Result Code Displays 5-1 Result Code Display Commands 5-1 Chapter 6 Controlling EIA-232 Signaling 6-1 Controlling EIA-232 Signaling 6-1 Chapter 7 Controlling Data Rates 7-1 Serial Port Rates 7-1 Connection Rates 7-3 Chapter 8 Remote Access 8-1 Setting Up Remote Access 8-2 Accessing the Host 8-4 page iv U.S. Robotics I-modem Command Reference Viewing and Changing the HostÕs ConÞguration 8-7 Chapter 9 Dial Security 9-1 Setting Up Dial Security 9-2 AT%A0=password,y,y,n,5551000 9-3 AT%A0=password,y,y,n,5551000 9-6 Maintaining Security Accounts 9-12 What the Guest User Needs to Do 9-15 ConÞguring Dial Security Remotely 9-17 Chapter 10 Flow Control 10-1 Hardware and Software Flow Control 10-2 Received and Transmit Data Flow Control 10-3 Chapter 11 Handshaking, Error Control, Data Compression, and Throughput 11-1 Handshaking 11-1 Error Control 11-10 page v U.S. Robotics I-modem Command Reference Data Compression 11-14 Getting Maximum Throughput 11-18 Chapter 12 Querying 12-1 Chapter 13 Displaying Help Screens 13-1 Basic Command Set ($) 13-2 Ampersand Command Set (&$) 13-3 S-Registers (S$) 13-6 Percent Command Set (%$) 13-10 Asterisk Command Set (*$) 13-11 Dial Commands (D$) 13-13 Chapter 14 Testing 14-1 Testing the I-modem (Using &T) 14-2 Testing the I-modem Using S16 14-9 page vi U.S. Robotics I-modem Command Reference Chapter 15 Troubleshooting 15-1 Problems That Occur Before Connecting 15-1 Problems that Occur After Connecting 15-5 If You Still Have Problems 15-10 Chapter 16 Analog Synchronous Applications 16-1 Requirements 16-2 Dial Using V.25bis Software 16-4 Synchronous Dialing Using AT Commands 16-13 Chapter 17 Upgrading the I-modemÕs Software 17-1 Checking Your I-modemÕs Software Version 17-1 Getting New Operating Software 17-2 Sending New Software to the I-modem 17-3 Appendix A Alphabetic Command Summary A-1 Basic Command Set A-1 page vii U.S. Robotics I-modem Command Reference Ampersand (&) Command Set A-12 Percent (%) Command Set A-24 Asterisk (*) Command Set A-28 S-registers A-32 Appendix B ASCII Chart B-1 Appendix C Fax Information for Programmers C-1 Fax Service Class 1 Commands C-1 FAX Service Class 2.0 Commands C-2 Fax Mode Flow Control Setting C-2 FCC Notice C-3 Notes C-4 Glossary G-1 Symbols and Numerics G-1 A G-2 B G-5 C G-9 page viii U.S. Robotics I-modem Command Reference D G-14 E G-18 F G-19 H G-21 I G-23 J G-25 K G-25 L G-26 M G-27 N G-28 O G-30 P G-32 R G-34 S G-37 T G-40 U G-42 V G-43 W G-48 X G-49 Y G-49 Z G-50 page ix U.S. Robotics I-modem Command Reference Chapter 1 Using the AT Command Set I-modems are controlled using AT commands. To send AT commands to the I-modem, connect a computer with an EIA-232 serial port to the I-modemÕs serial port. The computer must be running a communications software package. Before you can send any AT commands to your I-modem, you need to put your communi- cations software in Terminal mode. In Terminal mode, what you type is sent directly to the I-modem. General Rules for Using AT Commands ¥ Type AT before each command and press <Enter>1 after each command. Exceptions: A/, A>, and +++, which require neither AT nor <Enter>. 1. Angle brackets (< and >) are used in this manual to indicate the name of a key. Do not type the angle brackets when issuing a command. Using the AT Command Set • Page 1-1 U.S. Robotics I-modem Command Reference ¥ You can leave zeros off commands because a missing numeric parameter is assumed to be a zero. For example, ATE <Enter> is equivalent to ATE0 <Enter>. ¥ You can create compound commands of up to 60 characters between AT and <Enter>. Spaces donÕt add to the count, but hyphens and parentheses do. HereÕs an example: AT&K3X2DT5551234 <Enter> AT Attention; a command follows. &K3 Disable MNP5 data compression; use only V.42bis compression. X2 Use the X2 result code subset. DT Dial the following number using tone dialing. <Enter> Send the commands. Basic AT Commands A/ Reexecute the last-issued command. Do not type AT or press Enter. Using the AT Command Set • Page 1-2 U.S. Robotics I-modem Command Reference A> Repeat the last-issued command until canceled by pressing any key. Do not type AT or press Enter. AT Attention preÞx: Informs the I-modem that a command is coming. AT must pre- cede all commands except A/, A>, and +++. S-registers S-registers are addresses of places in memory where various timing parameters, redeÞni- tions of selected ASCII characters, and other conÞguration settings are stored. Initially, the S-register settings for each of the templates are the same. As with any setting stored in nonvolatile random access memory (NVRAM), however, you can overwrite an S-register's stored value. The default values listed in Table 4-2 are those that users typically require. Using the AT Command Set • Page 1-3 U.S. Robotics I-modem Command Reference Displaying S-register Settings All S-registers To display the S-register settings in the NVRAM templates, issue the command: ATI5 <Enter> To display the S-register settings in RAM (the current conÞguration), issue the command: ATI4 <Enter> In both cases, S-register settings appear as a table seven columns wide, each entry of the form, "Smm=nnn" where mm is a register number between 0 and 67 and nnn is a decimal value between 0 and 255. One S-register To display the contents of a register, use ATSr?, as in this example: ATS19? <Enter> 000 OK Using the AT Command Set • Page 1-4 U.S. Robotics I-modem Command Reference Setting an S-register To change a setting for an S-register in the current conÞguration, use the command ATSr=n <Enter> where r is the register's number and n is a decimal value from 0-255 (unless otherwise indicated) that speciÞes the setting. Important If you do not follow an S-register setting with &W, the setting will be retained only until the next reset or power-off. ATS13=8&W <Enter> Sr=n Set S-register value: r is any S-register; n must be a decimal number between 0 and 255. Sr.b=n Alternative command for setting bit-mapped registers: r is the bit-mapped register, .b is the bit, n is 0 (off) or 1 (on). Using the AT Command Set • Page 1-5 U.S. Robotics I-modem Command Reference Bit-Mapped S-registers Understanding Bit-Mapped S-registers Certain registers are "bit-mapped." A bit-mapped register uses one number to describe a collection of settings. While bit-mapping allows us to pack a lot of information in a small space, it is complex. Unfortunately, some discussion of binary mathematics is necessary to explain bit-mapping. When the I-modem displays the value of an S-register, you see a decimal value between 0 and 255. The I-modem, however, understands the decimal value as a collection of binary digits (bits). HereÕs how bits are mapped to decimal values: Each bit can be either on (1) or off (0). Eight bits create 256 unique combinations of 1s and 0s.