Digi 90000583_A Scenarios for Modem Emulation, Originating, Answering, and Disconnecting Calls

Page 45

Serial Device

 

 

 

 

 

 

 

 

Digi Device

 

 

 

 

 

 

 

 

 

 

DCD (in)

 

 

 

 

 

 

 

 

DTR (out)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TX (out)

 

 

 

 

 

 

 

 

RX (in)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RX (in)

 

 

 

 

 

 

 

 

TX (out)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DSR and DTR on the serial device side are connected to the DSR signal of the Digi device.

Scenarios for Modem Emulation

Outgoing Modem Emulation Connection

Serial device sends ATDx.x.x.x:y command, which triggers the device server to establish a telnet connection to destination IP=x.x.x.x, port=y.

Incoming Modem Emulation Connection

A device on the network telnets to port 50001 (50000+1 = 1st serial port). This incoming connection triggers the device server to generate a RING on the serial port. The device attached to the serial port will answer the RING and the connection is established.

Modem Emulation Pooling

This is a combination of Incoming Modem Emulation Connection and a hunt group. A device on the network telnets to port 50000. The device server checks if a serial port configured for modem emulation is available. If so, it connects to the port, otherwise returns an error.

Modem Emulation Bridge

A combination of Outgoing and Incoming Modem Emulation Connections, in which both serial devices require to talk to a modem. The first serial device telnets to the second device using ATDx.x.x.x:y, the second device gets a RING and accepts the incoming telnet connection.

Originating, Answering, and Disconnecting Calls

In the following table, an application requests a TCP session with the Digi device. The table displays the responses of the Digi device and application as they negotiate a TCP connection.

Application AT Com-

Digi Device Server Response

Notes

mand

 

 

 

 

 

AT&F

OK.

AT command request to restore defaults to factory set-

tings-Digi device server responds OK.

 

 

 

 

 

 

Receives request to start a

Request to start TCP session with IP address and TCP

ATDT ipaddress:TCPport#

TCP session. CONNECT

port number of the Digi device server-Digi device server

 

115200.

starts a TCP session

 

 

 

 

 

Escape sequence is sent <P> is Pause in seconds with

<P>+++<P>

OK

“+++” being the escape sequence in ASCII characters -

Digi device server switches from AT command to data

 

 

 

 

mode

 

 

 

Chapter 7 Special Features: Modem Emulation

45

Image 45
Contents Digi TS Family 90000583A Configuring the IP Address Chapter ConfigurationChapter Introduction Special Features Wireless Setting Up RealPortSpecial Features Embedded Modem Special Features Modem EmulationSpecial Features IA Industrial Automation Special Features Power Over the Serial PortsSpecial Features Snmp Configuration ManagementDigi Contact Information Other Documents in the Library About This GuideSetup Overview Supported Devices About Configuration MethodsAccessing the Configuration from the Web Interface Feature Products Availability Configuration DetailsQuick Find Table DNS Introduction N f i g u r i n g t h e I P a d d r e s s Options for Configuring the IP Address and MaskConfiguring the IP Address Using ARP-Ping Configuring the IP Address with Digi Port Authority-RemoteAccessing the Digi Device Configuring an IP Address using Dhcp and RarpButton in the upper right corner is also available N f i g u r a t i o n Network SettingsProcedure for Using a Name Server Configuring the Serial Ports Service Base Socket Network PortConfiguration Port Profiles TCP Sockets Serial Bridging Printer Industrial Automation Modem Emulation Power Management Custom Feature Description User ConfigurationSnmp SSH Security ConfigurationSystem Configuration Click Outgoing Connections About Autoconnection Configuring a Port for AutoconnectionConfiguring a User for Autoconnection About RealPort T t i n g U p R e a l P o r tSetting Up RealPort Select Discover Digi Device from the CD Configuration ConsiderationsClick Network Wireless LAN Special Features Wireless Special Features Wireless Embedded Modem 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 mSpecial Features Embedded Modem Modem Emulation 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 nSerial Device Digi Device Modem Emulation Cable SignalsScenarios for Modem Emulation Originating, Answering, and Disconnecting CallsATH Modem Emulation AT Command Set Function ResultCode Function ResultATP Mand state without disconnecting There is no Nvram support currently AT+MS Ascii Registers Function Range Units Saved DefaultRegister 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 Configuring RI Power Serial Power FeatureConfiguring DTR Power Serial Power Table OUT Special Features IA Industrial Automation Configuring Industrial Automation with ModbusPage About Snmp and the Device Server Agent E c i a l F e a t u r e s S N M PMIB Configuration Procedure Web InterfaceCopying the Configuration to and from a Remote Host Click Backup/Restore RestoreUpgrading the Firmware Resetting Configuration to Defaults Color State Indicates Interpreting the LEDsDevice EIA 232/422/485 Switch Settings Function Safety StatementsRack Mounting Installation PortServer TS 16 Rack and DC Rack External Wiring SpecificationsMechanical 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 Contacts Digi Contact Information