Sierra Wireless 300 manual Additional Control Considerations, Escape Sequence

Page 22

DART 300 Migration Guide

Difference Summary

3.3.Additional Control Considerations

3.3.1.Escape Sequence

The escape sequence is used to change from data state to command state. This is a necessary step for the modem to respond to AT commands to close a data session. There are three possible mechanisms to gracefully change to command state:

1.Time Dependent Escape Sequence (TDES) involving the escape character repeated three times with a guard time to prevent false detection in a data stream.

2.Time Independent Escape Sequence (TIES) involving the character stream “AT+++” without use of a guard time. The DART 200 did not support this method. It is available on the DART 300 and is described in detail in the DART 300 User Guide.

3.DTR transition from on to off if it is enabled (&D1 or &D2).

3.3.1.1.Escape from SLIP

The DART 200 uses an escape sequence of “+++” in a timing sequence of EGEGE where E is the escape character (actually the character stored in register S2 which defaults to the plus sign) and G is a delay of at least the guard time (set in register S12). This is not Hayes compatible.

In SLIP service, the DART 300 requires the “+++” sequence to be contained in SLIP frame characters (0xC0). Specifically the sequence is <0xC0>+++<0xC0>. Timing is irrelevant to the DART 300 in this mode. The escape character (the plus sign) cannot be changed (register S2 is ignored in SLIP).

Both modems also support use of the DTR signal to escape SLIP mode data state.

3.3.1.2.Escape from UDP / TCP

The DART 200 escapes from UDP packet service using the same TDES as for SLIP, that is: EGEGE. The &E command allows control over whether or not the escape sequence will be recognized and whether or not to forward the escape sequence to the network.

The DART 300 supports both TDES and TIES. The TDES format uses the Hayes compatible sequence of GEEEG. In this mode the settings of S2 and S12 are respected. Note that if the interval between escape characters becomes greater than the guard time, the sequence is broken. Consult the DART 300 User Guide for a full discussion of the required timing.

Enabling recognition of the escape sequences is controlled separately for each type. TDES is disabled by setting the escape character to a value greater than 127 (S2=128). TIES is disabled by setting +WS60=0. The DART 300 cannot pass the escape sequence to the network.

Both modems also support use of the DTR signal to escape UDP or TCP mode data state.

3.3.2.Packet Assembly / Disassembly (PAD) Features

3.3.2.1.Packet Assembly and Editing

The DART 300 adds the ability to edit the packet data being assembled in the modem. Data is stored in a packet assembly buffer until a forwarding condition is detected. Until that time, the buffered data can be edited using a specified back-space character. The DART 200 did not have this option in UDP or TCP packet service.

The DART 300 uses +WS73 to define the backspace character for packet buffer editing. The default is 0x08 (BS). The character for AT command line editing is fixed at 0x08 (BS).

Editing of the packet can be disabled in the DART 300 using +WS72=0. This is recommended for telemetry applications where the value 0x08 could be valid data. The factory default has the packet edit feature enabled.

2110291 Rev 1.0

Page 16

Image 22
Contents Sierra Wireless Dart 300 Cdpd Modem Patents Safety and HazardsImportant Notice CopyrightRegulatory Information RSA Licensee Contact InformationContents Comparative AT Command Reference Dart 300 Modem Migration GuideReferences IntroductionDocument Structure Dart 300 / SB300 CurrencyConventions Used in this Reference Rev 1.0 November 8Sample UDP Setups \Q0 +WS62=0+WS63=0 +WS70=20Q0 default Disable Quiet mode F1 default \J0 +WPSPNI=enter Sample TCP Setups\O0 +WS45=1 S86=3 \J0 default +WS70=20 Interfaces Serial Interface SpecificationsDart Control Lines RTS/CTSPacket Service Interfaces Modem Control InterfaceMonitoring Network Connection OperationChannel Acquisition Restrictions TCP Characteristics TCP Keep-AliveUDP Characteristics UDP Receive LockingAdditional Control Considerations Packet Assembly / Disassembly PAD FeaturesEscape Sequence Manual Transmission Packet Assembly Local EchoPacket Forwarding Automatic TransmissionModem Features SpecificationsRadio Specifications Electrical Specification AT+++ AT Command SetBasic AT Commands Dart +++ 0xC0PAD Local On-Line Echo Basic AT Commands Dart Options+WS45 +WS62=1Sn=x Basic AT Commands DartAT & Commands Dart Sn?S2=43 +WS60=1 S2=128 +WS60=0S126 \F1-3 = +WS63=3 AT \ Commands Dart Dart 300 Equivalent\F0 = +WS63=1 \J0 = +WPSPNI=enter\R0 AT * Commands Dart Dart 300 Equivalent+WPREG and +WPDEREG \R1S30=t = S30=0K1-2 = Lp= +WS212=p= +WS197=n+WPNEI=ip AT Commands Dart Dart 300 EquivalentAip/n Hspni/nWith +WPCHAN Ln = +WPCHAN=n = +WPCHAN=0 Dart 300 Specific Commands AT + CommandsIndication RSSI, channel state, registration Status, and channel numberRegisters Status RegistersRegisters Dart B2,3 S-Registers DartB0,1 +WS56? B4,5 +WS173?102 100101 With +WPRSSIWS-Registers in the Dart Result Codes 10 Dart 300 Result Codes Verbose Dart 300 Meaning