Sierra Wireless OEM2 CDPD OEM Tranciever User Manual 059 Master

Sierra Wireless Inc. CDPD OEM Tranciever 059 Master

Manual

Sierra WirelessSB300 Series OEM ModemsUser’s Guide2110059 Rev BPreliminaryDecember 1998
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page iImportant NoticeBecause of the nature of wireless communications, transmission and reception of data can never be guaranteed.Data may be delayed, corrupted (i.e., have errors) or be totally lost.  Although significant delays or losses of data arerare when wireless devices such as the Sierra Wireless modem are used in a normal manner with a well-constructednetwork, the Sierra Wireless modem should not be used in situations where failure to transmit or receive data couldresult in damage of any kind to the user or any other party, including but not limited to personal injury, death, or lossof property.  Sierra Wireless, Inc., accepts no responsibility for damages of any kind resulting from delays or errorsin data transmitted or received using the Sierra Wireless modem, or for failure of the Sierra Wireless modem totransmit or receive such data.Safety and HazardsDo not operate the Sierra Wireless modem in areas where blasting is in progress, where explosive atmospheres maybe present, near medical equipment, near life support equipment, or any equipment which may be susceptible to anyform of radio interference.  In such areas, the Sierra Wireless modem MUST BE TURNED OFF.  The SierraWireless modem can transmit signals that could interfere with this equipment.Do not operate the Sierra Wireless modem in any aircraft, whether the aircraft is on the ground or in flight.  Inaircraft, the Sierra Wireless modem MUST BE TURNED OFF.  When operating, the Sierra Wireless modem cantransmit signals that could interfere with various onboard systems.The driver or operator of any vehicle should not operate the Sierra Wireless modem while in control of a vehicle.Doing so will detract from the driver or operator’s control and operation of that vehicle.  In some states andprovinces, operating such communications devices while in control of a vehicle is an offence.PatentsPortions of this product are covered by some or all of the following US patents: D367062, D372248, D372701,5515013, 5617106, 5629960, 5682602, 5748449, and other patents pending.Copyright©1998 Sierra Wireless, Inc. All rights reserved.Printed in Canada.No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by anymeans, without the prior permission of the publisher.The information in this manual is subject to change without notice and does not represent a commitment on the partof Sierra Wireless, Inc.  Sierra Wireless, Inc. shall not be liable for incidental or consequential damages resultingfrom the furnishing, performance, or use of this manual.The Watcher™ and WirelessExpert™ software described in this manual are copyright 1998 Sierra Wireless, Inc. Allrights reserved.TrademarksWatcher™ and WirelessExpert™ are trademarks of Sierra Wireless, Inc.Windows® and Microsoft® are registered trademarks of Microsoft Corporation.Hayes™ is a trademark of Hayes Microcomputer Products, Inc.All other brand or product names, logos, trademarks, etc. mentioned in this manual are owned by their respectivecompanies.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage ii 98.12.10 2110059 Rev B PreliminaryRegulatory InformationThe equipment certifications appropriate to your device are marked on the device and the accompanying productspecific information.  Where appropriate, the use of the equipment is subject to the following conditions:CAUTIONUnauthorized modifications or changes not expressly approved by Sierra Wireless, Inc.could void compliance with regulatory rules, and thereby your authority to use thisequipment.!! WARNING (EMI) - United States FCC InformationThis equipment has been tested and found to comply with the Class B limits pursuant toPart 15 of the FCC Rules.  These limits are designed to provide reasonable protectionagainst harmful interference in an appropriate installation.  This equipment generates,uses, and can radiate radio frequency energy and, if not installed and used inaccordance with the instructions, may cause harmful interference to radiocommunication.  However, there is no guarantee that interference will not occur in aparticular installation.  If this equipment does cause harmful interference to radio ortelevision reception, which can be determined by turning the equipment off and on, theuser is encouraged to try to correct the interference by one or more of the followingmeasures:• Reorient or relocate the receiving antenna• Increase the separation between the equipment and receiver• Connect the equipment into an outlet on a circuit different from that to which thereceiver is connected• Consult the dealer or an experienced radio/TV technician for help!! WARNING (EMI) – CanadaThis digital apparatus does not exceed the Class B limits for radio noise emissionsfrom digital apparatus as set out in the interference causing equipment standardentitled 'Digital Apparatus', ICES-003 of the Department of Communications.Cet appareil numérique respecte les limites de bruits radioélectriques applicables auxappareils numériques de Classe B prescrites dans la norme sur le matériel brouilleur:'Appareils Numériques', NHB-003 édictée par le ministre des Communications.RSA LicenseeIf you have purchased this product under a United States Government contract, it shall be subject torestrictions as set forth in subparagraph (c)(1)(ii) of Defense Federal Acquisitions Regulations(DFARs) Section 252.227-7013 for Department of Defense contracts, and as set forth in FederalAcquisitions Regulations (FARs) Section 52.227-19 for civilian agency contracts or any successorregulations.  If further government regulations apply, it is your responsibility to ensure compliance with suchregulations.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page iiiContact InformationSierra Wireless, Inc. Telephone: (604) 231-110013575 Commerce Parkway Fax: (604) 231-1109Suite 150Richmond, BC e-mail: support@sierrawireless.comV6V 2L1 Web: www.sierrawireless.comCustomer ServiceHelp DeskOpen between 6:00 a.m. and 5:00 p.m. Pacific Time(604) 231-1128Warranty and Service DeskOpen between 8:00 a.m. and 5:00 p.m. PT(604) 231-1157support@SierraWireless.comSales DeskOpen between 8:00 a.m. and 5:00 p.m. PT(604) 231-1100sales@SierraWireless.comWebConsult our webpage forup-to-date product descriptions, documentation,application notes, firmware upgrades,troubleshooting tips, and press releases:wwwwww..SSiieerrrraaWWiirreelleessss..ccoomm
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage iv 98.12.10 2110059 Rev B PreliminaryThis page intentionally blank.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page vContents1. About this Guide............................................................................11.1. Introduction ...................................................................................................... 11.1.1. Hardware........................................................................................... 11.1.2. Software ............................................................................................ 11.2. References ......................................................................................................... 11.3. Currency ........................................................................................................... 11.4. Document Structure..........................................................................................11.4.1. Modem Operations............................................................................. 21.5. Conventions Used in this Reference.................................................................. 22. Product Descriptions ....................................................................32.1. Specifications Common to All Modems............................................................ 32.1.1. Application Interface Specifications ................................................... 32.1.2. RF Features........................................................................................ 32.1.3. Special Features................................................................................. 42.1.4. Environmental Specifications............................................................. 42.2. SB300 CDPD Modem........................................................................................ 52.2.1. Mechanical ........................................................................................ 52.2.2. Connectors......................................................................................... 52.2.3. Power Specifications.......................................................................... 62.2.4. Electrical ........................................................................................... 62.3. SB301 Specifications ......................................................................................... 92.4. SB302 Specifications ....................................................................................... 102.4.1. Mechanical ...................................................................................... 102.4.2. Connectors....................................................................................... 102.4.3. Power Specifications........................................................................ 112.4.4. Electrical ......................................................................................... 112.5. SB320 Specifications ....................................................................................... 132.5.1. Mechanical ...................................................................................... 132.5.2. Connectors....................................................................................... 132.5.3. Power Specifications........................................................................ 142.5.4. Electrical ......................................................................................... 142.5.5. SB320 Communication Mode Specifications .................................... 18
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage vi 98.12.10 2110059 Rev B Preliminary3. Multipurpose Interface Board .................................................... 193.1. Introduction.....................................................................................................193.1.1. Features............................................................................................193.2. Board Description............................................................................................193.2.1. Schematic.........................................................................................193.2.2. Parts Layout......................................................................................193.3. Power Supply...................................................................................................203.3.1. Voltage Adjustment..........................................................................203.3.2. Using Power from Host (DTE)..........................................................203.4. Connections......................................................................................................203.4.1. PC Host (DTE) RS-232 Serial Connection ........................................203.4.2. Host (DTE) Connection for SB301 / SB302 ......................................213.4.3. Protocol Analyzer Connection...........................................................213.4.4. SB300 / SB320 Modem Connection..................................................213.4.5. SB301 / SB302 Modem Connection..................................................223.4.6. SB220 Modem Conneciton ...............................................................233.5. Jumpers............................................................................................................233.5.1. Main Jumper Block...........................................................................233.5.2. Power Select.....................................................................................233.5.3. SPK EN – Speaker Enable ................................................................243.6. Serial Breakout Box.........................................................................................243.6.1. DIP Switch.......................................................................................243.6.2. Serial Connection Indicators .............................................................243.7. Test Points........................................................................................................243.7.1. TP1 DISC.........................................................................................243.7.2. TP2 ..................................................................................................243.7.3. TP3 ..................................................................................................243.7.4. TP4 KEY..........................................................................................253.7.5. Current Measurement........................................................................253.8. Applications .....................................................................................................253.8.1. Initial Setup......................................................................................254. Getting Started............................................................................ 274.1. Introduction.....................................................................................................274.2. Registration......................................................................................................274.2.1. CDPD...............................................................................................274.2.2. CSC (AMPS)....................................................................................28
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page vii4.3. Setup Considerations ...................................................................................... 284.3.1. Host Computer Terminal.................................................................. 284.3.2. Physical considerations .................................................................... 284.3.3. Antenna considerations .................................................................... 284.4. MIB Presets..................................................................................................... 294.5. Connections..................................................................................................... 295. Software Installation....................................................................315.1. Introduction .................................................................................................... 315.2. Installing Software on the Host....................................................................... 315.2.1. Configuration using WirelessExpert ................................................. 315.3. Using Watcher for Remote Connections......................................................... 325.3.1. Configuring Watcher........................................................................ 325.3.2. Configuring Cellular Settings using Watcher .................................... 335.3.3. Starting and Quitting Watcher .......................................................... 335.3.4. About the Watcher Program Window ............................................... 345.3.5. Watcher Menus and Commands ....................................................... 345.3.6. Toolbar Buttons ............................................................................... 355.3.7. Status Indicators............................................................................... 355.3.8. Updating Status Indicators................................................................ 355.3.9. Icon Status....................................................................................... 366. Basic Modem Operation..............................................................376.1. Introduction .................................................................................................... 376.2. Modem Modes and States ............................................................................... 376.2.1. Modes.............................................................................................. 376.2.2. States............................................................................................... 376.2.3. Conditions ....................................................................................... 376.3. Modem Communications with the Host (DTE).............................................. 386.4. DTE Communication Options ........................................................................ 386.4.1. DTR Signal Handling....................................................................... 386.4.2. DSR Signal Control.......................................................................... 396.4.3. Local Flow Control .......................................................................... 396.5. Result Code Formats....................................................................................... 397. CDPD Mode..................................................................................417.1. CDPD Introduction......................................................................................... 41
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage viii 98.12.10 2110059 Rev B Preliminary7.2. Configuring NEI Entries .................................................................................417.2.1. NEI Table.........................................................................................417.3. CDPD Network Registration...........................................................................427.3.1. Active and Auto-register NEI Indices................................................427.3.2. Manual Registration..........................................................................437.3.3. Automatic Registration .....................................................................447.3.4. De-registration..................................................................................447.4. Monitoring the Connection..............................................................................447.4.1. Radio Signal Monitors......................................................................447.4.2. Registration Status............................................................................457.5. Serial Line Interface Protocol (SLIP)..............................................................457.5.1. Configuring a SLIP Session ..............................................................457.5.2. Using a SLIP Session........................................................................457.5.3. Ending a SLIP Session......................................................................467.6. User Datagram Protocol (UDP).......................................................................467.6.1. Configuring a UDP Session...............................................................477.6.2. Using a UDP Session ........................................................................477.6.3. Broadcast and Multicast....................................................................477.6.4. Ending a UDP Session ......................................................................487.7. Transmission Control Protocol (TCP).............................................................487.7.1. SB300 Series TCP Capability............................................................487.7.2. Friends Only.....................................................................................487.7.3. Configuring a TCP Session ...............................................................487.7.4. Using a TCP Session.........................................................................487.7.5. Ending a TCP Session.......................................................................497.8. Auto-answer.....................................................................................................497.9. Sleep Mode.......................................................................................................498. CSC Mode.................................................................................... 518.1. Introduction.....................................................................................................518.2. Configuring the Modem for CSC....................................................................518.2.1. Programming the modem phone number ...........................................518.2.2. Confirm that modem is registered with cellular carrier.......................518.3. Make a modem call..........................................................................................518.4. Optimizing Data Performance (for experienced user’s) .................................518.4.1. CSC Configuration ...........................................................................518.4.2. Landline Side....................................................................................528.4.3. SB220 ..............................................................................................52
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page ix8.4.4. Test set-up ....................................................................................... 528.5. Modem Pools................................................................................................... 549. Wireline Operation.......................................................................559.1. Introduction .................................................................................................... 559.1.1. Hardware......................................................................................... 559.2. Configuring with Watcher.............................................................................. 559.3. Internet, TCP, UDP connections..................................................................... 5510. Troubleshooting ..........................................................................5710.1. Introduction.............................................................................................. 5710.2. General Modem Problems........................................................................ 5710.3. General Communication Problems.......................................................... 5710.4. CDPD Problems........................................................................................ 5810.5. CSC Problems .......................................................................................... 5810.6. Wireline Problems.................................................................................... 5811. Appendix A – Wireless Communication ....................................5911.1. Introduction.............................................................................................. 5911.2. Cellular Digital Packet Data (CDPD) ...................................................... 5911.2.1. Security............................................................................................ 5911.2.2. Architecture..................................................................................... 5911.2.3. Modem Registration......................................................................... 6011.2.4. CDPD Radio Coverage..................................................................... 6111.3. Circuit Switched Cellular (CSC).............................................................. 6111.3.1. Modem Registration......................................................................... 6111.3.2. CSC Radio Coverage ....................................................................... 6211.3.3. Enhanced Throughput Cellular (ETC) .............................................. 6211.3.4. Modem Pools................................................................................... 63
2110059 Rev B Preliminary 98.12.10 Page 11.  About this Guide1.1. IntroductionThis guide is intended to assist application software developers with the setup, installation, testing,and design of applications for the Sierra Wireless SB300 Series OEM modems.  You should befamiliar with the use of modems, communication media (PSTN and Cellular), protocols, and theuse of AT commands.This guide describes the full feature set, so some sections may not apply to the particular modelyou are using.  Consult the Product Descriptions below for a summary of the features available oneach product.1.1.1. HardwareThis guide provides product descriptions of the SB300 Series OEM modems.  More completeinformation for the physical integration of the modem is provided in the Sierra Wireless SB300Series OEM Modems Integrator’s Guide, document number 2110052.A full description of the Multipurpose Interface Board provided with the OEM Developer’sToolkit is included in this guide.1.1.2. SoftwareInstallation and use of the application software Watcher™ and WirelessExpert™ is described inthis guide.Use of a terminal application for initial setup and testing of a modem may be required.  Terminalemulation software is not provided nor described in this guide.1.2. ReferencesFor information on the physical installation and integration of an SB300 Series modem, consultthe Sierra Wireless SB300 Series OEM Modems AT Command Reference, documentnumber 2110031.  For details of specific uses for these commands, refer to Sierra WirelessApplication Notes available on our Internet site at www.sierrawireless.com.Details on the physical integration of the SB300 Series modems is provided in the Sierra WirelessSB300 Series OEM Modems Integrator’s Guide, document number 2110052.1.3. CurrencyThis document is current with modem firmware version <???>.  For updates to firmware, consultour Internet site at www.sierrawireless.com.1.4. Document StructureThis document covers the hardware view first in two chapters, one describing the modem productsand one describing the Multipurpose Interface Board (MIB) used to test and configure the modemduring product development.Two more chapters get you started with preliminary setup, connections and testing.  This sectionalso covers the basics of the Watcher and Wireless Expert software provided with the toolkit.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 2 98.12.10 2110059 Rev B PreliminaryFinally there are several chapters covering modem operation in each of the possible modes withsample configurations.An appendix provides some background information on the communication modes.1.4.1.  Modem OperationsThe various modes, states, and conditions the modem can be placed in are described in the chapteron Basic Modem Operations.  That chapter also discusses the communication interface betweenthe host (DTE) and the modem.The types of protocols supported in each mode are described but examples of configuring themodem will be found in the chapters on operations for each specific mode.1.5.  Conventions Used in this ReferenceResult Code – This is a numeric or text code that is returned after all commands (except resets).Response – This term indicates a response from the modem which is issued prior to a return code.Reading registers or issuing commands that report information will provide a response followedby a return code unless the command generates an error.Hexadecimal values are shown with a prefix of 0x, i.e. in the form 0x3F.Character codes which are described with words or standard abbreviations are shown within anglebrackets: such as <CR> for Carriage Return and <space> for a blank space character.AT Command and register syntax is noted using an alternate font:AT+WS46=4
2110059 Rev B Preliminary 98.12.10 Page 32. Product DescriptionsThe SB300 Series modems are designed for integration into devices that require wirelesscommunications such as PC’s, portable and handheld devices, metering and monitoringequipment, and point of sale terminals.This chapter provides descriptions and specifications for the family.  Individual modems aredescribed in separate sections below.The SB300 and SB320 share common physical and interface characteristics.  The SB300, 301, and302 share common functional characteristics.2.1.  Specifications Common to All ModemsThe follow specifications provide information on all SB300 Series modems.2.1.1.  Application Interface SpecificationsSerial Interface (DTE) 1200-57,600 bpsSLIP Interface RFC1055PPP Interface RFC1661, RFC1662, RFC1332AT-Command Interface Hayes Compatible with PCCA Wireless ExtensionsUDP PAD Interface PCCA STD-101 CompliantTCP PAD Interface PCCA STD-101 CompliantObject Management Interface Sierra Wireless Inc. Proprietary2.1.2. RF FeaturesTransmitter Power Nominal 600 mW into 50 ohmsTransmitter Performance Meets or exceeds CDPD V1.1FCC, Industry Canada, IS19B/CReceiver Sensitivity Data: -108dBm 5% BLERVoice: -116cBm 12dB SINAD (SB320 only)
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 4 98.12.10 2110059 Rev B Preliminary2.1.3. Special FeaturesFeature BenefitSleep Mode Reduces current drain for improved battery life.TCP and UPD PAD Ping Reply Confirm network connectivity to the modem.Broadcast Message Support Broadcast to all modems in geographic area.TCP Session Time-out Permits reconnection of failed TCP session.“Friends-only” modem access Provides device security.AutoDial at Startup Modem automatically establishes communications.Software-controlled Reboot Quick problem recovery.Autobaud Flexible interfaceMultiCast Broadcast to defined subset of all modems.Configurable Listening Port Modem can listen on any port the host prefers.Escape from PAD modes Non-DTR controlled Escape.2.1.4.  Environmental SpecificationsSB300 SB301 SB302 SB320Operating Temp. -30 to +60oC -30 to +60oC -30 to +60oC -30 to +60oCStorage Temp. -40 to +85oC -40 to +85oC -40 to +85oC -40 to +85oCHumidity 5% to 95%non-condensing 5% to 95%non-condensing 5% to 95%non-condensing 5% to 95%non-condensingVibration Operational:  IS-19CSurvivability:  Mil-STD202Operational:  IS-19CSurvivability:  Mil-STD202Shock 1 metre drop toa hard surface 1 metre drop toa hard surface
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 52.2.  SB300 CDPD ModemPart number 11000342.2.1. Mechanical2.2.1.1. Physical DescriptionThe SB300 comes in a Type III package, and includes a30-pin, 0.5mm pitch ZIF connector for the host interface,a MMCX connector for the antenna, and a status LED.  Dimensions in millimetres are as follows:2.2.1.2. MountingThe SB300 uses an industry standard Type III frame-kit, and as such will fit into PC Card rails.Alternatively, two clips or a bracket may be used to secure the module.  There are also twomounting holes provided on either side of the ZIF serial connector.2.2.2. Connectors2.2.2.1. Antenna ConnectorThe SB300 provides an MMCX type RF connector (Huber & Suhner 85 MMCX-50-0-1) for theantenna connection.  For proper matching the antenna should be 50 ohms with a return loss of10 dB or better between 824 - 894 MHz.  System antenna gain should be 0 dB.2.2.2.2.  Host (DTE) ConnectorThe SB300 provides a single 30-pin ZIF connector with 0.5mm pin spacing (Hirose FH12-30S).
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 6 98.12.10 2110059 Rev B Preliminary2.2.3.  Power SpecificationsThe SB300 requires +5V provided on pins 23-24, and ground provided on pins 23-28.  Electricalrequirements and current specifications are identified below.Table 2-1: Power and Current SpecificationsPower Supply Requirements +5Vdc ±5%Maximum noise dc to 100 kHz: 10 mVppCurrent Drain Sleep: 20 mAReceive: 150 mATransmit (Full Power): 850 mA2.2.4. Electrical2.2.4.1.  Host (DTE) InterfaceThe SB300 provides a single 30-pin ZIF connector with 0.5mm pin spacing (Hirose FH12-30S).This connector provides four interfaces:1. Serial host interface2. Modem control interface3. Power4. Status line interfaceThe connector pinouts are specified in Table 2-2, and electrical characteristics are specified inTable 2-3 Serial Interface Electrical Characteristics.  Signal types are with respect to themodem (DCE).Table 2-2: Host Interface Connector PinoutsPin Number Pin Label Type Description1 \DCD Output Data Carrier Detect2 RxD Output Receive Data3 TxD Input Transmit Data4 \DTR Input Data Terminal Ready5 GND Ground Ground6 \DSR Output Data Set Ready7 \RTS Input Ready To Send8 \CTS Output Clear To Send9 \RI Output Ring Indicator10 \RESET Hardware Reset11 RESERVED Leave unconnected12 \SHDN Input Graceful modem shutdown.13 STATUS_OUT1 Output Power + RF Channel Status14 STATUS_OUT2 Output Transmitter15 STATUS_OUT3 Output Power Down OK16 STATUS_IN1 Input17 STATUS_IN2 Input18 STATUS_IN3 Input19 STATUS_IN4 Input20 - 22 UNUSED23 – 24 VBAT Input +5V25 – 28 GND Ground Ground29 UNUSED30 RESERVED Leave unconnected
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 7Table 2-3: Serial Interface Electrical CharacteristicsCharacteristic Min.(V) Max.(V)Input Low Voltage -0.3 0.8Input High Voltage 2.5 5.0Output High Voltage (Ioh=400 µA) 2.4 –Output Low Voltage (Iol=3.2 mA) – 0.5Serial Port InterfaceThe serial port pins comprise a standard set of serial data and handshaking lines.  All signals arenegative assertion, HCMOS logic compatible.  These signals must be terminated properly if theyare not used.  Refer to the SB300 Series OEM Modems Integrator’s Guide for detail onterminating unused lines.Hardware handshaking should be enabled using CTS and RTS as the primary flow control signals.The remaining handshaking lines (DCD, DTR, DSR, and RI) are, strictly speaking, not needed;however they are desirable for TCP/IP stack usage and are supported for any applications that mayrequire them.  Operation in each mode is as follows:• RTS, CTSUsed as standard hardware flow control lines.• DTRIndicates to the modem that the host device is active.  This line may also be configured toswitch the modem from data to command state or reset the modem (AT&D), and to enablehost wake-up.  See the RI description below.• DCDThis line is asserted while online.  Behaviour options are set with the command AT&C.• DSRAlways active when the modem is on; it is tied to logic GND.• RIIf DTR is inactive (high), RI toggles when there is data for the host.  This may be used towake-up the host.The serial port should be configured for 8-data bits, no parity bits, and 1-stop bit.  The defaultDTE configuration will auto-baud to the host serial baud rate (based on speed of the ‘A’ in an ATcommand).  Host data rates of up to 57.6 kbps are supported.  AT commands may be used to fixthe baud rate from 1200 bps to 57.6 kbps.In command state, a terminal emulation program may be used to communicate with the modemand change the configuration.Modem Control InterfaceModem control is comprised of two inputs:1. \SHDN: Graceful ShutdownThis is an active-low input.  When activated this signal instructs the modem to de-registerfrom the network, and power down.  When this activity is completed theSTATUS_OUT3 line is pulled indicating to the host that power may be removed from thedevice.2. \RESET: Hardware ResetThis is a hardware reset of the modem.  This input should be externally pulled high anddriven low to reset.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 8 98.12.10 2110059 Rev B PreliminaryStatus Signal InterfaceStatus OutputsThere are three status outputs provided, defined as follows:1. STATUS_OUT1: Power, RF Channel Status• Permanently low when power is on but no CDPD channel is visible.• Pulses low once per second with 10% duty cycle if modem is locked onto a CDPDchannel.• Pulses low twice per second with 10% duty cycle if modem is registered on a CDPDchannel.2. STATUS_OUT2: Transmitter• Low when the transmitter is keyed.3. STATUS_OUT3: Power Down OK• When low, this indicates it is safe to remove power to the modem.  See Section 0Modem Control Interface.Status InputsThere are four TTL-level status input lines provided.  There are currently no features that use theseinputs.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 92.3. SB301 SpecificationsPart number 1100029To Be Determined.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 10 98.12.10 2110059 Rev B Preliminary2.4. SB302 SpecificationsPart number 11000432.4.1. Mechanical2.4.1.1. Physical DescriptionThe SB302 comes as a board stack of two circuitboards.  It includes a 16-pin, 0.1” dual-row header forthe host interface and an MMCX style RF connector for the antenna.  Dimensions in millimetresare as follows:Figure 2-1: Physical dimensions shown in inches [mm]. Figure 2-2: Assembly View.2.4.2. Connectors2.4.2.1. Antenna ConnectorThe SB302 provides an MMCX type RF connector (Huber & Suhner 85 MMCX-50-0-1) for theantenna connection.  For proper matching the antenna should be 50 ohms with a return loss of10 dB or better between 824 - 894 MHz.  System antenna gain should be 0 dB.2.4.2.2.  Host (DTE) ConnectorThe SB302 provides a single (2 x 8) 16-pin connector (AMP 103186-8).
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 112.4.3.  Power SpecificationsThe SB302 requires +5V provided on pins 1 and 2, and ground provided on pins 3 and 4.Electrical requirements and current specifications are identified below.Table 2-4: Power and Current SpecificationsPower Supply Requirements +5Vdc ±5%Maximum noise dc to 100 kHz: 10 mVppCurrent Drain Sleep: 20 mAReceive: 150 mATransmit (Full Power): 850 mA2.4.4. Electrical2.4.4.1.  Host (DTE) InterfaceThe SB302 provides a single 16-pin connector (Samtec HMTSW-108-22-T-D-440) that providesfour interfaces:1. Serial host interface2. Modem control interface3. Power4. Status line interfaceThe connector pinouts are specified in Table 2-5, and electrical characteristics are specified inTable 2-6 Serial Interface Electrical Characteristics.  Signal types are with respect to themodem (DCE).Table 2-5: Host Interface Connector PinoutsPin Number Pin Label Type Description1 – 2 VBAT Input +5V3 – 4 GND Ground Ground5 TxD Input Transmit Data6 RxD Output Receive Data7 \DTR Input Data Terminal Ready8 \DCD Output Data Carrier Detect9 \DSR Output Data Set Ready10 \CTS Output Clear To Send11 \RTS Input Ready To Send12 \RI Output Ring Indicator13 \SHDN Input Graceful modem shutdown.14 STATUS_OUT1 Output Power + RF Channel Status15 STATUS_OUT2 Output Transmitter16 STATUS_OUT3 Output Power Down OKTable 2-6: Serial Interface Electrical CharacteristicsCharacteristic Min.(V) Max.(V)Input Low Voltage -0.3 0.8Input High Voltage 2.5 5.0Output High Voltage (Ioh=400 µA) 2.4 –Output Low Voltage (Iol=3.2 mA) – 0.5
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 12 98.12.10 2110059 Rev B PreliminarySerial Port InterfaceThe serial port pins comprise a standard set of serial data and handshaking lines.  All signals arenegative assertion, HCMOS logic compatible.  These signals must be terminated properly if theyare not used.  Refer to the SB300 Series OEM Modems Integrator’s Guide for detail onterminating unused lines.Hardware handshaking should be enabled using CTS and RTS as the primary flow control signals.The remaining handshaking lines (DCD, DTR, DSR, and RI) are, strictly speaking, not needed;however they are desirable for TCP/IP stack usage and are supported for any applications that mayrequire them.  Operation in each mode is as follows:• RTS, CTSUsed as standard hardware flow control lines.• DTRIndicates to the modem that the host device is active.  This line may also be configured toswitch the modem from data to command state or reset the modem (AT&D), and to enablehost wake-up.  See the RI description below.• DCDThis line is asserted while online.  Behaviour options are set with the command AT&C.• DSRAlways active when the modem is on; it is tied to logic GND.• RIIf DTR is inactive (high), RI toggles when there is data for the host.  This may be used towake-up the host.The serial port should be configured for 8-data bits, no parity bits, and 1-stop bit.  The defaultDTE configuration will auto-baud to the host serial baud rate (based on speed of the ‘A’ in an ATcommand).  Host data rates of up to 57.6 kbps are supported.  AT commands may be used to fixthe baud rate from 1200 bps to 57.6 kbps.In command state, a terminal emulation program may be used to communicate with the modemand change the configuration.Modem Control InterfaceModem control is comprised of one input:1. \SHDN: Graceful ShutdownThis is an active-low input.  When activated this signal instructs the modem to de-registerfrom the network, and power down.  When this activity is completed theSTATUS_OUT3 line is pulled indicating to the host that power may be removed from thedevice.Status Signal InterfaceStatus OutputsThere are three status outputs provided, defined as follows:1. STATUS_OUT1: Power, RF Channel Status• Permanently low when power is on but no CDPD channel is visible.• Pulses low once per second with 10% duty cycle if modem is locked onto a CDPDchannel.• Pulses low twice per second with 10% duty cycle if modem is registered on a CDPDchannel.2. STATUS_OUT2: Transmitter• Low when the transmitter is keyed.3. STATUS_OUT3: Power Down OK• When low, this indicates it is safe to remove power to the modem.  See Section 0Modem Control Interface.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 132.5. SB320 SpecificationsPart number 11000332.5.1. Mechanical2.5.1.1. Physical DescriptionThe SB320 comes in a Type III package, and includesa 30-pin, 0.5mm pitch ZIF connector for the hostinterface, a 13-pin PCMCIA I/O connector for thewireline interface, a MMCX connector for the antenna, and a status LED.  Dimensions inmillimetres are as follows:2.5.1.2. MountingThe SB320 uses an industry standard Type III frame-kit, and as such will fit into PC Card rails.Alternatively, two clips or a bracket may be used to secure the module.  There are also twomounting holes provided on either side of the ZIF serial connector.2.5.2. Connectors2.5.2.1. Antenna ConnectorThe SB320 provides an MMCX type RF connector (Huber & Suhner 85 MMCX-50-0-1) for theantenna connection.  For proper matching the antenna should be 50 ohms with a return loss of10 dB or better between 824 - 894 MHz.  System antenna gain should be 0 dB.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 14 98.12.10 2110059 Rev B Preliminary2.5.2.2.  Host (DTE) ConnectorThe SB320 provides a single 30-pin ZIF connector with 0.5mm pin spacing (Hirose FH12-30S).2.5.2.3.  Wireline ConnectorThe SB320 provides a single 13-pin PCMCIA I/O connector (ITT-Cannon CA112112-1) next tothe antenna connector on the side opposite the host (DTE) connector.2.5.3.  Power SpecificationsThe SB320 requires +5V provided on pins 23-24, and ground provided on pins 23-28.  Electricalrequirements and current specifications are identified below.Table 2-7: Power and Current SpecificationsPower Supply Requirements +5Vdc ±5%Maximum noise dc to 100 kHz: 10 mVppCurrent Drain Wireline Mode Inactive: 20 mAData/Fax Transmit: 220 mAVoice Transmit: 250 mACurrent Drain CSC Mode Receive: 100 mATransmit (Full Power): 850 mACurrent Drain CDPD Mode Sleep: 20 mAReceive: 190 mATransmit (Full Power): 760 mA2.5.4. Electrical2.5.4.1.  Host (DTE) InterfaceThe SB320 provides a single 30-pin ZIF connector with 0.5mm pin spacing (Hirose FH12-30S).This connector provides four interfaces:1. Serial host interface2. Modem control interface3. Power4. Status line interfaceThe connector pinouts are specified in Table 2-8, and electrical characteristics are specified inTable 2-9 Serial Interface Electrical Characteristics.  Signal types are with respect to themodem (DCE).
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 15Table 2-8: Host Interface Connector PinoutsPin Number Pin Label Type Description1 \DCD Output Data Carrier Detect2 RxD Output Receive Data3 TxD Input Transmit Data4 \DTR Input Data Terminal Ready5 GND Ground Ground6 \DSR Output Data Set Ready7 \RTS Input Ready To Send8 \CTS Output Clear To Send9 \RI Output Ring Indicator10 \RESET Hardware Reset11 RESERVED Leave unconnected12 \SHDN Input Graceful modem shutdown.13 STATUS_OUT1 Output Power + RF Channel Status14 STATUS_OUT2 Output Transmitter15 STATUS_OUT3 Output Power Down OK16 STATUS_IN1 Input17 STATUS_IN2 Input18 STATUS_IN3 Input19 STATUS_IN4 Input20 – 22 UNUSED23 – 24 VBAT Input +5V25 – 28 GND Ground Ground29 UNUSED30 RESERVED Leave unconnectedTable 2-9: Serial Interface Electrical CharacteristicsCharacteristic Min.(V) Max.(V)Input Low Voltage -0.3 0.8Input High Voltage 2.5 5.0Output High Voltage (Ioh=400 µA) 2.4 –Output Low Voltage (Iol=3.2 mA) – 0.5Serial Port InterfaceThe serial port pins comprise a standard set of serial data and handshaking lines.  All signals arenegative assertion, HCMOS logic compatible.  These signals must be terminated properly if theyare not used.  Refer to the SB300 Series OEM Modems Integrator’s Guide for detail onterminating unused lines.Hardware handshaking should be enabled using CTS and RTS as the primary flow control signals.The remaining handshaking lines (DCD, DTR, DSR, and RI) are, strictly speaking, not needed;however they are desirable for TCP/IP stack usage and are supported for any applications that mayrequire them.  Operation in each mode is as follows:• RTS, CTSUsed as standard hardware flow control lines.• DTRIndicates to the modem that the host device is active.  This line may also be configured toswitch the modem from data to command state or reset the modem (AT&D), and to enablehost wake-up.  See the RI description below.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 16 98.12.10 2110059 Rev B Preliminary• DCDThis line is asserted while online.  Behaviour options are set with the command AT&C.• DSRAlways active when the modem is on; it is tied to logic GND.• RIIn Wireline and CSC modes, this line toggles when there is an incoming call (the telephone isringing).  In CDPD mode, if DTR is inactive (high), then RI toggles when there is data for thehost.  This may be used to wake-up the host.The serial port should be configured for 8-data bits, no parity bits, and 1-stop bit.  The defaultDTE configuration will auto-baud to the host serial baud rate (based on speed of the ‘A’ in an ATcommand).  Host data rates of up to 57.6 kbps are supported.  AT commands may be used to fixthe baud rate from 1200 bps to 57.6 kbps.In Circuit-Switched mode data state and any mode’s command state, a terminal emulationprogram may be used to communicate with the modem and change the configuration.Modem Control InterfaceModem control is comprised of two inputs:1. \SHDN: Graceful ShutdownThis is an active-low input.  When activated this signal instructs the modem to de-registerfrom the network, and power down.  When this activity is completed theSTATUS_OUT3 line is pulled indicating to the host that power may be removed from thedevice.2. \RESET: Hardware ResetThis is a hardware reset of the modem.  This input should be externally pulled high anddriven low to reset.Status Signal InterfaceStatus OutputsThere are three status outputs provided, defined as follows:1. STATUS_OUT1: Power, RF Channel Status• Permanently low when power is on but no CDPD channel is visible.• Pulses low once per second with 10% duty cycle if modem is locked onto a CDPDchannel.• Pulses low twice per second with 10% duty cycle if modem is registered on a CDPDchannel.2. STATUS_OUT2: Transmitter• Low when the transmitter is keyed.3. STATUS_OUT3: Power Down OK• When low, this indicates it is safe to remove power to the modem.  See Section 0Modem Control Interface.Status InputsThere are four TTL-level status input lines provided.  There are currently no features that use theseinputs.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 172.5.4.2.  Wireline and Voice InterfaceThe SB320 provides a 13-pin connector (ITT-Cannon CA112112-1) for its wireline and voiceinterface.  The connector is positioned on the opposite end of the housing from the serial host(DTE) connector.  This connector provides four interfaces:1. Telephone Line Interface2. Voice Interface3. Debug Serial Port4. Status OutputsThe connector pinouts are specified in Table 2-10.  Specific configuration detail for the differentinterfaces follow.  Signal types are with respect to the modem (DCE).Table 2-10: Pinout of Wireline and Voice ConnectorPin number Signal Name Type Description1 Reserved Leave Unconnected2 SPKR– Output Speaker Interface negative3 SPKR+ Output Speaker Interface positive4 MIC+ Input Microphone input positive5 MIC– Input Microphone input negative6 Reserved Input Leave Unconnected7 Reserved Input Leave Unconnected8 STATUS1 Output Status Output 19 STATUS2 Output Status Output 210 GROUND Ground Signal Ground11 RESERVED Leave Unconnected12 RING Input Wireline Connection13 TIP Input Wireline ConnectionTelephone Line InterfaceThe telephone line interface consists of two signals: TIP and RING.  These two lines should berouted via a twisted pair of wire to a panel-mounted RJ11 connector.Voice InterfaceMicrophone InputThe microphone input is a capacitively connected differential input, with an input impedancegreater than 10 kohm.  Microphone signals should be 90 mVpp nominal.  Software volume controlis available.  If a single-ended drive is desired, the MIC– input may be connected to ground.Speaker OutputThe speaker output is a differential signal used to interface to a speaker amplifier. The outputsignal is ac-coupled 2 Vp-p nominal into a 150-ohm load. In circuit-switched and wireline dataand FAX modes this signal is used to indicate call progress.Debug Serial PortThis interface is shown as reserved pins on the connector pinout table.  The interface is designedto work through the Multipurpose Interface Board described in chapter <???>.Status OutputsThese signals are the status outputs from the host interface brought out on the wireline/voiceconnector.  They are described in Section 0 Status Signal Interface.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 18 98.12.10 2110059 Rev B Preliminary2.5.5.  SB320 Communication Mode Specifications2.5.5.1.  Wireline SpecificationsWireline Data CCITT V.34: 33600 – 2400 bpsCCITT V.32bis: 14400, 12000, 7200 bpsCCITT V.32: 9600, 4800 bpsCCITT V.22bis: 2400 bpsCCITT V.22: 1200 bpsCCITT V.21: 300 bpsBell 212A/103: 1200, 300 bpsV.42 error correction (LAPM and MNP)V.42bis and MNP5 data compressionWireline FAX Command Set: EIA/TIA 578 Class 1CCITT V.17: 14400, 12000, 9600, 7200 bpsCCITT V.29: 9600, 7200 bpsCCITT V.27ter: 4800, 2400 bpsCCITT V.21 Channel 2: 300 bpsWireline Voice2.5.5.2.  Circuit-Switched Data SpecificationsCSC Data CCITT V.34: 16800 – 2400 bpsCCITT V.32bis: 7200 bpsCCITT V.32: 9600, 4800 bpsCCITT V.22bis: 2400 bpsCCITT V.22: 1200 bpsCCITT V.21: 300 bpsBell 212A/103: 1200, 300 bpsV.42 error correction (LAPM and MNP)V.42bis and MNP5 data compressionETCCSC FAX Command Set: EIA/TIA 578 Class 1CCITT V.29: 9600, 7200 bpsCCITT V.27ter: 4800, 2400 bpsCCITT V.21 Channel 2: 300 bpsCSC General IS-91CSC Voice IS-19C2.5.5.3. CDPD SpecificationsCDPD Version CDPD 1.1
2110059 Rev B Preliminary 98.12.10 Page 193. Multipurpose Interface Board3.1. IntroductionThe Multipurpose Interface Board (MIB) is a development aid to facilitate testing andconfiguration of the SB300 Series modems by allowing communication using a standard RS-232serial connection.  It also provides monitoring LEDs, test points, connections for a protocolanalyzer, and connections for wireline (PSTN) hookup.Although the MIB provides support for the full SB Series of modems, it is not intended to supportmore than one modem at a time.For a quick initial setup go to Section 3.8.1.  To get a fuller understanding of the board’sconnections and capabilities sections are provided as follows:• Section 3.2 Board Description with schematic and parts layout reference.• Section 3.3 Power Supply including voltage control and supplying power from a host device.• Section 3.4 Connections describing the various host, modem, and analyzer connectors.• Section 3.5 Jumpers details options and setups.• Section 3.6 Serial Breakout Box describes cross wiring correction and signal checking• Section 3.7 Test Points identifies what is offered and where to find it3.1.1. FeaturesThe MIB offers these features:• Supports SB220, SB300, SB301, SB302, SB320• RS232 to 5V HCMOS conversion• Interception of 5V HCMOS control signals from host to modem to verify syntax and levels• Intercepted signals are converted to RS-232 for observation by standard serial port• Supports wireline access• Supports voice headset• Serial port breakout box to resolve cabling difficulties• Serial port status LEDs• Status line LEDs and pullup down• Current, DISC and KEY test points• Annunciator to hear dial tones• Comm Analyzer connectors - 25 pin protocol analyzer• Debug port serial connector• Uses wall adapter for power3.2. Board Description3.2.1. Schematic<Image(s) to be inserted>3.2.2. Parts Layout<Image to be inserted>
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 20 98.12.10 2110059 Rev B Preliminary3.3.  Power SupplyThe MIB requires a 12Vdc, 1 Amp power supply.  An AC adapter (part number 1900000) isprovided with the OEM Developer’s Toolkit.This power is converted by the MIB into the 5V and 7V supplies needed by the modem.  It is notdesigned to support more than one modem connected to the MIB at any time.There is a power switch on the MIB that controls delivery of both the 5V and 7V supplies to themodem connectors but DOES NOT control the 5V supply to the MIB’s own logic.  The MIB’slogic is on whenever the 12V supply is connected.The normal initial setup has jumper J21 (Power Select) set on pins 1 and 2 which will deliverpower to the modem from the MIB’s power source.3.3.1.  Voltage AdjustmentA trim-pot is provided to make fine adjustments to the 5V supply in order to both regulate and testthe modem under various power conditions.  The 7V supply does not have adjustment controls.The 5V supply can be measured at pin 1 of the power select jumper (J21).NOTE: At this time the 5V power adjustment will also affect the 5V supply to the MIB’s ownlogic.  Extreme settings may cause failures of the MIB that should not be interpreted as failures ofthe modem.3.3.2.  Using Power from Host (DTE)For users testing a host connection to a SB301 or SB302, it is possible to power the modem fromthe host (DTE) device rather than the MIB.  To do this, connect the host to the 2x8-pin block(J9 SB301/302 To Host) and set jumper J21 (Power Select) to pins 2 – 3 (+5V Host).At this time, there is no provision for a similar host connection to the SB300 or SB320.  Thesemodems do however derive power from the source set by jumper J21 (Power Select) so this mustbe set to pins 1 – 2 for normal operation.  A workaround to allow host power to supply the modemis to patch the host power to pins 1 and 2 of the SB301/302 host connector block (J9) and set thepower select jumper (J21) to pins 2 – 3.The MIB’s 12V power supply must remain on to deliver power to the RS-232 / HCMOSconversion logic.  The DTE/DCE serial lines are converted to RS-232, made available at the SerialBreakout Box, and then converted back to HCMOS at each end.3.4. ConnectionsThis section provides information on the use of the various connectors on the MIB.3.4.1.  PC Host (DTE) RS-232 Serial ConnectionThere are two 9-pin D connectors (female) provided on the MIB to connect to standard RS-232serial ports on a host terminal, usually a PC.PC Serial PortThis connection is for a PC host device running a terminal emulation program.  Communication toand from this port is delivered via the Serial Breakout Box, to and from the modem.Debug PortThe second 9-pin D connector is for factory level testing only.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 213.4.2.  Host (DTE) Connection for SB301 / SB302An alternative to the 9-pin RS-232 serial connector (PC Serial Port) is provided for connecting ahost (DTE) device to a SB301 or SB302 via the 2x8-pin block at J9 (SB301/302 To Host).  Thisconnector allows you to insert the MIB between the host and the modem for testing andmonitoring communications.Although there is not currently an equivalent 30-pin ZIF host connector for the SB300 and SB320,the pins of this connector are also delivered to the SB300 / SB320 modem connectors.This connector is HCMOS level.Serial SignalsThe MIB converts the serial communication signals to RS-232 level, presents them at the SerialBreakout Box and then converts them back to HCMOS level before passing them to the DTE/DCEends.NOTE: In order for this signal conversion to work, the host device MUST supply +5V on pins1and 2.  It is this power which enables the conversion logic on the MIB for the host side.Input SignalsThe modem ‘s three STATUS_OUT signals are passed directly between the modem and the host.They can also be monitored by the three LEDs (SO1, SO2, SO3)Output SignalsThe host Shutdown signal is passed to the modem via an enabling jumper (HOSTSHDN EN) onthe main jumper block.  With the jumper removed, the shutdown signal is disabled.Power from the host can be used to power the modem by setting jumper J21 (Power Select) to pins2 –3 (+5V Host).  With the jumper in the original position (pins 1 – 2) the modem is powered fromthe MIB.  See Section 3.3.2 for details.3.4.3.  Protocol Analyzer ConnectionTwo 25-pin D connectors are available to connect a protocol analyzer in the serial signal path.The female connector is on the PC side of the Serial Breakout Box; the male connector is on themodem side.To monitor the communication signals between the host and modem, simply connect the analyzerto the MIB.3.4.3.1.  Analyzer DCE EmulationIf needed to test the host side, the modem can be disabled and the analyzer allowed to function asthe modem (DCE) device.  The setup for DCE emulation is still to be determined.3.4.3.2.  Analyzer DTE EmulationThe protocol analyzer can be used to emulate the host (DTE).  The setup to do this is still to bedetermined.3.4.4.  SB300 / SB320 Modem ConnectionBoth the SB300 and SB320 use a 30-pin ZIF connector.  The connector uses the flex ribbon (partnumber 2000068) provided with the OEM Developer’s Toolkit.The connection provides all defined pinouts (see the Product Descriptions in Chapter 1 for details)plus a DISC output from the modem on pin 30 which is made available at test point TP1 (DISC)just beside the connector.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 22 98.12.10 2110059 Rev B PreliminaryUse care when attaching the ribbon to the connector.  There is a cover clamp that hinges up toopen the connector.  Slide the ribbon into the connector with covered (black) side of the ribbonfacing up.  Close the connector clamp by pressing down at the ends rather than the centre ofclamp.  The modem has an identical clamp connector.This connector is HCMOS level.Serial SignalsThe MIB converts the serial communication signals to RS-232 level, presents them at the SerialBreakout Box and then passes them to the DTE/DCE ends.The DCE (modem) side of this conversion can be disabled, effectively disconnecting the modemfrom the MIB by placing a jumper on the MODEM DISBL pins of the main jumper block.  Thiscan be useful if you are using a protocol analyzer to emulate the DCE device.Input SignalsThe 5V power comes from the MIB via the jumper J21 (Power Select).  Pins 1 – 2 will connect theMIB adjustable 5V supply.All other input signals (Shutdown (/SHDN) and Status 1 – 4) to the modem are supplied from themain jumper block.  Placing a jumper on the pins will make the signal active.Output SignalsThe three modem STATUS_OUT signals are indicated by the three LEDs (SO1, SO2, SO3).These are lit when the output signal is active.3.4.5.  SB301 / SB302 Modem ConnectionThe SB301 and SB302 use a 2x8 pin connector block.  A strap with connectors at each end (partnumber 2000067) is provided with the OEM Developer’s Kit.  This strap allows connection of themodem to the MIB at J7 (To SB301/302).This connector is HCMOS level.Serial SignalsThe MIB converts the serial communication signals to RS-232 level, presents them at the SerialBreakout Box and then passes them to the DTE/DCE ends.The DCE (modem) side of this conversion can be disabled, effectively disconnecting the modemfrom the MIB by placing a jumper on the MODEM DISBL pins of the main jumper block.  Thiscan be useful if you are using a protocol analyzer to emulate the DCE device.Input SignalsThe 5V power and Shutdown (/SHDN) signal to the modem can be supplied from the Host (DTE)connection, not the PC Host RS-232 connection.Modem power can be drawn from either the MIB or the host (DTE) by setting the jumper J21(Power Select).  Pins 1 – 2 will connect the MIB adjustable 5V supply.  Pins 2 –3 (+5V Host) willconnect the host power to the modem.  See Section 3.3.2 for details.The Shutdown (/SHDN) signal must originate from the Host (DTE) connection (not the PC HostRS-232 connection).  It can be enabled or disabled via a jumper (HOSTSHDN EN).  With thejumper connector in, the shutdown signal will be passed to the modem.The Shutdown signal can also be originated at the MIB using the SB3XX SHDN jumper on themain jumper block.  Placing a jumper on the pins will make the signal active.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 23Output SignalsThe three modem STATUS_OUT signals are passed directly between the modem and the Host(DTE) connector.  Their status is also be indicated by the three LEDs (SO1, SO2, SO3).  These arelit when the output signal is active.3.4.6.  SB220 Modem ConnecitonThis is provided for factory testing of older model modems.3.5. JumpersThere are three jumper blocks provided on the MIB.  The main jumper block is located next to themodem power switch and has eight pairs of pins.  There is also a 3-pin jumper block for powerselection, and a 2-pin jumper block to enable or disable the built-in speaker.3.5.1.  Main Jumper BlockThe main jumper block (J24) has eight pairs of pins, all labelled.  The first four pairs are toactivate the four input signals of the SB320 (not currently implemented by the modem).  Twopairs are for direct MIB activation of the Shutdown (/SHDN) signal to the modems and to enablethe SB301/302 host interface to trigger this signal.  There is one pair of pins for activating TP3and the last pair is to disable the modem side of the RS-232 / HCMOS serial signal conversion.3.5.1.1.  ST INx – Status InputsPlacing a jumper on one of these pins will force the signal active.  At this time none of the statusinput signals are used by the SB320.3.5.1.2.  HOSTSHDN EN – Host Shutdown EnableThis jumper will enable the Shutdown (/SHDN) signal from the SB301/302 host interface to bepassed to the modem.  Without the jumper installed, the signal will not reach the modem.3.5.1.3.  SB3XX SHDN – ShutdownThe modem’s Shutdown (/SHDN) input can be forced active by placing a jumper on this pair ofpins.  This will work regardless of the setting on the HOSTSHDN EN jumper.3.5.1.4. TP CTRLTest Point 3 is tied to this jumper.  Application TBD.3.5.1.5. MODEM DISBLPlacing a jumper on this pair of pins will disable the MIB’s conversion of the modem serialconnection from HCMOS level to RS-232 level, effectively disconnecting the modem from theSerial Breakout Box and the host.  Power and control signals remain intact.This can be used to disable the modem’s serial connection while using a protocol analyzer toemulate the modem.3.5.2.  Power SelectA 3-pin block is provided to select the source of the +5V power supply to the modems.  Placingthe jumper on pins 1 and 2 will connect the MIB’s regulated +5V supply.  Placing the jumper onpins 2 and 3 will connect the modem to power from the SB301/302 Host connection.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 24 98.12.10 2110059 Rev B PreliminaryThe modem power switch comes AFTER the power selection jumper and can be used to controlpower to the modems regardless of the source of the power.3.5.3.  SPK EN – Speaker EnableA 2-pin block is provided near the status indicator LEDs to allow you to disable the speaker insituations where you would prefer to mute the output.  Placing the jumper on the pins will enablethe SB320 to drive the speaker, provided the SB320 I/O connector is in place.The SB300/301/302 modems do not provide speaker output.3.6.  Serial Breakout BoxOne of the main functions of the MIB is to provide a means of monitoring the serial connectionbetween a host and the modem.  The MIB converts HCMOS level signals at the modem (and atthe SB301/302 Host connection) to RS-232 level for monitoring on the LEDs and with a protocolanalyzer.In addition, the two rows of pins on each side of the DIP switch provide test points andconnections to each individual signal.  This allows you to cross connect pins to correct cabling orconnector faults.3.6.1. DIP SwitchThe DIP switch is used to make or break the connection between the host and modem for each ofthe serial communication signals.  When switched to the open side, the connection is broken.Should there be a cross connection error in the host / modem serial connection, switch off theaffected signals and use the breakout pins to bridge the signal correctly.The last two switches are not connected.3.6.2.  Serial Connection IndicatorsThe LED indicators show the status of the serial communication on the modem side of thebreakout box.  Red indicates an inactive signal, green indicates an active one.  All LEDs arelabelled.3.7.  Test PointsThere are four test points plus a pair of pins for current measurement.3.7.1. TP1 DISCThis test point receives its signal from pin 30 of the SB320 modem connector and pin 1 of theSB320 I/O connector.  It presents the discriminator output of the radio modem.3.7.2. TP2Connected to the SB320 pins 20, 21, and 22, these signals are currently unused.3.7.3. TP3This is connected to the TP CTRL jumper of the main jumper block.  Application to bedetermined.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 253.7.4. TP4 KEYAll modem connectors provide the transmitter key indicator here.  This signal is also indicated bythe S02 status LED.3.7.5. Current MeasurementTwo pins are made available at J26 (Current Measurement) to allow connection of an ammeter tomeasure the current drawn by the modem.3.8. ApplicationsTo Be Determined.3.8.1.  Initial SetupAs shipped the MIB is configured as follows:• Serial communication DIP switches are closed and the two spare switches are left open.• Power select is on pins 1 and 2 to use MIB power for the modem.• All main jumpers are removed.• The speaker is enabled.
2110059 Rev B Preliminary 98.12.10 Page 274. Getting Started4.1. IntroductionThis chapter guides you through the initial physical setup of a host terminal (usually a PC), theMultipurpose Interface Board (MIB), and a modem.  Related start-up issues such as cellularactivation are also covered.After completing this setup, you should be able to communicate with the modem with ATcommands.The following chapter (Software Installation) will deal with the software installation on a host PCof Watcher™ and WirelessExpert™ which make further configuration of the modem and testingon a CDPD network (if applicable) much simpler.4.2. RegistrationIn order to use your modem for wireless communication you must register it with a cellularservice provider.  This section describes what they will need to know and what information theywill provide to you.Contact your service provider to get the registration process started.  While the service provider isgetting your account configured, you can install and configure your modem.  Record theinformation provided by your carrier for configuring the modem later.In any coverage area there can be two providers, each assigned to a “side” (A or B) of the cellularwaveband.  Each provider is also assigned a Service Provider Network Identifier (SPNI) number.4.2.1. CDPDIn order to use your modem in CDPD mode it must be activated on a CDPD network by a serviceprovider.  To register your modem for Wireless IP activation on CDPD networks, contact yourlocal CDPD service provider.CDPD Service Providers Toll-free NumberAmeriTech 888 – 907 – 3282AT&T Wireless 800 – 552 – 3373Bell Atlantic Mobile 800 – 308 – 3282Go America 888 – 462 – 4600GTE Wireless 800 – 483 – 6625Sierra Wireless, Inc. does not recommend or endorse any particular provider.Give the CDPD service provider the Equipment Identifier (EID).  This is the identificationnumber of the radio/modem.  The EID has the following format: 00-A0-D5-xx-xx-xx.  Look forthis number on the back of your modem and on a label affixed to the outside of the package thatthe modem was shipped in.  The number is also available by querying the modem with theAT+WPEID command.The CDPD service provider supplies the following:
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 28 98.12.10 2110059 Rev B Preliminary5. Modem address, sometimes referred to as a Network Entity Identifier (NEI).  This may alsobe referred to as your Internet Protocol (IP) address.  This identifies your modem on a CDPDnetwork and on the Internet.6. IP address of a router or server to ping when testing the connection.Both of the above items are in the form of an IP number.  This is made up of four numbersranging in value from 0 to 255, separated with periods (sample: 192.168.0.9)7. Side designator, A or B.  This determines the channels used by your CDPD service provider.8. SPNI number of the provider.This information will be required when configuring your modem for CDPD registration eitherwith WirelessExpert or AT commands.4.2.2. CSC (AMPS)In order to use your modem in CSC mode it must be activated with a cellular phone serviceprovider.  To register your modem for CSC activation, contact your local cellular carrier.Give the service provider the Electronic Serial Number (ESN).  This is the identification numberof the radio/modem.  The ESN has the following format: 206-xxxxxxxx.  Look for this number onthe back of your modem and on a label affixed to the outside of the package that the modem wasshipped in.  The number is also available by querying the modem with the AT+WPEID command.The cellular service provider supplies the following:1. A Number Assignment Module (NAM).  This is your cellular telephone number and Homecellular System Identifier (SID).2. Side designator, A or B.  This determines the channels used by your service provider.This information will be required when configuring your modem for CSC mode use either withWirelessExpert or AT commands.4.3. Setup Considerations4.3.1. Host Computer TerminalYou will require a PC with a communications program capable of operating in ASCII terminalemulation mode.  This allows the PC to function as a terminal attached to the modem and permitsthe entering of AT commands required for modem setup and diagnostics.  It is recommended thatthe program chosen be capable of logging terminal communications activity to a file for lateranalysis or printout in the event that technical support is required.For IBM PC-compatibles, Windows Terminal, Hyperterminal, Procomm, and Kermit are allacceptable.A 9-pin D connector RS-232 serial cable (part number 006.0011) is provided with the OEMDeveloper’s Kit for connecting the PC host to the Multipurpose Interface Board.4.3.2.  Physical considerationsThe MIB and modem can be sensitive to static so the setup should be in a static controlledenvironment.4.3.3.  Antenna considerationsThe SB300 Series modem uses standard mobile cellular radio signals.  An antenna (partnumber 1810009) is provided with the OEM Developer’s Kit.  Along with this antenna is aconnector adapter (part number 2000066) to convert the antenna connector (Female SMA) tomatch the modem requirement (Male MMCX).
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 29You can use an antenna of your own if you choose.  Any standard cellular antenna of good qualitywith a maximum gain of 3 dB (FCC requirement) will function properly provided you have asuitable connector.Antenna performance is subject to the following guidelines:Location – Locate the antenna as far away from personnel as possible to minimize signalblocking.  For optimum reception, in indoor fixed location applications, position the antennaabove the height of personnel and nearby equipment or structures.  Locate the antenna as close to awindow as possible.Cabling – Select a low loss, high quality, 50-ohm, coaxial cable with the appropriate connectors.The cable can be any length, but lengths greater than 3.7 metres (12 feet) increase cable loss andoffset the antenna’s nominal gain.  If longer length cables are required, use a heavier wire gauge toreduce the dB loss/m and to minimize the effect of the cable loss on antenna gain.Ground Plane – For installations where a good antenna ground plane (metal surface) is notavailable, use a non-ground plane type of antenna to help maximize signal reception.Proximity to Other Antennas – In general, do not locate the SB300 Series modem and itsantenna closer than 1.5 metres (5 feet) to another antenna.  In certain cases even more separation isrequired.  The effect of the interference from two-way transmitters varies from slowing downresponse times to blocking modem transmission.4.4. MIB PresetsThe Multipurpose Interface Board has several switches and jumpers which should be configuredas follows for the initial setup.• DIP Switch in the Serial Breakout Box:Switches 1 through 8 should be closedSwitches 9 and 10 open.• Power Select (J21) should be on pins 1 – 2 (+5V).• Jumpers on J24 should all be off.• Speaker Enable should be on.4.5. ConnectionsThis section describes the steps to connect the PC host, MIB, and modem.  At the end of thisprocedure you should be ready to configure and use the modem.  If results at any step are not asdescribed, consult the chapter on troubleshooting.To connect follow these steps:3. Attach the RS-232 serial cable from the host to the MIB PC Serial Port connector (J1).The Serial Breakout Box indicators for DTR, TxD, and RTS should all light (powered fromthe RS-232 connection).4. Start the terminal application on the host PC.  Configure the application for the port connectedto the MIB.  We recommend a setting of 19200 bps, 8 data, no parity, 1 stop, with hardware(RTS/CTS) flow control.5. Instruct the terminal application to connect.The DTR and RTS indicators should be green.  The TxD indicator should be red.6. Attach the appropriate modem connector strap to the MIB port for the modem to be used.• 2x8-pin ribbon with connectors for the SB301 and SB302<photo>• 30-pin 5mm flex strap (without connectors) for the SB300 and SB320.To make the SB300/320 connection:
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 30 98.12.10 2110059 Rev B Preliminaryi. Open the hinged SB300/SB320 connector on the MIB by lifting it away from theedge of the board.  <photo>ii. Slide the strap into the connector with the contact side down (black side up).  Besure it is fully inserted.  <photo>iii. Close the connector by pressing down on the ends of the connector rather than thecentre.  <photo>7. Attach the modem to the connector strap.NOTE: The MIB is not designed to support more than one modem connected at any time.Connecting more than one modem may damage the modem or MIB.8. Place the antenna is a suitable location, attach the antenna connector adapter to the antennacable, and attach the cable to the modem.9. Connect the 12Vdc power supply to the MIB.10. Switch on the modem power using the POWER switch on the MIB.The remaining Serial Breakout Box indicators should light.The Status indicators will come on in turn as the modem firmware starts upThe modem should send an OK prompt to the host PC.11. Type AT<enter> at the host terminal.  The modem should reply with OK.The modem is now ready to be used with the host computer.
2110059 Rev B Preliminary 98.12.10 Page 315.  Software Installation5.1. IntroductionThis chapter provides instructions for installing Watcher™ and WirelessExpert™ on a host PCand using these programs to configure and use the modem.Running WirelessExpert is required to install necessary drivers on the host PC.WatcherWatcher is a Windows application that configures and monitors Sierra Wireless modems forCDPD, Circuit Switched Cellular (CSC), and Wireline operation.  It also allows you to set the NEIand NAM registrations for your modem and test the host connection.  This chapter explains howto install Watcher and describes basic Watcher operations and important screen elements.WirelessExpertInstallation of the drivers required for modem operations is performed with an installation wizardcalled WirelessExpert.  This can be run at any time to view and edit the cellular activation settings(NAMs, NEIs, etc.)5.2.  Installing Software on the HostOn the host PC:1. Insert the diskette.2. Select Start > Run… from the Windows taskbar.3. Enter A:\SetupAn installation wizard will guide you through the process.A menu entry is added to the Start > Programs menu:5.2.1.  Configuration using WirelessExpertWirelessExpert will locate the modem on a COM port, interrogate it for features, and install therequired drivers on your host PC.  It will then allow you to set or alter the cellular activationsettings.In order for the drivers to be available to the Windows operating system, the PC will be restartedpart way through the execution of WirelessExpert.  This is done automatically but does requirethat no other programs are running on the PC at the time.Preparation:1. Close any open applications on the host PC including any communication program connectedto the modem.  The system restart supervised by WirelessExpert may fail if other programsare running.2. Ensure the host serial connection to the modem via the MIB is in place and the modem poweris on.  The full set of serial communication LED indicators should be on.Installation:
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 32 98.12.10 2110059 Rev B Preliminary3. Select Start > Programs > Watcher > WirelessExpert from the Windows taskbar.4. Select the modem being used from the list:SB320 – OR – SB300 Series for the SB300, 301, 3025. Click Next > and then Next > again to skip the page regarding setup of other modemproducts.  WirelessExpert then locates the com port connected to the modem and finds therelated registry entries for it.  The results are shown.6. Click Next > to have WirelessExpert install the appropriate drivers for the modem.7. A message appears advising of the need to restart the computer.  Click OK.  WirelessExpertshutsdown the computer and restarts it for you.8. Click Next > until you pass the section on connectivity components.  WirelessExpert nowexamines the modem for cellular network activation.9. The next page allows you to set the level of access to the configuration settings which will beallowed to the Watcher program.  Setting full access will allow Watcher to alter the NAM /NEI settings, read-only will allow Watcher to display the settings but you will have to useWirelessExpert or direct AT commands to alter settings.10. For SB320 installations, the NAM entries for CSC activation will be presented for entry andediting.  This screen is skipped for CDPD only modems.11. The CDPD settings of the modem are displayed for entry and editing.  A radio button sets theactive NEI for use.  A pull-down menu allows setting of the channel side preference.12. The CDPD settings can be tested by WirelessExpert and setup in the Windows Dial-upNetworking Connection facility.  A pull-down menu allows you to select the NEI for testing.If you select one different from the radio button selection on the previous screen, the newsetting will become the default.  The test can be skipped if desired.13. Click Finish to complete the WirelessExpert configuration.  The modem should now be readyfor use.5.3.  Using Watcher for Remote ConnectionsStarting Watcher will open a connection using the settings in the Dial-up Networking facility ofWindows.  To start Watcher:Select Start > Programs > Watcher > Watcher from the Windows taskbar.Watcher will locate and initialize the modem.5.3.1.  Configuring WatcherWatcher has a setup dialog that lets you verify the Sierra Wireless modem connection to the COMport, and the basic configuration strings for Circuit Switched Cellular and Wireline operation.To set up Watcher:14. Make sure the modem is powered on and is communicating with your PC.15. Select Options > Setup Watcher from the Watcher main menuThis will open the Setup Watcher dialog.16. Click the WirelessExpert… button to activate the installation wizard described above ormake changes to the settings manually.17. If specialized setup strings are required for your installation, you can enter them here.  Themodem uses configuration strings to optimize its operation in certain modes.  The modemcomes preset with the most common configuration strings.  See <???> for more information.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 33CDPD mode does not offer special setups.  To control CDPD mode use Options >Setup CDPD… described below.18. Click OK to save the configuration and return to the Watcher program window.5.3.2.  Configuring Cellular Settings using WatcherWirelessExpert must be run initially to properly install and register the required connectivitycomponents with Windows.  If you have not run WirelessExpert on the host PC to be used withthe modem it must be done before using Watcher.Watcher’s ability to manage the cellular activation settings of the modem are set byWirelessExpert.  If WirelessExpert has set the access level for Watcher to anything but full access,then Watcher cannot be used to configure the settings.5.3.2.1. CDPD SettingsTo edit the modem configuration with Watcher:19. Select Start > Programs > Watcher > Watcher from the Windows taskbar.20. Select Options > Setup CDPD… from the Watcher main menu.The following window will open to allow configuration changes:21. To change an NEI address you must click the Unlock button.The SPNI box enables Friends Only operation.  Sleep mode and Friends Only are discussed in theCDPD Operations chapter.5.3.2.2. CSC SettingsTBD.5.3.3.  Starting and Quitting WatcherTo monitor the state of the modem, you can leave Watcher running all the time.  In some instancesyou may need to close or disable Watcher before you can access the modem from anotherapplication (e.g., Windows Terminal).To start Watcher:22. Select Start > Programs > Watcher > Watcher – or double-click the Watcher icon.The Watcher program window will open.To quit Watcher:23. Click the close box in the top left corner of the Watcher program window.  Watcher may takea moment to close while it gracefully disconnects the modem.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 34 98.12.10 2110059 Rev B Preliminary5.3.4.  About the Watcher Program WindowThe Watcher program window looks like this:5.3.5.  Watcher Menus and CommandsThe Watcher program window contains the following menus:Settings Options Window HelpThese are described below.5.3.5.1. Settings MenuAny dimmed options are not available on the modem being used.Wireline Switches the modem to Wireline mode.Cellular Switches the modem to Circuit Switched Cellular (CSC) mode.CDPD Switches the modem to CDPD mode.Register Registers the modem on a CDPD network.Set Radio Channel… Displays options for setting the radio channel automatically or manually.Disable Transmitter Turns the transmitter off so the modem can only receive data.  Whenselected a checkmark will appear beside it and the status line will indicatethe transmitter is disabled.  Select the option again to re-enable thetransmitter.Exit Exits Watcher after gracefully shutting down the modem connection.5.3.5.2. Options MenuAny dimmed options are not available on the modem being used.Setup Watcher… Displays the dialog box for configuring the Watcher modemconnection and the startup strings for the wireline and CSC modes ofoperations.  See 5.3.1 Configuring Watcher for details.Setup Cellular… Displays a dialog box for configuring Circuit Switched Cellularmode. You must be in Wireline or Circuit Switched Cellular mode toselect this command.  See 5.3.2.2 CSC Settings for detailsSetup CDPD… Displays a dialog box for configuring CDPD mode. You must be inCDPD mode to select this command.  See 5.3.2.1 CDPD Settings fordetails.5.3.5.3. Window MenuRefresh F5 Updates the signal strength, and channel status indicators asappropriate.Allways On Top Displays the Watcher program window on top of any currently activeapplication window.  When selected a checkmark will appear beside it.Select the option again to disable the feature.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s Guide2110059 Rev B Preliminary 98.12.10 Page 355.3.5.4. Help MenuPressing F1 will open the main Watcher Help window.  Other access to help features are:Contents… Displays the main Help topics.Search… Lets you search for keywords in Help.Current… Opens Watcher Help to a context sensitive page.Warranty Regisrtaion.. Displays a form for automated product registration via the Internet.About… Displays important information about the Watcher version; themodem version, EID, hardware and firmware revision, transmittertemperature, and the connectivity drivers.5.3.6. Toolbar ButtonsThe Watcher program window contains three buttons for selecting the operating mode, a buttonfor registering and de-registering your modem in CDPD mode.  These buttons are describedbelow.  If a button is dimmed, the option is not available on the current modem.Click to switch to Wireline mode.Click to switch to Circuit Switched Cellular mode.Click to switch to CDPD mode.Click to register the modem in CDPD mode.  When the cables appear joined, themodem is registered.Click the button again to de-register the modem.5.3.7. Status IndicatorsO Appears to the left of the Wireline button and indicates that Watcher is activelycommunicating with the modem in a non-packet mode (Wireline or CircuitSwitched Cellular).•Appears to the left of the Wireline button and indicates that Watcher is activelycommunicating with the modem in a packet mode (CDPD).Shows the Received Signal Strength Indication (RSSI). Double-click on thegauge to display the value in dBm. “---” (flashing) Indicates that the modem is not locked onto a CDPD channel.Displays the current radio channel.5.3.8.  Updating Status IndicatorsTo update the status indicators, select Window > Refresh in the main menu or press F5.Depending on the operating mode, the status indicators may take a few seconds to update.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 36 98.12.10 2110059 Rev B Preliminary5.3.9. Icon StatusWhen Watcher is minimized, the shape of the icon indicates the current operating mode andservice status.Indicates the modem is registered in CDPD mode.Indicates the modem is unregistered in CDPD mode.Indicates the modem is in Circuit Switched Cellular (CSC) mode.Indicates the modem is in Wireline mode.Indicates the modem is not responding.
2110059 Rev B Preliminary 98.12.10 Page 376.  Basic Modem Operation6.1. IntroductionThis chapter provides some fundamentals to the operation of Sierra Wireless OEM modems andsome configuration elements of the host (DTE) to modem communication.  Specific techniquesfor setting up the modem for various remote operations are provided in chapters on each mode ofoperation.6.2. Modem Modes and StatesThe SB320 modem supports multiple modes of operation and various states within each mode.The commands and registers used depend on the modem’s operating mode.  The state of themodem and its condition also determine how the modem will behave in any given situation.Depending on the product, the exact options available can differ.  If a mode or state is notavailable on the product, commands related to those modes and states will return the ERRORresult code.The modes, states, and conditions of the modem are described in sub-sections below.6.2.1. ModesThe SB320 supports all of these modes while the SB30x family are CDPD mode only.• Wireline – connected to the Public Switched Telephone Network (PSTN) using a cable(usually with RJ-11 connectors).• Circuit Switched Cellular (CSC) – connected to a cellular network using the AdvancedMobile Phone Service (AMPS).• Cellular Digital Packet Data (CDPD) – connected to a cellular packet switched datanetwork.6.2.2. StatesAll modes support at least two states:• Command – the modem exchanges data with the host (DTE) as AT commands and replies.• Data – communication is passed between the host and remote terminal as computer data.The SB320 may also support:• Fax – communication is passed between the host and remote terminal as fax data.• Voice – communication is treated as voice messages.The modem’s state, in conjunction with its condition, will govern how the modem handles trafficto and from the host and to and from a remote modem.6.2.3. ConditionsIn addition to mode and state the modem can be in one of two conditions:• On-line – actively connected to a remote terminal.• Off-line – disconnected from any remote terminal.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 38 98.12.10 2110059 Rev B PreliminaryWhile in off-line condition the modem can only be in command state.In the on-line condition, the modem can be:• In a data (data, fax, or voice) state which passes data through the modem between the host(DTE) and the remote terminal.• In command state which exchanges data between the host (DTE) and the modem (DCE)without passing it through the active connection to the remote terminal.6.3.  Modem Communications with the Host (DTE)Communication between the host (DTE) and the Sierra Wireless SB300 Series modems iscurrently fixed at:bps: 19200Data Bits: 8Parity: NoneStop Bits: 1Any application being used to issue AT commands must be configured this way.Local flow control is implemented in hardware (RTS / CTS).Autobaud support will be implemented soon.6.4.  DTE Communication OptionsAs shipped the modem is configured with these settings:• Echo enabled (E1) which will cause the modem to echo characters received from the hostback to it while in command state.  The backspace is echoed as <backspace> <space><backspace>.• Quiet result codes disabled (Q0) which enables the modem to issue result codes followingcommands.• Verbose result codes (V1) provide results in English text appended with <CR><LF>.• SB320 Speaker Control is set to be on until carrier detected (M1).This setting means that a host running a terminal emulation program for communication with themodem should have this configuration:• Emulation – TTY• ASCII characterSending:• No line ends with line feeds• No local character echoReceiving:• Do not append line feeds to incoming line ends• Do not force incoming data to 7-bit.• Wrap lines if necessaryCommands may be entered in upper or lower case.6.4.1.  DTR Signal HandlingThe modem can be configured to handle the DTR signal from the host in several ways.  The ATcommand &D sets the method.  The factory default is to hang up any remote connection and entercommand state with auto-answer disabled (setting 2).If you experience difficulty entering command state from a data state you may wish to have themodem reset on DTR transition.The available options are:&D0 Ignore DTR
SB300 Series Modems                                  Preliminary                                         AT Command Reference2110059 Rev B Preliminary 98.12.10 Page 39&D1 Enter command state without changing on/off-line status&D2 Hang up and enter command state with auto-answer disabled.&D3 Reset immediately (no reply is issued).6.4.2.  DSR Signal ControlCDPD mode will leave the DSR signal active whenever the modem is powered on.  There is nocontrol of this signal.In Wireline and CDPD modes of the SB320 the DSR signal can be controlled using the &Scommand.  The factory default is to leave DSR active whenever the modem is powered on.6.4.3.  Local Flow ControlThe modem currently handles only hardware flow control (RTS/CTS).  This is the factory defaultas well.  The SB320 in non-CDPD modes also supports the &K command to adjust this in futurefirmware revisions.  The options are:&K0 Disable local flow control&K3 Use RTS/CTS hardware control&K4 Use XON/OFF software flow control.  Don’t use this if these characters can be part of thedata stream.There is also an impact to flow control with the use of the Communication Mode command (&Q)available on the SB320 in non-CDPD modes.  This command effects the use of internal databuffering at the modem.  If buffering is disabled, so is flow control.6.5.  Result Code FormatsThe modems normally issue result codes on completion of an AT command.  This can be disabledwith quite mode (Q1).  The default is to issue results in verbose (English text) form.  Numericcodes can be selected by disabling the verbose option (V0).If echo is enabled (E1) the modem will append a <LF> to the echoed <CR> from the host.  If echois off, then there is no <CR> or <LF> prior to the response to the command.Verbose result codes are returned with a trailing <CR><LF>.Numeric result codes are returned with a trailing <CR> without the line feed.Where the modem issues a response (data) prior to the result code, the response will have a <CR>and <LF> appended regardless of the echo, quiet, and verbose settings.NOTE:  Allow the modem a few seconds to respond to some commands.  Where mode changesare involved the modem may require several seconds to reconfigure before responding.  On powerup, following initial internal configuration, the modem will issue the OK result code to the hostwhether the host is actively receiving or not.
2110059 Rev B Preliminary 98.12.10 Page 417.  CDPD ModeThis section provides information on configuring and using the modem in CDPD mode.7.1.  CDPD IntroductionCDPD is a standard in wide area, wireless data communications that provides two-way, 19.2kbpspacket data transmission for fast and reliable communications over existing cellular channels.  Seethe Appendix for more information on the nature of CDPD communication.The role of the Sierra Wireless modem in CDPD mode is:24. Accept commands and digital data from the end-user application equipment (DTE) throughthe serial connection.25. Assemble the data into packets.26. Encrypt the packets.27. Transmit the encrypted data packet to the network.28. Receive packet data from the network.29. Decrypt the packets.30. Disassemble the packets to extract the application data.31. Pass the serial data to the end-user’s application equipment through the RS-232 port.Note that the built-in encryption is for the airlink only (between the modem and the cellularservice base station).  If end-to-end data security is desired it must be implemented or otherwiseprovided by the end-user.7.2.  Configuring NEI EntriesIn order for the modem to register on a CDPD network it must have a unique Network EntityIdentifier (NEI).  This is an Internet Protocol (IP) address assigned by your CDPD network serviceprovider.  Section <???> contains information on activating this service.The service provider must assign you an NEI and channel side preference.  They should alsoprovide their Service Provider Network Identifier (SPNI) number.  In order to do this, the serviceprovider will need to know the Equipment Identifier (EID) of the modem which can be reportedby the modem by issuing the +WPEID command.This information is recorded within the modem either by using the WirelessExpert configurationprogram or through direct entry using AT commands.  To use WirelessExpert please consultsection <???>.If you need to access the Internet, a Domain Name Server (DNS) address is also required.  Themodem does not manage this layer of the Internet connection but WirelessExpert will record theDNS address in the Windows networking facility for use at the application level.7.2.1. NEI TableThe modem can store up to four NEIs.  One of these is the active NEI entry.  The active entry isthe one on which most NEI related commands act.  It can be different from the auto-register NEIor a currently registered NEI.  The active NEI is indicated by a pointer stored in register +WS197.Although it is recommended, it is not necessary to de-register from the CDPD network beforemaking changes to the table.  If you alter the NEI entry that is currently registered, the modem will
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 42 98.12.10 2110059 Rev B Preliminaryde-register the old value.  If auto-register is enabled, the modem will then attempt to register thenew one.7.2.1.1.  NEI Configuration With AT CommandsTo store the NEI and related CDPD activation parameters using AT Commands enter thefollowing commands (the AT is omitted for brevity):32. +WPNEILIST to display the NEI table and indicate if one is registered.  The auto-registerNEI is indicated with an asterisk (*) but the active NEI is not indicated.33. +WS197=n where n is the entry you wish to edit.  This will make that the active NEI.34. +WPNEI=ip where ip is the NEI address assigned to you.  You do not need leading 0s in theindividual elements of the address.  When you press <enter> the modem will respond with aprompt to confirm the change in the table.  The old and new values are both shown.Press Y (case insensitive) to confirm the change, orPress N (or any key other than Y) to cancel the command.The modem will respond with OK if the NEI is in a valid IP form.35. +WPNEILIST to display the list and verify the new entry.36. +WS174=n where n indicates the channel side preference.  Values are:0 – A side preferred,1 – B side preferred,2 – A side only,3 – B side only.NOTE that this preference is stored in a register not associated with a particular entry in theNEI table.  The preference will be used for all NEI registrations.If you want use the Friends Only feature, the SPNI will also have to be entered.  See section <???>for instruction on doing this.7.3. CDPD Network RegistrationThe modem can be set to register manually (on command) or automatically when it enters CDPDmode.  The NEI address used for registration is determined differently for each method.The mode of registration is set in register +WS173 (Registration Mode).  A value of 0 indicatesmanual registration and 1 indicates automatic.  The modem is shipped with a value of 0 but themodem will always default to the last method used.7.3.1.  Active and Auto-register NEI IndicesThe modem keeps two separate index entries to the NEI table.  These indices have an intricateinter-relationship that you should understand.Auto-registration uses the index at +WS176 (Auto-register NEI Index).  Manual registration andmanipulation of the NEI table are based on an index at +WS197 (Active NEI Index).When the modem registers an NEI, the index of the NEI used (manually or automatically) will bestored in the Auto-register NEI Index (+WS176).  This means that auto-registration will alwaysuse the last registered NEI unless the Auto-register NEI Index is changed while the modem is de-registered in manual (+WS173=0) mode.Changing the setting in the Auto-register NEI Index while the modem is registered causes themodem to de-register the old NEI address.  This happens in both manual and auto-register modes.If the modem is set to auto-register (+WS173=1) then the modem will go on to attempt to registerthe new NEI.
SB300 Series Modems                                  Preliminary                                         AT Command Reference2110059 Rev B Preliminary 98.12.10 Page 43Register +WS197 (Active NEI Index) is quite independent of any currently registered NEI andcan be changed freely.  This allows access to other table entries while registered without affectingthe registration status.The manual registration command (+WPREG) will use the Active NEI Index (+WS197) as theaddress to register.  It will also store the value of the Active NEI Index (+WS197) into the Auto-register NEI Index (+WS176) so that it becomes the default address for auto-registration.  Thiscopying of the index takes place even if the manual registration fails.In summary, the Auto-register NEI Index value will follow the Active NEI Index value if there isan attempt to register manually.  The Active NEI Index can change freely and is not influenced bychanges in the Auto-register NEI Index.7.3.2. Manual RegistrationWhen the modem is set for manual registration (+WS173=0) it will not attempt to locate a CDPDchannel until commanded to register (+WPREG) or the command to set a channel (+WPCHAN)is set to 0 (automatic selection).  You may select a channel first if desired.  If you do not assign achannel, or force automatic channel selection, the modem will scan for one when the registrationcommand is issued.7.3.2.1.  Select a ChannelIf you assign a channel, the modem will use that channel for registration attempts.  If registrationfails on the assigned channel no automatic attempts to locate another channel are made.Assign a ChannelTo assign a channel for use by the modem issue the AT command +WPCHAN=n where n is thechannel number to assign.  The modem will go to that channel.  Subsequent use of +WPRSSI willreport the strength of signal and if the channel has been acquired.Changing the channel assignment while the modem is registered will not change the registrationstatus.  The modem may lose connectivity if the new channel does not present sufficient signal.Where the carrier forces CDPD channel hopping the modem will follow the hops regardless of theuser assigned channel.Auto-locate a ChannelTo have the modem locate a channel without registering issue the AT command +WPCHAN=0.The modem will then scan for a channel.  RSSI requests will reflect the status of the channelfound.  The channel number will also be available by querying register +WS200 (CurrentChannel Number).7.3.2.2.  Register ManuallyTo register an NEI manually:37. +WS197=n where n is the index to the NEI you wish to register.38. +WPREG to register the NEI.  If the NEI is already currently registered the modem takes noaction and returns the registration result code.  Otherwise, the modem will:De-register any currently registered NEILocate a channel if necessaryAttempt to register the NEI and authenticate credentialsThe modem will terminate the process on one of three conditions:• Success – The modem will report the Registered result code.• Failure – The CDPD network failed to register the NEI for reasons given in the result code(i.e. Denied NEI Not Authorized).• Time-out – The register +WS198 (Registration Wait Time) allows settings from 1 to 255seconds (default 30) for the registration process.  If this time elapses without successfulregistration the modem will return the Timeout Expired result code.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 44 98.12.10 2110059 Rev B Preliminary7.3.3. Automatic RegistrationThe modem can be set to register the NEI indexed by +WS176 (Auto-register NEI Index)automatically.  Register +WS173 (Registration Mode) controls this feature.  When this register isset to 1 the modem will immediately attempt to register and will subsequently attempt to registerautomatically on entry to CDPD mode (startup on CDPD only modems).Automatic registeration will retry indefinitely should attempts fail.Setting the Registration Mode to 0 will de-register the current NEI if it successfully auto-registered earlier.7.3.4. De-registrationThe modem will de-register on any of several events.If the modem is in manual registration mode it will de-register if:• The De-register command (+WPDEREG) is issued for the registered NEI.  Note that thiscommand will reference the NEI indexed by register +WS197 (Active NEI Index).  It ispossible that this register has been changed s(by command) after the NEI was registered andno longer points to the registered address; in which case, the registered NEI remainsregistered and no action is taken by the modem.  The Active NEI Index must point to theregistered address for this command to work.• The registered NEI is overwritten with a new value using +WPNEI=.If the modem is in automatic registration mode it will de-register if:• The method is changed to manual (+WS173=0).• The value of the Auto-register NEI Index (+WS176) is changed.• The registered NEI is overwritten with a new value using +WPNEI=.7.4.  Monitoring the ConnectionPrior to finding a channel, the modem many query items will return 0.  Once locked onto a CDPDchannel, the modem can provide several pieces of information about the connection.  Additionalinformation is available regarding the registration of the modem.7.4.1.  Radio Signal Monitors7.4.1.1. Signal StrengthThere are two primary monitors of signal strength.A “percentage” value can be read from register +WS50 (Normalized Signal Strength).  It reports avalue from 0 to 100 where 0 is imperceptible and 100 is full signal.The Receive Signal Strength Indication (RSSI) is more informative.  It is read with the RSSI andChannel State command (+WPRSSI).  It reports:• Signal strength in dBm (-113 to -30),• State of the channel (Scanning, Acquired, Sleeping),• Registration Status (0 no, 1 yes)• Channel number (0 if scanning)7.4.1.2. Current ChannelThe channel number is available from register +WS200.  A value of 0 indicates the modem is notconnected to a channel.
SB300 Series Modems                                  Preliminary                                         AT Command Reference2110059 Rev B Preliminary 98.12.10 Page 457.4.1.3.  SPNI of the Connected CarrierWhen the modem has locked onto a channel (whether registered or not) the Service ProviderNetwork Identifier (SPNI) can be read with the command +WCID.7.4.1.4. Cell NumberAlthough not important in most circumstances, the number of the current CDPD base station isavailable from register +WS210.7.4.2. Registration StatusThe status of the modem’s registration can be read at register +WS56 (Network RegistrationStatus).  A value of 1 indicates the modem is registered.  A value of 0 indicates that it is notregistered.7.4.2.1. Registration ModeThe current setting of Auto-registration is found in register +WS173.  A value of 1 indicatesautomatic registration is enabled, 0 indicates manual registration mode.7.5.  Serial Line Interface Protocol (SLIP)Serial Line Interface Protocol (SLIP) is one method for encapsulating packet data over dedicatedand/or switched serial lines.  It is a useful and reliable way to allow mixes of hosts and routers tocommunicate with one another in various combinations.When operating in SLIP mode, the modem’s internal Packet Assembly / Disassembly (PAD)services are bypassed and the modem acts as a router passing data between the host’s protocolstack, and the CDPD network.  All protocol headers are the responsibility of the host.  The modemwill only provide SLIP framing to the packets.7.5.1.  Configuring a SLIP SessionThe modem’s session state is set in register +WS45 (Packet Service).  Setting the value to 3 willplace the modem in SLIP mode.This can be done before or after registration on the network.7.5.2.  Using a SLIP SessionTo send data over the network in SLIP mode the user must enter a data state connection to thenetwork with one of these commands:Dial (D) – This command will cause the modem to register (if not already done) and go into datastate.  The result code to the host can come as either an immediate CONNECT (+WS170=0) priorto establishing the registration, or the modem can wait until registration succeeds or fails andreport either CONNECT or NO CARRIER (+WS170=1).  In the former case, the host will notknow if the modem successfully registered on the CDPD network.On-line (O) – This command will switch the modem to data state regardless of the registrationcondition.  This should only be used if you know the modem has successfully registered on theCDPD network.Once in data state, the modem acts as a pipe through which data passes.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 46 98.12.10 2110059 Rev B Preliminary7.5.2.1. TransmittingData packets received from the host are forwarded to the network in 128 byte segments.  They canbe buffered on the modem up to 14 segments (1792 bytes).  Beyond this, there is local hardwareflow control (RTS/CTS) with the host to prevent overflow.7.5.2.2. ReceivingIncoming data from the network is buffered (up to 14 x 128 bytes) and is passed to the host as itarrives.  If the modem has been placed in command state but is still in on-line condition, incomingdata will be buffered.  There is an automatic remote flow control between the modem and thenetwork to prevent overflow.7.5.2.3.  Escaping Data StateTo escape data state in SLIP mode, the host can issue <0xC0>+++<0xC0> to modem.  Thehexadecimal value 0xC0 is the SLIP frame character.  The modem will enter command state butremain registered.If data arrives at the modem while registered and in command state, the data will is buffered asdescribed in section 7.5.2.2 Receiving above.An alternative is to pre-set the DTR Options (&D) to either 1 or 2 and then switch DTR off toescape data state.  If the option is set to 1, the modem will enter command state the same as if theescape sequence was issued; it will remain registered.  If the DTR Option is 2 then the modem willde-register and return to command state.  Note that if Auto-registration is enabled, the modem willswitch off DCD but will remain registered.7.5.3.  Ending a SLIP SessionTo end a SLIP session, escape data state and hang-up (H1).  This will de-register the modem evenif auto-registration is enabled.  The modem will remain de-registered.  Although auto-registrationremains enabled, the modem will not resume auto-registration until the register is reset(+WS173=1) or the modem itself re-enters CDPD mode (a modem reset or power cycle onCDPD-only modems).7.6.  User Datagram Protocol (UDP)User Datagram Protocol (UDP) is the most basic transmission protocol provided by the modem.  Itis a thin protocol, adding only a port specification to the underlying Internet Protocol (IP).  It hasthe same features as IP, that is a best effort, connectionless delivery service with the chief benefitbeing minimum overhead.UDP is not considered reliable because packet delivery is not guaranteed.  Packets can be lost,duplicated, delayed, or delivered out of sequence.  These conditions are not detected, and thesender or receiver is not informed.UDP is connectionless because sender and receiver are never logically connected.  If the intendedreceiver is not active the message is lost.  It is a best effort delivery, because the IP softwaremakes an earnest attempt to deliver the packets, failing only if system resources are overloaded orthe underlying networks fail.Application programs using UDP must accept full responsibility for handling the problems ofreliability, including message loss, duplication, delay, out-of-order delivery, and loss ofconnectivity.These problems are often treated casually by programmers.  Testing done when using highlyreliable, low delay local networks may not expose potential failures.  This explains why manyapplications that use UDP work well in a local environment but often fail in dramatic ways on amore global network.
SB300 Series Modems                                  Preliminary                                         AT Command Reference2110059 Rev B Preliminary 98.12.10 Page 477.6.1.  Configuring a UDP Session7.6.2.  Using a UDP Session7.6.3.  Broadcast and MulticastBroadcast and multicast are CDPD functions that support sending the same data to a large groupof IP Addresses with a single transmission to the CDPD network.  This capability is implementedthrough Mobile Data Intermediate System (MDIS) software.  Check with your carrier to determineif these capabilities are offered before planning to use it as part of your application.Broadcast and multicast transmissions are point-to-multi-point and provide a one-way UDPconnectionless service.  The operational considerations are:• Protocol restrictions prevent broadcast or multicast messages from being encrypted.• Broadcast or multicast data packets will not be received by a SB300 Series modem with anactive TCP PAD session.• If a UDP PAD session is active the broadcast and multicast messages will be interspersedwith the application data packets and must be separated by the application.• In the case of SLIP, the disposition of the broadcast and multicast messages is a function ofthe support provided by the software stack and end-user applications (one must be UDP)operating on the Mobile Application Subsystem (MAS).  If a UDP session is not active, themessages will be lost.7.6.3.1. BroadcastThe Broadcast function is used on a geographic coverage basis.  To support this function theMDIS is set up with a Broadcast NEI that includes a list of the Mobile Data Base Stations(MDBSs) in the desired broadcast area in its definition.  There can be multiple broadcast areaswithin the coverage area of a single MDIS.  A message is transmitted to a Broadcast NEI at theMDIS that replicates the message, puts a special broadcast header on it, and sends it to the cellsindicated by the broadcast list.For most applications broadcast is not appropriate, because broadcast messages are sent to all theCDPD modems in the covered geography.  It is more useful to be able to specify that messagesonly go to all, or a subset of the IP Addresses associated with a specific customer; a capabilityoffered by multicast.Broadcast SetupThe SB300 Series modems do not currently support UDP broadcast.7.6.3.2. MulticastMulticast is set up similarly to broadcast, except that the MDIS is set up with a Multicast NEI anda list of the terminals that belong to that specific group rather than a list of cells, as used by thebroadcast function.  The message to be multicast is sent to the Multicast NEI at the MDIS, whichreplicates the message and sends individual messages to the terminals indicated in its multicastgroup list.A terminal can be a member of any number of multicast groups, however it can only be active inone at any given time.  A terminal wishing to receive multicast messages indicates its readiness byregistering a Multicast NEI and by being ready to receive UDP datagrams.  The latter can beaccomplished by having the UDP Server function set to active, or if in SLIP mode, by having aUDP application set to ready.  In all of the preceding cases the MAS is assumed to be ready toprocess any incoming multicast datagrams.
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 48 98.12.10 2110059 Rev B PreliminaryContact the service provider for information on the availability and use of multicast service inyour area.Multicast SetupThe SB300 Series modems do not currently support UDP multicast.7.6.4.  Ending a UDP Session7.7.  Transmission Control Protocol (TCP)Transmission Control Protocol (TCP) is an advanced transmission protocol that adds substantialfunctionality to the underlying Internet Protocol it is built on.  Because of this structure it is oftenreferred to as TCP/IP.  The advantage of TCP is reliability of data transmission; achieved by usingpositive acknowledgements with retransmission if required.  The main disadvantage is theoverhead needed to provide this reliability under various conditions.Unlike UDP, TCP offers both reliable and connected data transmission service.  Lost, delayed,duplicated, or out of sequence packets are detected and automatically corrected.  A logical point-to-point connection is established and maintained throughout the communications session.  Itrequires very little other than session establishment, sending data over the serial port, and sessiontermination to get a basic application operational.The price for this reliability is the number of extra data packets used and the time required toprocess them.  Both need to be considered when selecting an application protocol.7.7.1.  SB300 Series TCP CapabilityThe SB300 Series software stack offers industry standard client-server capability where the clientoriginates communications and the server waits for incoming requests.  In server mode it includesauto answer capability and an optional Friends Only mode.  Friends Only mode restricts thedevices the server can receive calls from to help prevent unauthorized access to applications ordevices.7.7.2.  Friends OnlyFriends Only mode permits communication with the modem to be restricted (for security reasons)to a predefined group of addresses (friends).  Friends Only mode is controlled by <???>, thatenables and disables the comparison of packet source addresses against a list stored in the modem.When the connection is established actively (by an ATD command), incoming packets areaccepted from the destination address specified in the dial command regardless of whether or notit is contained in the friends list.In both modes of operations, the source address (IP Address and port number) of the last acceptedpacket is saved in a temporary variable for use as the current destination address for all packetsbeing sent by the modem during the current session.  This source address information is also savedin register <???> where it can be queried.7.7.3.  Configuring a TCP Session7.7.4.  Using a TCP Session
SB300 Series Modems                                  Preliminary                                         AT Command Reference2110059 Rev B Preliminary 98.12.10 Page 497.7.5.  Ending a TCP Session7.8. Auto-answer7.9. Sleep Mode
2110059 Rev B Preliminary 98.12.10 Page 518.  CSC Mode8.1. Introduction8.2.  Configuring the Modem for CSC8.2.1.  Programming the modem phone numberCall local cellular provider, and ask for an account. Give them your ESN; marked on modem, orelectronically queriable. Make sure carrier gives you - 10-digit NAM (area code plus phonenumber), Home System ID, side (A or B).Enter the NAM - Watcher or AT command (eg. AT+WPNAM=5553331212, 16200, 0)8.2.2.  Confirm that modem is registered with cellular carrierMake sure you are in cellular mode - Watcher or AT+WS46Make a phone call to a phone number and check that it rings8.3.  Make a modem callConfigure for 4800bps (Aircard AT&F0S37=7), others AT&F1Make a modem call to a local landline modem (preferably with ETC).Then tweak the data rate depending on your application - see next sections8.4.  Optimizing Data Performance (for experienced user’s)Determine what your needs are:Data transfers over 50K, configure for Best Performance. Note that it is necessary to have acellularly aware modem (or modem pool) at the far end of the connection.8.4.1.  CSC ConfigurationAll Sierra Wireless modems can be configured for excellent cellular performance.  The AT&TParadyne Comsphere product line is recommended as the landline side.  Alternatively cellularmodem pools are sometimes supplied by the cellular service provider.  These are normally goodfor performance, although they too need to be properly configured by the cellular carrier tooptimize the performance.Even with optimal configuration, modems will have a tendency to attempt to communicate at adata rate that is faster than optimal.  For this reason it is recommended that register S37 (DesiredDCE Speed) be used to limit the maximum data communications rate.  This register can be set aspart of the initialization string eg. ATS37=7Based on field experience, the following limits are recommeneded:
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 52 98.12.10 2110059 Rev B Preliminary• V.32bis talking to cellularly aware landline modem – 9600 bps (S37=9)• V.32bis talking to standard wireline modem – 4800 bps (S37=7)• V.34 talking to cellularly aware modem – 12000 bps (S37=10)• V.34 talking to standard wireline modem – 9600 bps. (S37=9)If only a small amount of data is being transferred, it is recommended that a data rate of 4800bps(S37=7) is used.  This will give optimal performance and coverage area.  Error Correction shouldalways be enabled.  Flow control should be used (hardware recommended).For situations where even 4800 bps does not hold a connection, the last suggestion is to try a datalink at 1200 bps (s37=5).8.4.1.1.  Enhanced Throughput Cellular (ETC)Enhanced Throughput Cellular (ETC) is a ‘protocol’ designed to optimize cellular datacommunications.  It is described in the Appendix.• Small frame size \A4,• Do not allow non error-corrected link \N4,• Wait for carrier 90 seconds S7=90• Lost carrier hang-up set to 10 seconds, S10=100Use of small frame size does reduce throughput by 10%, but gives a more robust connection.The policy of ‘start slow and train up’ guarantees that the initial negotiation phase has morechance of success.  Start-up speeds of 4800 bps and 9600 bps may be used.  In addition if aconnection has not been established after 60 seconds, the modems will fall back to 1200 bps.Even with all this it is best to limit the maximum speed using register S37.8.4.2.  Landline SideRecommended modem and settings.If you do not have optimal modem. - limit to 4800bps. If you do not have much data to send, limitspeed to 4800bps.8.4.3. SB220Speed optimization use AT&&R4A and AT&&R4C to check out the levels. Then use filetransfers to check performance. mention S92, S91, S37.Most robust AT&F1Best Performance AT&F5 starts at 9600bps, max 9600bps.  possibly use s37=10 (12000bps)Settings may be saved such that they are restored on every power up (or ATZ command) bywriting them to NOVRAM using AT&W.8.4.4. Test set-upAT&T Paradyne Comsphere V.32bis, AT&F6&I16 using test script from SWI.8.4.4.1.  Test Case 1A-side, B-side
SB300 Series Modems                                  Preliminary                                         AT Command Reference2110059 Rev B Preliminary 98.12.10 Page 538.4.4.2.  Test Case 2Test Setup and DesignThe data was collected using a ProComm for Windows script that repeatedly calls a BBS host,logs on, and alternatively uploads or downloads a 10K zip file, then logs off. The two units undertest were running at the same time, calling two AT&T Comsphere modems connected to laptopsrunning PCPLUS for DOS in host mode. The position of the two units under test was swappedabout every ten calls. The hosts being called was swapped after 80 calls (the trend was the sameon the last 50 calls). Both had their display and antenna vertical. Both had external vehiclechargers connected.  I drove in and out of coverage, trying to linger near the fringe, but withinsome level of coverage (RSSI< -95dB and  > -105dB). Zero busy signals were detected by thescript/modems as the cause of connection failure, so it appears the network was lightly loaded.The SB220 modem init. string was AT!ACM0&F5M3&W+FCLASS=0, at 38,400Baud, N,8,1and then an ATZ was sent by the script before each call. Both host modems were initialized withAT&F6&I16S0=1 at 9600, N,8,1. 9600 was used  to avoid what appeared to be flow controlproblems when talking to the Comsphere modem at higher speeds. By default, the maximumSierra cellular data rate is 9600. The weather was and clear 70+ degrees.Data was collected from about 11:00 AM to 5:30 PM.Field Test ResultsRF Transaction Reliability (file transferred and log off complete):  Unit 1 => 108 out of 130 calls completed => 83% success rate  Unit 2 =>   95 out of 130 calls completed   => 73% success rateAverage File Transfer Time for 10K Zip file:  Unit 1 => 40.5 seconds                                .  Unit 2 => 43.0 secondsThe file transfer times were usually longer for downloads then they were for uploads. The fastesttransfer times were 16 seconds for uploads and 18 seconds for downloads. There appears to beabout 6 seconds of overhead in that transfer time. The average transfer times from the field testingwas over two times this potential performance. The cellular connection baud rate was 9600 inabout 2 out of 3 of the successful calls, the rest were all at 4800, except for only one 1200 baudconnection that went to completion.8.4.4.3.  Test Case 3A/B side comparisonCHR-I-A A 18 20 0.90 59 66 145CON-I-A A 18 20 0.90 60 72 130GES-I-A A 19 20 0.95 67 99 180Sum/Average A 55 60 0.92 62CHR-I-B B 15 20 0.75 54 88 200CON-I-B B 18 20 0.90 66 89 200GES-I-B B 9 16 0.56 65 98 250Sum/Average 42 56 0.75 62Lunch time calls vs similar off lunch callsBer-E-C 5 10 0.50 55 73 400BER-RSMBigS-C 9 18 0.50 263 74 100
OEM Developer’s Toolkit                        Proprietary and Confidential                                        User’s GuidePage 54 98.12.10 2110059 Rev B PreliminaryBER-SLCBigS-C 2 8 0.25 264 85 15016 36 0.42 194 77 216.67SAB-E-C 7 9 0.78 69 86 360CAR-RSMBigS-C 15 18 0.83 289 88 150CAR-SLCBigS-C 8 11 0.73 254 81 10030 38 0.79 204 85 203.338.5. Modem Pools
2110059 Rev B Preliminary 98.12.10 Page 559. Wireline Operation9.1. IntroductionWireline mode is that most commonly associated with computer communications: the modem isconnected via a telephone line.  Only the SB320 supports this mode.9.1.1. HardwareTo connect the SB320 to a telephone line <???>.For testing purposes, the MIB supports connection of the SB320 to a telephone line with an RJ-11connector (PSTN).NOTE: The telephone connection must be to a standard analogue telephone line.  Locations whichhave an internal PBX telephone system may use digital telephone lines internally.  <???>9.2.  Configuring with Watcher9.3.  Internet, TCP, UDP connections
2110059 Rev B Preliminary 98.12.10 Page 5710. Troubleshooting10.1. IntroductionSome solutions to common problems are described here.  They are grouped along the lines of thefour operations chapters.  General problems communicating with the modem in the first sectionand issues which are specific to particular modes in subsequent sections.If you cannot resolve a problem after reading this chapter, please contact the Sierra Wireless helpdesk at (604) 231-1128 (between 06:00 and 17:00 Pacific Time) or e-mail us atsupport@SierraWireless.com10.2. General Modem ProblemsThe SB300 Series modems are thoroughly inspected during manufacture.  There are no end-useraccess items within the case or on the circuit boards of the modem.  If problems occur, check thefollowing:Problem Description SuggestionsWirelessExpert fails to setupWindows Dial-upNetworking ConnectionWatcher fails to locate themodem.Use the Windows Start > Settings > Control Panel > Modems toinstall the Sierra Wireless modem.Modem fails whentransmitting.The LED indicator(SB300/320) does not light.Check that the power source has adequate voltage and current.  Themodem requires regulated 5 Vdc at 850 mA.  If the power is marginal itcan be the problem.  The SB300 Series modems draw up to 850 mAunder maximum power output.  The power output is a function of themodem’s distance from the Mobile Data Base Station.  It is possible forthe modem to work well with a particular power supply in a locationrequiring low power output (low current draw), and yet to fail using thesame power supply in a location requiring a high power output.Check the amperage rating of the power supply to verify that it isadequate for all situations.Check the fuse (if any) in the power source and as a final test use avoltmeter to check for an open cable.10.3. General Communication ProblemsProblem Description SuggestionsFails to respond to ATcommand. Try typing the command ATE1Q0<enter>.  This will enable themodem echo of your keystrokes (in following commands) and disablethe quiet mode (suppression of return codes).Try typing AT&F<enter>.Try resetting the modem.
SB300 Series Modems                                  Preliminary                                         AT Command ReferencePage 58 98.12.10 2110059 Rev B Preliminary10.4. CDPD ProblemsThis table lists problems specifically related to CDPD use.Problem Description SuggestionsFails to lock onto a CDPDchannel.Fails to register on a CDPDchannel.Registers but data transferfails. Check that the host serial cable is properly attached.There may be a flow control problem.10.5. CSC ProblemsThis table lists problems specifically related to CSC use.Problem Description Suggestions10.6. Wireline ProblemsThis table lists problems specifically related to wireline use.Problem Description Suggestions
2110059 Rev B Preliminary 98.12.10 Page 5911.  Appendix A – Wireless Communication11.1. IntroductionThis section provides a primer on the two wireless communication methods (CDPD and CSC).  Itis not intended as a technical reference.11.2. Cellular Digital Packet Data (CDPD)CDPD is a wireless radio frequency (RF) packet switched data communications service whichprovides two-way, 19.2 kbps packet data networking services to mobile hosts.  It is simply awireless extension of traditional networks, providing the user with seamless access to dataapplications on these networks.Instead of using a dedicated cellular channel or telephone line to transmit data, CDPD devices,like the Sierra Wireless modem, are able to send data over cellular voice channels (the airlink)during the time periods when these radio channels are not used for standard cellular voicecommunications.  When a channel becomes overloaded or used by a cellular voice call, the CDPDdevices “hop” to an unused or idle channel.  Since this initial design, many areas now dedicatespecific channels to only CDPD traffic.The cellular radio channel is only used when actual data is being sent or received and not when theuser application is idle.  CDPD provides the following airlink support:• Compression of packet header and information fields transmitted over the wireless channel toreduce the amount of the airlink resource used.• Support of many users on the same cellular RF channel at the same time.• Error correction of data sent over the airlink.• Movement of the user from one cell site to another.• Delivery of properly sequenced data between user applications over the airlink.The CDPD network operates as a collection of CDPD service provider networks, with the serviceprovider networks being operated by cellular carriers who provide services such as:• Data connection to other networks• Application services• Network management• Network security• Accounting and billing11.2.1. SecurityWith data exchanged over a broadcast radio link, security is required to prevent eavesdropping.Airlink security is automatically provided by encrypting the data packets between the SB300Series modem and the service provider’s Mobile Data Intermediate System (where the radio signalis routed to a wireline public or private data network).  If end-to-end data security is desired itmust be implemented or otherwise provided by the end-user.11.2.2. ArchitectureThe major cellular carriers and equipment manufacturers created a trade group called the WirelessData Forum (formerly the CDPD Forum), that develops and publishes the governing technicalspecifications for, and promotes the use of CDPD technology.The CDPD network provides a Connectionless Network Service (CLNS), one in which thenetwork routes each packet individually within the network based on the destination addresscarried in the packet and knowledge of the current network topology.  It is often referred to as a
SB300 Series Modems                                  Preliminary                                         AT Command ReferencePage 60 98.12.10 2110059 Rev B Preliminarydatagram service.  From the user’s point of view, only the destination address is known, since theCDPD network manages the packet routing required to reach the destination.11.2.3. Modem Registration11.2.3.1.  The Network Entity Identifier (NEI)Each user on the CDPD network is identified by a distinct Network Entity Identifier (NEI) whichis used by the CDPD network to route messages to the user.  This is like an account on thenetwork.Each NEI has a single home subdomain, where it is normally expected to be located within thenetwork.  For example, a user’s home may be Las Vegas.  Each modem may support more thanone NEI, each of which has a home subdomain which may or may not be the same.For example, you may wish to have three NEIs for the same modem; with these NEIs havinghome subdomains in Las Vegas, New York, and Dallas (cities to which you travel regularly).  Youmay want to use the NEI corresponding to the city you are currently in.  Alternatively, you maywant to support two separate NEIs which have the same subdomain, such as one for business useand the other for personal use.You may travel from a subdomain registered as the home area to a new serving area.  The mobilitymanagement functions provided within the CDPD network handles the routing of packets forvisiting modems in a manner which is transparent to you.  If you have pre-arranged with yourservice provider, you may obtain service in a serving area supported by another service provider.The NEI used in the Sierra Wireless modem is the address assigned to the subscriber by the CDPDnetwork service provider.  IP Addresses are 32-bit numbers that uniquely identify a given machine(or end system) running the TCP/IP protocol suite.  You need to have a unique address before youcan link in with the rest of the networked world.The NEI for the Sierra Wireless modem may be installed using the WirelessExpert applicationprovided with the modem.  Up to four unique NEIs can be supported in the Sierra Wirelessmodem.  The CDPD service provider will have a unique Service Provider Network Identifier(SPNI).  The CDPD service provider must supply the SPNI in numeric format to the CDPDsubscriber for entry into the WirelessExpert application.11.2.3.2.  Equipment Identifier (EID)One parameter that the CDPD service providers require from the CDPD subscriber registeringtheir modem is the Equipment Identifier (EID).  The EID is unique to each modem.  Essentially, itrepresents a unique electronic serial number for the subscriber device.  No two devices in CDPDcan have the same EID.The format used in representing this 48-bit EID is hex bytes separated by hyphens (e.g., 00-A0-D5-00-00-7B).  This is programmed into each Sierra Wireless modem at the factory, and thesubscriber can view the EID at any time using the Watcher or WirelessExpert applicationssupplied with the modem, or the AT command AT+WPEID.When a user initially signs up for service with a CDPD service provider, they will be required toprovide the service provider with the EID.  This EID then becomes part of the CDPD SubscriberDirectory Profile maintained for each subscriber on that CDPD network by the CDPD serviceprovider.11.2.3.3. AuthenticationEach NEI (network account) is mated to an EID (modem device).  One NEI cannot be used withdifferent devices (EIDs).  One device (EID) can have more than one associated NEI (account).One of the functions performed by the CDPD network is NEI authentication and verification.This service provides corroboration to ensure that the source of the data received from a user is asclaimed and not from a cloned CDPD subscriber device.  In other words, only the authorized
SB300 Series Modems                                  Preliminary                                         AT Command Reference2110059 Rev B Preliminary 98.12.10 Page 61owner of the NEI (the modem) is using the NEI.  As a result of this authentication procedure,once a user has registered an NEI and an modem, they cannot use that NEI for datacommunication over the CDPD network on a new or different modem.11.2.4. CDPD Radio CoverageThe subscriber should obtain information from the service provider about what CDPD servicecoverage is available in the required areas.In most cases, the subscriber will not be aware of the quality of service provided over the CDPDairlink.  Watcher does provide a feature which gives the user an indication of the airlink quality fortheir Sierra Wireless modem.  This quality metric is based on the strength of the signal that isbeing received by the modem.Received Signal Strength Indication (RSSI) is a measure of the strength of the RF signal receivedby the modem.  It is expressed either by an analog thermometer or a logarithmic scale, in decibelsrelative to one milliWatt (dBm).  A strong signal level has a less negative number (i.e., -50 dBm)and a weak signal level has a more negative number (i.e., -100 dBm).The CDPD service provider attempts to ensure that the signal level is fairly strong throughout thecoverage area (i.e., -80 dBm or stronger), but due to shielding of the signal by man-madestructures, the signal may be less than this desired value.Examples of locations where a signal could be weaker than desired is in underground parkinggarages, tunnels, buildings with all metal construction, old concrete buildings with large amountsof steel reinforcing bars, etc.  In such cases, the CDPD subscriber may be able to get a strongersignal by locating the antenna near an opening or window.  The effect of this repositioning on theRSSI can be observed in the signal strength window of the Watcher application.11.3. Circuit Switched Cellular (CSC)The SB320 modem provides Circuit Switched Cellular mode.  This is a wireless mode ofcommunication in which the data link connection between the user modem and the remote modemis made over the circuit switched voice cellular network.  This voice cellular network is based onthe Advanced Mobile Phone Service (AMPS).Data and Fax communications are carried on over this link as if a standard landline telephoneconnection is being used.  Circuit Switched Cellular is perhaps the most familiar form of wirelessdata and voice communications.  This mode works like normal wireline communication exceptthat the modem link is over a cellular phone call rather than a landline phone call.  Like cellularphones, cellular modems have their own telephone number and require a dedicated channel for theduration of the call.11.3.1. Modem Registration11.3.1.1.  Cellular Phone NumberUsing the modem over the cellular network requires that the modem be assigned a NumberAssignment Module (NAM).  This is essentially the phone number associated with your modem.This is assigned to you when you register your modem with a cellular carrier.  The cellular carrierrequires the unique Electronic Serial Number (ESN) which is assigned to your modem at thefactory.The unit is capable of retaining two NAMs, with each NAM being assignable to any cellularservice provider.As with your credit card number, bank machine number, or any other private password, youshould safeguard the NAM and keep it private.
SB300 Series Modems                                  Preliminary                                         AT Command ReferencePage 62 98.12.10 2110059 Rev B PreliminaryCalls made with the Sierra Wireless modem using CSC mode are not possible until the NAM hasbeen programmed.  The NAM data consists of the cellular phone number as well as othersubscriber and cellular service provider information.11.3.1.2.  Electronic Serial Number (ESN)The Sierra Wireless modem stores the ESN internally.  You can display it through the Watcherapplication by choosing Help > About from the main menu when the modem is operating inCircuit Switched Cellular mode.  You can also display the ESN by using the AT+WPEIDcommand.  The ESN is displayed in text form for both NAMs.11.3.2. CSC Radio CoverageBecause the cellular radio channel is an inherently noisy channel (unlike the public switchedtelephone network), the remote modem to which the Sierra Wireless modem places a call shouldas a minimum, support the V.42 error correction standard.  This will correct the errors in datatransmission that occur over the radio channel.These errors result from various forms of electrical interference, noise generated by other cellularsubscribers (especially during peak usage periods), and the user being located in areas of poorcellular coverage such as remote locations or inside buildings.  The use of any cellular deviceinside a building suffers from varying degrees of signal loss due to losses in the building walls andoffice materials inside the building. Better signals can be achieved by locating the modem near awindow or other opening and by ensuring that the modem antenna is deployed in the verticalposition.Within any cellular network, there will be regions of poor signal coverage.  In these areas, noisewill affect communications.  In addition, an effect known as co-channel interference can be heardon the cellular channel.  This is interference from a cellular phone in a different cell.  These effectswill sporadically limit the communications link, leading to momentary loss of data, or a droppedcall.11.3.3.  Enhanced Throughput Cellular (ETC)Enhanced Throughput Cellular (ETC) is a ‘protocol’ designed to optimize cellular datacommunications.  It uses a number of techniques to improve the robustness of the data link.Although it is preferred that both sides of the modem link support ETC, one of the attributes is thateven if only one side supports ETC significant benefits will be gained.ETC is built around the LAPM error correction protocol, and includes the following specificsettings to improve immunity to the co-channel interference effects mentioned earlier.• Small frame size• Do not allow non error-corrected links,• Wait for carrier 90 seconds• Lost carrier hang-up set to 10 secondsUse of small frame size does reduce throughput by 10%, but gives a more robust connection.The policy of ‘start slow and train up’ guarantees that the initial negotiation phase has morechance of success.  Start-up speeds of 4800 bps and 9600 bps may be used.  In addition if aconnection has not been established after 60 seconds, the modems will fall back to 1200 bps.Noise effects due to voice processing are overcome either by reducing the ‘baseband transmitlevel’, or by a technique licensed by Celeritas known as ‘Tx-Cel’.  This technique is typicallyincluded with modems that support ETC.Even with all this it is best to limit the maximum DCE speed.
SB300 Series Modems                                  Preliminary                                         AT Command Reference2110059 Rev B Preliminary 98.12.10 Page 6311.3.4. Modem PoolsModem pools were developed to overcome the need to have a ‘cellularly aware’ modem at thelandline side of a cellular data link.  The end to end link actually consists of two back to backmodem connections.  The cellular modem initiates a connection with the cell-side modem, whileat the same time the land-side modem initiates a connection with the landline modem.  The twomodems within the modem pool pass data between themselves using a buffered digital link.  Thecell-side modem typically supports the necessary features to ensure a robust modem link.To use a modem pool for a call, involves prefixing the called phone number with *DATA(*3282).There are a few disadvantages to this configuration:• Call initiation time is long, and there can be long delays in end to end character echo.• Calls to mobile modems cannot be made through a modem pool.• Configuration is unique from base-station to base-station, it is not always optimized.

Navigation menu