Intel 537EX manual Example

Page 39

Data Mode AT COMMANDS

The DTE implements the escape sequence by sending the escape character (as defined in S2) three times, followed by a valid AT command, and then the contents of S3 (typically a <CR>). Upon detecting the three consecutive escape characters, the modem changes to TIES command mode and starts an internal EPD (Escape Prompt Delay) timer (with the time limit defined by S12). The modem then looks for one of the following conditions to occur:

No additional data is received and the EPD timer times out: the modem sends an ‘OK’ message to the DTE and then waits indefinitely for an incoming valid AT command string from the DTE. Until the modem receives a valid AT command, it monitors any data received from the DTE and passes on the data to the remote modem (that is, the modem does not echo back the received character to the DTE).

If the subsequent character received by the modem is not an ‘A’ or ‘a’, the modem returns to data mode and sends a ‘CONNECT’ message back to the DTE.

If the modem receives an ‘A’ or ‘a’, it stores any additional data received from the DTE in the modem’s internal command buffer and continues to send the data to the remote modem. The modem then waits until the DTE sends a <CR>, or up to 39 data characters, before deciding whether to go to command mode or to return to data mode. Upon detecting a <CR> or receiving the 39 data characters, the modem determines if a valid AT command has been received. If a non-AT command string or an invalid command string has been received, then the modem changes back to data mode and sends a ‘CONNECT’ message to the DTE. If a valid AT command has been received, the modem changes to command mode and sends an ‘OK’ message. After sending the ‘OK’ message, the modem echoes any received data from the DTE while in command mode.

An ‘A’ or ‘a’ is received from the DTE. The modem disables the EPD timer and sends the character to the remote modem. The modem then stores any received data from the DTE into the modem internal command buffer and sends the data to the remote modem. Upon detecting a <CR> or receiving up to 39 data characters, the modem determines if a valid AT command has been received; if so, it processes the valid commands. If a non-AT command string or an invalid command string has been received, then the modem remains in data mode. If a valid AT command has been received, then the modem changes to command mode and sends an ‘OK’ message. After sending this, the modem (while in command mode) echoes back any data received from the DTE.

Any character except an ‘A’ or ‘a’ is received from the DTE. The modem disables the EPD timer and changes back to data mode.

If an AT command string is received while in TIES command mode, the modem processes any valid AT command. Upon detecting an invalid AT command, the modem changes back to data mode and issues a ‘CONNECT’ message to the DTE. While in TIES command mode, the modem ignores certain characters that may cause the modem to incorrectly decide that an incoming AT string is invalid. The ignore characters are <LF>, <space>, and <CR> (<CR> is ignored only when S3 is not equal to <CR>). Not all AT commands are supported during TIES command mode. The following is a list of supported commands:

En, Hn, Mn, On, Qn, Sn, Vn, Xn, and ‘&’ commands (except &Tn and &F)

The escape character is determined by the value stored in S-register S2, and it is typically a ‘+’ character. The following is an example of the TIES Escape Sequence:

Format:

<char1><char2><char3><AT command><contents of S3>

char1 = char2 = char3 = escape character (S2)

Example:

536EX Chipset Developer’s Manual

39

Intel Confidential

Image 39
Contents Developer’s Manual 537EX ChipsetIntel Confidential Contents Figures Tables Revision History Date Revision Description001 Initial release Controllerless Modem Driver Overview IntroductionWindows 95 and Windows Intelsdb.VXD V.90/V.92 and V.34 Data ModesTapi UnimodemModem Connection Overview DCE-to-ISP Data Rates for V.90 Mode AT Commands OverviewDTE-to-DCE Data Rates for Each Mode DCE-to-DCE Data Rates for Each ModeNumeric Text Sending CommandsDelayed Call DTE-Modem Data Rate Response CodesDialing digits Command FunctionAT Escape Sequences Dial ModifierCommand Function Default Range Reported By &Vn Data Mode Command SummaryIntel Confidential Intel Confidential Intel Confidential +ETBM +EB+ESA +ESR44/V.42/V.42 bis MNP Command Summary Processes flow control characters and passes to local Fax Class 1 Command Summary Fax Identity Command SummaryIS-101 Voice Command Summary Voice DTE→DCE Character PairsResponse Hex Code Function ESC Voice DTE →DCE Character PairsVoice DTE←DCE Character Pairs DELAscii Register Function Default Range Units Reported by &VnDial Modifiers Register SummaryRegister Function Default Range Units Using AT Commands to Access the S-Registers Sn?, Sn=x, ? Modem Responses and Command Echo En, Vn, Xn, Wn, QnModem Setup Host Modem Response Command Disable Enable Data Reporting Wn MappingDTE Resets and then configures the modem to Nvram user profile AT Commands Product Information Establishing a Modem Connection A, D, DS = n, S0Product Identification Information Online Command Mode Escape Codes, On Hanging Up Hn, S10, Zn, &D2Modem-to-Modem Connection Data Rates Intel Confidential Modem-on-Hold Incoming Voice Call in Data Mode Modem-on-Hold Initiating a Voice Call in Data Mode Intel Confidential Carrier Description Supported Modulation Types Local Analog Loopback AT&T1 Diagnostic Testing S18, &TnLocal Modem or Test Modem Local Analog Loopback With Self-Test AT&T8AT Escape Sequences Time-Independent Escape SequenceLicensing Requirements for Hayes Escape Sequence Example Data Mode Command Descriptions Command Default DescriptionHayes* Escape Sequence Echo enabled Previously stored in the Nvram with the AT&Zn=x commandHost in either online or off-line command mode Echo disabledATI2 DTESn=x Numeric form CommandModem dials a telephone number touch tone dialing Numeric or verbose formDCD or Rlsd signal DisconnectingSubsequent commands to be ignored Resets the modem and recalls user profileTelephone Numbers AT&V0Active Profile Stored Profile= 0-9 a B C D # * T P R W @ S-register configurations into the Nvram user profile ‘n’Command to see the stored telephone number Select profileIndication Definition Command Default+EB 12/V.34 CRC generation and checking disabledNrzi encoding and decoding disabled Secondary channel operation, and vice versa+ETBM +ESR+ILRR=m +GMR+GSN +IFCIf +MS = ,0,, no alternative modulations will be available +MS command description+MA? will display a list of enabled alternative modulations = carrier,carrier,…carrier+MS=m See ‘m’ Carrier DescriptionBELL103 BELL212+PMHR +PHSW=+PMHF Value DescriptionDisable short Phase 1 and Short Phase Conjunction with the +PSS commandEnable Short Phase 1 and Short Phase Enable Short PhaseOperating Modes Mode Features+ES=1, 0 +ES=4, 4 +ES=3, 0 +ES=3, 2 44/V.42/V.42 bis and MNP Data Modem Command Descriptions+ES Settings Answer Modem Resulting +ES Connection Types\Bn \Kn Max string +DR=mDirection +DS=m+EFCS=m 3768+ER Lapm Display messages when +ER =Decimal value and the format is as follows +ER=m+ES=m Setting is ignored if origrqst=6Control during non-error control operation Non-error control operation+FMFR?/+FMI Fax Identity CommandsFax Class 1 Commands Fax Identity Command DescriptionsValue Modulation Speed bps Mod Selection TableClass 1 DTE-Generated Hdlc Frame Information AT+FTH=mod 30 Hdlc Frame FormatFax Mode Command Descriptions +FCLASS?+FCLASS +FRS=m +FRH=m+FTH=m IS-101 Voice Mode AT Commands Voice Mode Command Descriptions Dtmf Detection ReportingRelay Control +FLO=m +VDR=m See ‘m’ Enable report Function+VEM=m See ‘m’ Defaults = ‘C’, BB860980, BFE63883, BB863EE0Caller ID report Command Reserved Distinctive ringing All Event DescriptionEIGHT-DIGIT HEX Code B B 8 6 3 E E EX Value BIT Value EventHEX Digit Location Local telephone, or speaker 128 Nominal transmit level+VIP Preassigned Voice I/O Labels Label+VLS=m Voice I/O Primitive Codes Relay/Playback ControlPrimitive Code Description +VSD=m See ‘m’ +VRXRange 4800, 7200, 8000, and 11025 samples/second +VSM=? command to obtain supported sampling rates141 AD3 3-bit Adaptive differential pulse code modulation +VSM=mCompression CmlSerial Hard DiskRange 5-255 units of 0.01 seconds Factory default is ‘0’100 Default value 1 second 100This sends a 500 ms period of silence Dual tones may be sent using the following format+VTS=m None Specified by +VTD=mCommand Default Description Register Command Descriptions S10 Range Seconds Default 0 seconds Escape sequencesS16 S30 S21S22 118 S25Inactive state when Modem exits sleep mode whenever the host reads or writes toModem or when a ring signal is detected Sleep mode is disabled by setting S33 to ‘0’Tag Description Caller ID Tags for Formatted ReportingRing Uart Emulation in Intelsdb.VxD Uart Emulation in the Controllerless ModemUart THRRBR Parallel Host Interface Uart Register Bit Assignments Uart Register Definitions Scratch Register SCRModem Status Register MSR Stack Bit Framing errorOE Overrun Error-Not supported Line Status Register LSRLine Control Register LCR IER Interrupt Enable registerProcedure is as follows Modem Control Register MCRBit Fifo Control Register FCRInterrupt Identity Register IIR Interrupt Control FunctionsID1 ID0 Dlab = Interrupt Enable Register IERID bit 2 for Fifo mode Transmitter Holding Register THRData Rate Divisor Number Divisor Latch Hex Receiver Buffer Register RBRDivisor Latch Registers DLM and DLL Programmable Data Rates102 Fifo Interrupt Mode OperationFifo Polled Mode Operation 16C550A Uart Fifo Operation536EX Chipset Developer’s Manual 103