EasyManua.ls Logo

Digi TransPort WR31 - The at Command Interface; AT Commands Are Case-Insensitive; Entering Multiple Commands; Escape Sequences

Digi TransPort WR31
866 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Use the command-line interface AT commands
Digi TransPort WR Routers User Guide 112
The AT command interface
The AT command prefix is for commands that are common to modems. To configure the router
using AT commands, you must first connect it to a suitable asynchronous terminal.
1 Set the interface speed/data format for your terminal to 115,200bps, 8 data bits, no parity and 1
stop bit. You can change these settings later if necessary.
2 When your terminal is correctly configured, apply power and wait for the B2 indicator to stop
flashing. The device is now ready to respond to commands from an attached terminal and is in
command mode. Alternatively, you can configure the router to automatically connect to a
remote system on powerup,
3 Type AT (in upper or lower case), and press [Enter]. The router should respond with the message
OK. This message is issued after successful completion of each command. If an invalid
command is entered, the router will respond with the message ERROR.
If there is no response, check that the serial cable is properly connected and that your terminal
or PC communications software is correctly configured before trying again.
If you have local command echo enabled on your terminal, you may see the AT command
displayed as AATT. If this happens, use the ATE0 command (which will appear as AATTEE00), to
prevent the router from providing command echo. After this command has been entered,
further commands will be displayed without the echo.
AT commands are case-insensitive
The AT command prefix and the commands that follow it can be entered in upper or lower case.
Entering multiple commands
After the prefix, you can enter one or more commands on the same line of up to 40 characters. When
the line is entered, the router will execute each command in turn.
Escape sequences
If you enter a command such as ATD, which results in the router successfully establishing a
connection to a remote system, it will issue a CONNECT result code and switch from command
mode to on-line mode. This means that it will no longer accept commands from the terminal.
Instead, data will be passed transparently through the router to the remote system. In the same
way, data from the remote system will pass straight through to your terminal.
The router will automatically return to command mode if the connection to the remote system is
terminated.
To return to command mode manually, you must enter a special sequence of characters called the
escape sequence. This consists of three occurrences of the escape character, a pause (user
configurable) and then AT. The default escape character is + so the default escape sequence is:
+++ {pause} AT
Entering this sequence when the router is on-line causes the router to return to command mode but
it will NOT disconnect from the remote system unless you specifically instruct it to do so (using ATH
or another method of disconnecting). If you have not disconnected the call, use the ATO command
to go back on-line.

Table of Contents

Other manuals for Digi TransPort WR31

Related product manuals