Modem Result Codes
When you execute or try to execute an AT command, your modem sends a result code to let you know whether the command was executed. An OK result code means the AT command you sent was executed. If you receive an ERROR code, it means the command was invalid.
The Comet also provides result codes that show:
∙Whether or not a Dial Tone was detected when the modem originated a call.
∙If a busy signal was detected when the modem originated a call.
∙The speed, protocol, and error control/data compression method used.
∙If your modem has detected an incoming ring.
Result codes can originate from any of eight result code sets. The ATXn and ATWn command lets you choose which set of result codes your modem uses. By default, your modem uses result codes equivalent to the ATX4 and ATW2 command.
Viewing S Register Values
Status registers (or
You can use the Sr? command to view the value of
Changing S Register Values
You can use the ATSr=n command to change the value of an
For example, to have your modem
Non-Volatile Memory
The Comet has memory set aside for storing user information such as frequently used phone numbers and default command settings. This section covers the topics of storing phone numbers, and saving default settings in the
Storing Phone Numbers
The AT command to store a phone number is in the format AT&Zs=n.
Basic Modem Operation 17