Microsoft KB Archive/58012

= Hayes Modem USR Command Set =

Article ID: 58012

Article Last Modified on 7/30/2001



This article was previously published under Q58012



SUMMARY
The following information is a reference for users of Hayes modems. The USR Command Summary lists the instructions you can give the modem while in command mode. AT is the prefix you use to get the modem's attention. USR stands for U.S. Robotics.



Hayes USR Command Summary
  AT Command  Description -- ---   ATA         Force answer mode

A/         Re-execute last command

AT         Command prefix

ATBn       n=0 (CCITT answer tone) n=1 (US answer tone)

ATCn       n=0 (Transmitter disabled) n=1 (Transmitter enabled)

ATDn       n=P (Pulse dialing) n=T (Tone dialing) n=, (2 second pause) n=; (dial and return to command mode) n=@ (dial, wait for answer and continue) n=W (Dial wait for another dial tone, continue) n=R (Reverse frequencies)

ATEn       n=0 (Command echo off) n=1 (Command echo on)

ATFn       n=0 (Local echo on) n=1 (Local echo off)

ATHn       n=0 (Hang up) n=1 (Go on hook)

ATIn       n=0 (Product code) n=1 (ROM checksum) n=2 (RAM test) n=3 (Call duration) n=4 (Show settings)

ATKn       n=0 (Call duration) n=1 (Show real time)

ATMn       n=0 (Speaker always off) n=1 (Speaker on until connect) n=2 (Speaker always on) n=3 (Speaker on after dial)

ATO        Return on line

ATQn       n=0 (Display result codes) n=1 (Quiet mode)

ATSr=n     Set register r to n

ATSr? Display register contents

ATVn       n=0 (Numeric result codes) n=1 (Verbal codes)

ATXn       n=0 (Basic result codes) n=1 (Extended results) n=2-6 (Advanced codes)

ATZ        Software reset

+++        Escape to command mode

S Registers
 Usage: ATSr=n

Setting  Description ---  ---

0       Set number of rings to answer on    1        Counts number of rings 2       Sets ASCII escape char 3       Sets ASCII carriage return char 4       Sets ASCII LF char 5       Sets ASCII BS char 6       Sets number of seconds before dialing 7       Sets carrier timeout 8       Sets duration of pause &quot;,&quot; 9       Sets carrier detect time 10       Sets carrier loss time 11       Sets touch tone duration 12       Sets guard tone time

Keywords: KB58012

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.