DART 200 CDPD Modem User’s Guide | 8 Application Programming |
CAUTION:
Do not reduce the guard time to zero, because this exposes the application to an unwanted escape if three successive escape characters inadvertently appear in the data stream. Leave the guard time as larger than the expected
Escape sequence considerations
The escape sequence is one of two ways the MAS forces the DART 200 to leave online or SLIP mode and return to command mode. The other is to drop the DTR line, as described in Escaping through the control interface, p.
Leaving online or SLIP mode is required for the DART 200 to respond to AT commands. Commonly, this occurs at the completion of a session to terminate the connection (hang up) with the ATHn command. Another common reason is to interrogate modem status for local radio resource conditions, or for error recovery operations.
The DART 200 escape sequence consists of three escape characters (E) and a
Escape code recognition controls whether or not the DART 200 responds to the escape code. The default is &E1 (recognition enabled and the escape sequence is passed to the network). For manual operation this feature must be enabled (&E1 or &E2). For application use it can be disabled (&E0) if the MAS can control the DTR lead in the
The escape character (+) is in
?
NOTE:
Terse mode only applies to command responses (such as AT). Register or modem status inquiries (such as ATS57?) will still provide a response which is bracketed by both carriage return <CR> and linefeed <LF> characters.
Command response options
There are three setup options controlling if, and how result codes are presented to the MAS:
∙Quiet Mode (Qn) - Controls whether or not result codes are returned to the MAS. The default value is enabled (Q0). There are few situations where an application can operate without seeing return codes. However, some
Sierra Wireless, Inc. |