Digi 90000583_A manual Modem Emulation AT Command Set Function Result, Ath

Page 46

Application AT Com-

Digi Device Server Response

Notes

mand

 

 

 

 

 

ATH

NO CARRIER response sent

Disconnect AT command is sent-Digi device server

responds with NO CARRIER

 

 

 

 

 

In the following table, the Digi device server receives a request for a connection.

AT Command

Digi Device Server Response

Notes

 

RING

The Digi device server sends a Call Notification

 

 

 

 

 

Manual (ATA) or Auto Answer (ATS0=n) response-the

ATA (or ATS0=n)

CONNECT 115200

Digi device server sends a CONNECT message when

 

 

the TCP session is started

 

 

 

 

NO CARRIER

The Digi device server sends a NO CARRIER message

 

when the remote disconnects

 

 

 

 

 

Originating Calls

To send data to a Digi device server, enter the following information for your application replacing the telephone number with the Digi device server’s IP address and TCP port number. Enter the following command:

ATDT ipaddress:tcp_port#

an example is ATDT 146.135.13.5:50001

Answering Calls

The Digi device server listens on a pre-defined TCP port to receive data. When the Digi device server receives a call notification (RING) through a serial port to begin a TCP connection, it needs to reply with an ATA or a pre-configured Auto-Answer to answer the call.

Note: The TCP ports assigned to the serial ports are as follows:

Serial port 1 listens on TCP port 50001

Serial port 2 listens on TCP port 50002

Serial port 3 listens on TCP port 50003

Serial port 4 listens on TCP port 50004

Disconnecting Calls

The TCP connection disconnects by either dropping the DTR signal on the serial port or sending the escape sequence <P>+++<P> to the Digi device server. <P> represents a one second pause.

Disconnecting Calls-Digi Device Server

The Digi device sends a NO CARRIER response to the serial port when the network connection is dropped.

Modem Emulation AT Command Set

AT

Function

Result

Command

Code

 

 

 

 

ATA

Answer command: The Digi Device Server will go off hook and answer a

 

TCP connection request.

 

 

 

46

Chapter 7 Special Features: Modem Emulation

Image 46
Contents Digi TS Family 90000583A Chapter Configuration Configuring the IP AddressChapter Introduction Special Features Embedded Modem Setting Up RealPortSpecial Features Wireless Special Features Modem EmulationSpecial Features Snmp Special Features Power Over the Serial PortsSpecial Features IA Industrial Automation Configuration ManagementDigi Contact Information About This Guide Other Documents in the LibrarySetup Overview About Configuration Methods Supported DevicesFeature Products Availability Configuration Details Accessing the Configuration from the Web InterfaceQuick Find Table DNS Introduction Options for Configuring the IP Address and Mask N f i g u r i n g t h e I P a d d r e s sConfiguring the IP Address with Digi Port Authority-Remote Configuring the IP Address Using ARP-PingConfiguring an IP Address using Dhcp and Rarp Accessing the Digi DeviceButton in the upper right corner is also available Network Settings N f i g u r a t i o nProcedure for Using a Name Server Service Base Socket Network Port Configuring the Serial PortsConfiguration Port Profiles TCP Sockets Serial Bridging Printer Industrial Automation Modem Emulation Power Management Custom User Configuration Feature DescriptionSecurity Configuration Snmp SSHSystem Configuration Click Outgoing Connections Configuring a Port for Autoconnection About AutoconnectionConfiguring a User for Autoconnection T t i n g U p R e a l P o r t About RealPortSetting Up RealPort Configuration Considerations Select Discover Digi Device from the CDClick Network Wireless LAN Special Features Wireless Special Features Wireless E c i a l F e a t u r e s E m b e d d e d M o d e m Embedded ModemSpecial Features Embedded Modem E c i a l F e a t u r e s M o d e m E m u l a t i o n Modem EmulationModem Emulation Cable Signals Serial Device Digi DeviceOriginating, Answering, and Disconnecting Calls Scenarios for Modem EmulationModem Emulation AT Command Set Function Result ATHFunction Result CodeATP Mand state without disconnecting There is no Nvram support currently AT+MS Registers Function Range Units Saved Default AsciiRegister Function Range Units Saved Default Register Function Range Units Saved Default 17 11h =XON/XOFF &K4 Result Codes Short Long Form Special Features Modem Emulation Serial Power Feature Configuring RI PowerConfiguring DTR Power Serial Power Table OUT Configuring Industrial Automation with Modbus Special Features IA Industrial AutomationPage E c i a l F e a t u r e s S N M P About Snmp and the Device Server AgentConfiguration Procedure Web Interface MIBClick Backup/Restore Restore Copying the Configuration to and from a Remote HostUpgrading the Firmware Resetting Configuration to Defaults Interpreting the LEDs Color State IndicatesSafety Statements Device EIA 232/422/485 Switch Settings FunctionRack Mounting Installation PortServer TS 16 Rack and DC Rack Specifications External WiringMechanical PortServer TS PortServer TS 2/4 Mechanical Regulatory Notices Digi One TS, PortServer TS 2/4, PortServer TS 2/4 MEI Certifications Maximum Permissible Exposure Wireless only Digi Contact Information Digi Contacts