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. The latter is particularly useful when you use your modem to call a variety of different locations that require different settings. For this reason, the Comet provides a number of user “Profiles” that can be accessed through simple AT commands. 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.

The ‘s’ is a number from 0 to 3 that represents the location in memory that the phone number is to be stored, and the ‘n’ is the phone number itself.

Example: To store the number ‘1-714-555-1212’ in memory location ‘2’, type:

AT&Z2=17145551212<Enter>

You can store up to 4 telephone numbers.

Dialing Stored Phone Numbers

The AT command syntax used to dial a store number is ATDSn.

The ‘n’ is the memory location of the stored number you want to dial.

Note: As a general rule, when a letter in an AT command definition is shown in italic type, the letter is not to be entered as part of the command, but rather is representative of a number or string expected as input. For example: The letter Sin the ATDS=n command is actually typed, unlike the sin the AT&Zs=n command which represents a number.

Saving Settings and User Profiles

There are some cases where you may wish to save the settings you have made as the default settings that are recalled when the Comet is powered up. The AT&WZ command selects the current settings as the power-on profile.

There are four profiles that can be changed by the user, and one factory default profile. The following table lists the syntax for the command involved in storing, recalling, and viewing the profile settings.

AT&Vn

Views the settings in profile (n-1); n=0 to 2; n=0 views current settings;

14 Basic Modem Operation

Page 20
Image 20
ZyXEL Communications Comet 336P user manual Non-Volatile Memory, Storing Phone Numbers, Dialing Stored Phone Numbers