Contents:Dialing, Answering, and Hanging Up Controlling Result Code Displays Accessing and Configuring the Courier 56K Business Modem Remotely Handshaking, Error Control, Data Compression, and Throughput Displaying Querying and Help Screens Dedicated/Lease Line and Synchronous Applications AppendixesFax Information for Programmers |
Courier 56K Business Modem Command ReferenceAccessing and Configuring the Courier 56K Business Modem remotelyThis chapter contains information about: OverviewYou can set up the Courier 56K Business Modem so other devices can view or change its configuration remotely. You should be familiar with these terms before you continue:
Setting Up Remote Access
|
To allow guest users to
|
Use this command to assign a
remote-access password
|
View the Courier 56K Business Modems configuration. |
AT%P0=password
|
View and change the Courier 56K Business Modems configuration. |
AT%P1=password
|
Example: Sending AT%P1= wombat will allow a remote user to log in with the password "wombat." The user can view and change the Courier 56K Business Modems configuration.
Note: Remote-access passwords can be up to eight alphanumeric characters long, and are not case-sensitive.
The table below is a list of remote-access configuration commands.
For your modem to
|
Command
|
Display a view-only password |
AT%P0?
|
Display a view-and-change password |
AT%P1?
|
Erase a view-only password |
AT%P0=
|
Erase a view-and-change password |
AT%P1=
|
Disable remote access entirely |
ATS41=0
|
Example: Sending AT%P1= will erase the view and change password.
WARNING: If you erase the %P1 password without disabling remote access (using ATS41=0), anyone could access the Courier 56K Business Modem and change its configuration.
The guest device requires no configuration to access the host. Follow these steps:
Password (Ctrl-C to cancel)?
There is a three minute time limit for entering the password. If the
number of unsuccessful login attempts exceeds the set limit, the host
device returns online and refuses any further login attempts during
the remainder of the connection.
When the host accepts the password, the following message and prompt
will appear on your screen:
Remote Access granted
Remote->
Note: You may not be prompted
for a password. If you arent, password security is not active.
The following prompt appears on your screen after you type the four
tildes:
Remote Access granted (query only)
Remote->
Note: During a remote-access session,
the maximum number of characters between carriage returns is 40.
Once you've gained guest access to a host, you can communicate with the host just as if you were entering commands from its attached computer.
Depending on your access privileges, you can use the regular set of Courier 56K Business Modem AT commands.
If you have this access privilege
|
You can use
|
View-only
|
Any of the inquiry (ATI) commands |
View and Configure
|
Any of the Courier 56K Business Modem commands, except
those that cannot be used while online (for example, ATD or ATA).
You can also use remote configuration commands. See the next section for examples. |
CAUTION: Be careful not to send ATZ or ATZ! or you will lose the connection!
There are special commands that can be used only during a remote-access session.
You can change the host Courier 56K Business Modems serial port rate by using the AT%Bn command.
To change the host Courier 56K
Business Modems serial port rate to
|
Command
|
To change the host Courier 56K
Business Modems serial port rate to
|
Command
|
|
110 bps
|
AT%B0
|
9600 bps
|
AT%B6
|
|
300 bps
|
AT%B1
|
19200 bps
|
AT%B7
|
|
600 bps
|
AT%B2
|
38400 bps
|
AT%B8
|
|
1200 bps
|
AT%B3
|
57600 bps
|
AT%B9
|
|
2400 bps
|
AT%B4
|
76800 bps
|
AT%B10
|
|
4800 bps
|
AT%B5
|
115200 bps
|
AT%B11
|
|
230400 bps
|
AT%B12
|
Example: Sending AT%B6 will change the Courier 56K Business Modems serial port rate to 9600 bps.
You can use the AT%Fn command to control the data format.
To change the data format to
|
Command
|
No Parity (8 data bits) |
AT%F0
|
Mark parity (7 data bits)
|
AT%F1
|
Odd Parity (7 data bits)
|
AT%F2
|
Even parity (7 data bits)
|
AT%F3
|
You can use the AT%Cn command to control whether and when to apply changes to the configuration.
For your modem to
|
Command
|
Defer configuration changes to when the call ends. |
AT%C0 (Default)
|
Restore the original configuration. Use this command to cancel any changes made during remote access and restore the original configuration. |
AT%C1
|
Force configuration changes. Use this command to make configuration changes take effect immediately. We do not recommend forcing changes unless it is absolutely necessary because an unreliable connection, or even a loss of connection, may result. |
AT%C2 |
Example: Sending AT%C1 will cancel any changes made to the modem during a remote access session and restore it to the original configuration.
Note: Even though, by default (%C0), the changes you make do not take effect until the next connection, the new configuration is reflected immediately in inquiry responses (ATIn). Commands that have been written to NVRAM (using &W) and forced configuration changes (%C2) will not be restored to their previous settings when you send the host AT%C1.
After you make changes to the hosts configuration, the remote- access prompt changes from Remote-> to Remote+>.
If you restore the original configuration using the AT%C1 command, the first prompt is restored, assuring you the original configuration is intact.
If you want to quit the remote access login before you have entered the
password, return online by pressing <Ctrl>C or typing ATO.
After youve entered the password, you can quit by sending one of these commands:
To end the remote-access session
|
Command
|
And keep the connection. |
ATO
|
And end the connection. |
ATH
|
End the connection, and reset the host modem. |
ATZ
|
Note: Before you disconnect,
issue the ATI5 command to the remote modem and check its S41 setting.
Make sure S41 is set for a value of 1 or greater. If S41 is set to 0,
when you disconnect you will not be able to access the remote modem again.
To prevent this send ATS41=1&W before you disconnect.