Using the command-line interface AT commands
Digi TransPort® Routers User Guide
167
at\port: Set the active port for text commands
Text commands which affect the settings associated with the serial ports normally operate on the
port at which they are entered, such as entering the at&k command from a terminal connected to ASY
1 will affect only the flow control settings for port 1.
The at\port command selects a different “active” port from that at which the commands are entered.
For example, if your terminal is connected to port 0 and you need to reconfigure the settings for port
2, you would first enter the command:
at \ por t =2
PORT 2
OK
Port 2 is now the active port and any AT commands or changes to S registers settings which affect the
serial ports will now be applied to port 2 only. This includes:
Commands: Z, &D, &F, &K, &V, &Y, &W
S registers: S31, S45
The at\prt? command displays the port to which you are connected and the active port for command/
S register settings. For example:
at \ por t ?
PORT 2
ASY0
OK
Here, ASY2 is the active port and ASY0 is the port at which the command was entered. If the default
port and the port to which you are connected are the same, only one entry will be listed.
To reset the default port to the one to which you are connected, use the at\port command without a
parameter.