
7: Tunneling
Modem Emulation
The XPort AR supports Modem Emulation mode for devices that send out modem signals. There are two different modes supported:
Command Mode: sends back verbal response codes.
Data Mode: information transferred in is also transferred out.
It is possible to change the default on bootup for verbose response codes, echo commands, and quiet mode. The current settings can be overridden, however on bootup it will go back to the programmed settings.
Configure the connect string as necessary. The connect string appends to the communication packet when the modem connects to a remote location. It is possible to append additional text to the connect message.
Command Mode
The Modem Emulation’s Command Mode supports the standard AT command set. For a list of available commands from the serial or telnet login, enter AT?. Use ATDT, ATD, and ATDP to establish a connection:
+++ | Switches to command mode if entered from |
| serial port during connection. |
|
|
AT? | Help. |
|
|
ATDT<Address Info> | Establishes the TCP connection to socket |
| (<IP>/<port>). |
ATDP<Address Info> | See ATDT. |
|
|
ATD | Like ATDT. Dials default connect mode |
| remote address and port. |
ATO | Switches to data mode if connection still |
| exists. Vice versa to '+++'. |
ATEn | Switches echo in command mode (off - 0, on - |
| 1). |
|
|
ATH | Disconnects the network session. |
|
|
ATI | Displays modem information. |
|
|
ATQn | Quiet mode (0 - enable results code, 1 - |
| disable results code.) |
|
|
ATVn | Verbose mode (0 - numeric result codes, 1 - |
| text result codes.) |
ATZ | Restores the current state from the setup |
| settings. |
A/ | Repeat last valid command. |
|
|
All of these commands behave like a modem. For commands that are valid but not applicable to the XPort AR, an “OK” message is sent (but the command is silently ignored).
XPort AR User Guide | 123 |