ZyXEL Communications 3356P-LAN Non-Volatile Memory, Modem Result Codes, Viewing S Register Values

Page 23

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 "S-registers") contain values that determine the modem’ s operating characteristics. Whenever you send an AT command to your modem, you are actually changing the value of an S-register.

You can use the Sr? command to view the value of S-registerr’ . For example, to view the value of S-register S0, which controls auto-answering, type ATS0? and press Enter. The modem responds with a three-digit character showing the value of this register, followed by OK. A value of 002, for example, means your modem will auto- answer incoming calls after the second ring.

Changing S Register Values

You can use the ATSr=n command to change the value of an S-register r.

For example, to have your modem auto-answer an incoming call after two rings, set S- register 0 to 2. Be sure the n value is between 1 and 255. If n is set to 0, your modem will not answer incoming calls.

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 power-on profile.

Storing Phone Numbers

The AT command to store a phone number is in the format AT&Zs=n.

Basic Modem Operation 17

Image 23
Contents Comet 3356P-LAN User’ s Manual FCC Part 15 Information Limited WarrantyAcknowledgments Contacting ZyXEL FCC Requirements∙ E-mail Table of Contents Status Registers & Result Codes Required Equipment Unpacking Your ModemHardware Overview Introduction Non-Windows 95 & Windows NT Operating Systems Novell Netware InstallationHardware MS LAN Manager Installation Bindings = Lmndisnif Lanabase = Windows for Workgroups 3.11 Installation Packet Driver InstallationChoose Program Manager, Main, Control Panel, Network Windows NT 3.51 InstallationSelect Enhanced mode NDIS3 for.... then press OK Ethernet + Fax/Modem PC Card Installation for NTResource Recommendations Windows NT4.0 InstallationSelect Ethernet + Fax/Modem PC then click OK Choose My computer, Control Panel, Network, Adapters Choose My computer, Control Panel, NetworkArtisoft Lantastic 6.0 Installation Windows 95 InstallationPage Installation Using the Windows 95 Hyper Terminal Program Understanding AT CommandsDialing and Answering Techniques Dialing using the ATD CommandAuto-Answer and Hook Controls Quick Tips when issuing AT CommandsMaking Your First Connection AT Command Set/Type Example Command DescriptionChanging S Register Values Non-Volatile MemoryModem Result Codes Viewing S Register ValuesDialing Stored Phone Numbers Saving Settings and User ProfilesDefault Modem Settings for PC’ s CommandCommand Use both V.42bis and MNP 5 data compression Basic Modem Operation Basic AT Command Set AT Command Set SummariesSpeaker always on Extended AT& Command Set Extended AT% Command Set Extended AT\ Command SetExtended AT- Command Set AT Command Set Summaries Status Registers & Result Codes Register Dec Function & Description Default Result Code Options Table Extended Result Code Options Table Connect Connect 300 EC NoEC