U.S. Wireless Data USWD500 User manual

USWD500
CDPD Modem
User’s Manual
For CDPD Version 1.1 with UDP/TCP Protocol
Version 3.01
February 5, 1999

FCC Information
The Federal Communication Commission Radio Frequency Interference Statement
includes the following paragraph:
This equipment has been tested and found to comply with the limits for a Class B Digital
Device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference in a residential installation. This equipment
generates, uses and radiates radio frequency energy and, if not installed and used in
accordance with the instructions, may cause harmful interference to radio communication.
However, there is no guarantee that interference will not occur in a particular installation. If this
equipment does cause harmful interference to radio or television reception, which can be
determined by turning the equipment off and on, the user is encouraged to try to correct the
interference by one or more of the following measures:
•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 the
receiver is connected.
•Consult the dealer or an experienced radio / TV technician for help.
The user should not modify or change this equipment without written approval from
U.S. Wireless Data. Modification could void authority to use this equipment.
WARNING LABEL
This label will be placed on the final product, clearly visible to all persons exposed to the
transmitter. The specific location on the final product will be consistent with each same
final product, but will vary in location across various final products, and in any case will
always be clearly visible to all persons exposed to the transmitter. The physical size of
the label and font size of the lettering will be dependent on the size of the final product,
but in any case will always be clearly visible to all persons exposed to the transmitter.
WARNING LABEL EXAMPLE
While this device is in operation, a separation distance of at least
20 centimeters must be maintained between radiating antennas
and the body of the user or nearby persons in order to meet the
F
CC
RF
e
x
posu
r
e
gu
i
de
lin
es
.

Copyright
Copyright © 1999 U.S. Wireless Data, Inc., all rights reserved. No part of this publication
may be reproduced, adapted, stored in a retrieval system, translated into any language, or
transmitted in any form or by any means without the written permission of U.S. Wireless
Data, Inc.
Trademarks
USWD500 is a trademark of U.S. Wireless Data, Inc.
Limited Warranty
In no event will U.S. Wireless Data, Inc. be liable for any damage, including loss of data or
profits, cost of cover, or other incidental, consequential or indirect damages arising from
the installation, maintenance, use, performance, failure, or interruption of USWD’s
products, for whatever cause and on any theory of liability. This limitation will apply even
if U.S. Wireless Data has been advised of the possibility of such damage.
Technical Support
U.S. Wireless Data, Inc.
Address: 2200 Powell Street, Emeryville, CA 94608-1809
Telephone: (510) 596-2025
Fax: (510) 596-2029
E-mail: david_b@uswdata.com
nadine_h@uswdata.com
aaron_d@pcisys.com
Web Site: http://www.uswdata.com
About This Manual
The USWD500 User’s Manual was first published by U.S. Wireless Data, Inc., in 1997.
This revision is for the USWD500 for CDPD Version 1.1 with UDP/TCP Protocol, issued in
July 1998. This manual provides information for setting up, maintaining, and
troubleshooting the USWD500 CDPD Modem.

USWD500 User’s Manual 0
CONTENTS
Chapter 1 Introduction................................................................................................ 3
Who Should Read this Manual .......................................................................................... 3
Purpose of this Manual ...................................................................................................... 3
General Description and Features .................................................................................... 3
USWD500 Product Package and Services........................................................................ 4
Product Package.................................................................................................................................4
Services ..............................................................................................................................................4
How to Use this Manual ..................................................................................................... 4
Chapter 2 Product Specifications.............................................................................. 5
Hardware Specifications.................................................................................................... 5
General Specifications....................................................................................................... 5
Receiver Specifications ..................................................................................................... 6
Transmitter Specifications................................................................................................. 7
I/O Pin Assignments (FFC Connector).............................................................................. 8
Mechanical Specifications ................................................................................................. 9
Mechanical Size.................................................................................................................. 9
MMCX RF Connector........................................................................................................ 10
FFC 30-pin connector (ZIF) ...............................................................................................11
Chapter 3 Installation and Setup ............................................................................. 12
Initial Setup....................................................................................................................... 12
Verifying the USWD500 Working Status ......................................................................... 12
Connecting to the CDPD Network ................................................................................... 15
Problem Solving Table..................................................................................................................20
General Parameters Setup............................................................................................... 20
IP Address Setup ..............................................................................................................................20
Side Preference Setup......................................................................................................................21
Selecting the Channel Scan Mode ...................................................................................................22
Advanced Parameters Setup ........................................................................................... 23
Serial Port Parameter Setup (Optional) ............................................................................................23
UDP Parameters Setup ....................................................................................................................25
SPI/SPNI/WASI Parameters .............................................................................................................25
S-Registers .......................................................................................................................................26
Sleep Mode Parameters ...................................................................................................................26
Useful Commands............................................................................................................ 26
Quick Connection to the CDPD Network..........................................................................................26
Get Status Command .......................................................................................................................27

USWD500 User’s Manual Version 3.0 - 1 -
ON-LINE/OFF-LINE Mode................................................................................................................28
Using the USWD500 Modem with a Terminal Emulation Program ................................ 28
UDP Concept ....................................................................................................................................28
Data Transmitting and Receiving Under UDP Protocol....................................................................29
When Will the USWD500 Modem Send Out Queued Data?............................................................29
Buffer full.......................................................................................................................................29
S50 Time Out (Data Forwarding Idle Time Out)...........................................................................29
Receive a data forwarding character............................................................................................30
Broadcast and Multicast .................................................................................................. 30
Broadcast..........................................................................................................................................30
Multicast............................................................................................................................................30
Chapter 4 Integration Considerations ..................................................................... 32
Determining End Product Use......................................................................................... 32
Amount and Frequency of Messages Sent/Received .................................................... 32
Hardware Design Considerations ................................................................................... 32
Power Supply Considerations......................................................................................... 33
Identifying the Source Antenna....................................................................................... 33
Setting Up a Development Test Environment................................................................. 33
Developing Software Applications.................................................................................. 33
Performing EMI Testing.................................................................................................... 33
Obtaining Regulatory Approval....................................................................................... 34
Final Assembly Testing.................................................................................................... 34
Installation and Field Testing........................................................................................... 34
Chapter 5 Application Development........................................................................ 35
Scope of Application........................................................................................................ 35
Public Service (Police, Fire, Security)...............................................................................................35
Telemetry ..........................................................................................................................................35
Point of Sale......................................................................................................................................35
Transportation...................................................................................................................................35
On-Line, Point-to-Point Communications .........................................................................................35
Example: Credit Card Verification with the USWD500 Modem...................................... 36
FUNCTION ...................................................................................................................................39
COMMAND...................................................................................................................................39
RESPONSE..................................................................................................................................39
Appendix A AT Command List .................................................................................... 43
AT!A ..............................................................................................................................................46
AT!A0 ............................................................................................................................................46
AT!D..............................................................................................................................................47
AT! Ixxx.xxx.xxx.xxx/ password .....................................................................................................47
AT!I? .............................................................................................................................................47
AT!M .............................................................................................................................................47
AT!M? ...........................................................................................................................................47
AT!R..............................................................................................................................................47
AT!S ..............................................................................................................................................47

USWD500 User’s Manual Version 3.0 - 2 -
AT!S1 ............................................................................................................................................47
AT!T ..............................................................................................................................................47
AT!T0 ............................................................................................................................................47
AT!U..............................................................................................................................................47
AT!U0............................................................................................................................................47
Appendix B S Registers............................................................................................... 49
S-Register Definitions ...................................................................................................... 50
Appendix C USWD500 Response Messages ............................................................. 52
Index............................................................................................................................ 53

USWD500 User’s Manual Version 3.0 - 3 -
Chapter 1 Introduction
Who Should Read this Manual
This manual is designed to assist the application software developer with
installation, testing, and preparing software interfaces for the USWD500 CDPD
Modem. It assumes that the reader has a basic working knowledge of UDP/IP and
the use of the AT Command set.
Purpose of this Manual
The purpose of this manual is to help OEM integrators to successfully reach the
goal of producing a wireless product integrating the USWD500 CDPD Modem. In
this manual, we offer specific technical details, relevant examples, general
principles, and guidelines in an effort to bridge the gap between the various
engineering and business disciplines. Our guiding philosophy is that providing a
top-down, progressive disclosure of information is the best approach to forming a
common understanding of any problems and their appropriate solutions.
General Description and Features
The USWD500 CDPD Modem is the network component by which CDPD network
subscribers gain access to the CDPD network. Support services provided by the
USWD500 include transmission and reception of data across the airlink on a full-
duplex basis, medium access control to the airlink, mobile data link procedures,
subnetwork convergence features, and end-to-end delivery of network-level
packets that are either based on UDP/IP or TCP/IP.
General Features:
¾Compact and lightweight (78.9X48.8X9.8mm and 1.6oz.)
¾Antenna connector (MMCX Type) supports straight or right angle cable plug
¾0.6 WATT transmit power
¾RF protocol: CDPD Specification V1.1
¾30 pin FFC connector interface (.5mm between pins)
¾TX: 824.01MHz~848.97MHz
¾RX: 869.01MHz~893.97MHz
¾30KHz channel spacing

USWD500 User’s Manual Version 3.0 - 4 -
USWD500 Product Package and Services
Product Package
Your USWD500 package contains the following items. Check to make certain all
items are included:
•One USWD500 CDPD Modem
•One USWD500 CDPD Modem User’s Manual
Services
•USWD500 CDPD Modem technical training
•On-site consulting
How to Use this Manual
This manual provides information and assistance for both physical installation and
programming of the USWD500 CDPD Modem.
Chapter 1: Introduction Describes the basic concept of the USWD500
CDPD Modem, the general audience for this
manual, and how this manual should be used.
Chapter 2: Product
Specifications
Provides the hardware specifications, I/O pin
assignments, and mechanical specifications of
the USWD500 CDPD Modem.
Chapter 3: Installation and
Setup
Illustrates the basic information needed to install,
set up, and test the USWD500 CDPD Modem on
the CDPD network.
Chapter 4: Integrating
Considerations
Discusses important issues integrators need for
integration of the USWD500 Modem with their
device.
Chapter 5: Application
Development
Provides additional information for planning and
designing CDPD applications in either the UDP or
SLIP environments.

USWD500 User’s Manual Version 3.0 - 5 -
Chapter 2 Product Specifications
This chapter provides hardware specifications, I/O pin assignments, and mechanical
specifications for the USWD500 CDPD Modem.
Hardware Specifications
This section includes general product specifications for the USWD500 CDPD
Modem, as well as specifications for the receiver and transmitter.
General Specifications
The following table summarizes the general specifications of the USWD500 CDPD
Modem.
Current dissipation RF Part 750mA(Max.)
Digital Part 160mA(Max.)
Power supply DC 5.5V±0.5V
Antenna connector MMCX 50ohm socket
Power/Serial interface connector FFC
Temperature 0 to +45 degrees centigrade

USWD500 User’s Manual Version 3.0 - 6 -
Receiver Specifications
The following table summarizes the receiver specifications of small form factor as
per the FCC Part 409 “Minimum Performance Standards for CDPD Mobile End
Systems” for the United States. All performance standards for CDPD Mobile End
Systems outside the United States also apply.
RF sensitivity -111 dBm@BLER<0.05
RF sensitivity w/ Rayleigh fading -98 dBm, 8km/hr
-100 dBm, 50km/hr
-100 dBm, 100km/hr
Co-channel interference in Rayleigh fading & delay 17dB, 8s
RX adjacent/alternate channel selectivity 16dB @ 30 kHz
60dB @ 60 kHz
RX intermodulation 57 dB
RSSI ±6 dB absolute
±3 dB relative
Radiated & conducted spurious FCC Part15 Specification
for the United States
Forward channel busy/idle flag & decode status flag
decode Failure< .001

USWD500 User’s Manual Version 3.0 - 7 -
Transmitter Specifications
The following table summarizes the small form factor transmitter specifications as
per the FCC Part 409 “Minimum Performance Standards for CDPD Mobile End
Systems” for the United States. All performance standards for CDPD Mobile End
Systems outside the United States also apply.
TX frequency stability ±2.5 ppm
TX phase noise -55 dBc @ 1 kHz
-75 dBc @ 10 kHz
Emissions spectrum ±30 kHz, -26 dBc
±60 kHz, -45 dBc
±90 kHz, -60 dBc
TX channel switching time <40 ms within 2 kHz
TX power control/stability 6 different levels +2/-4 dB
+28 dBm, +24 dBm
+20 dBm, +16 dBm
+12 dBm, +8 dBm
TX on/off & off/on 2ms
Modulation requirements Mod. Index=.5±5%
19.2 kbps±50 ppm
Radiated and conducted emissions FCC Part 22 Specification compliant

USWD500 User’s Manual Version 3.0 - 8 -
I/O Pin Assignments (FFC Connector)
The following table provides a list of the pin assignments and descriptions for the
USWD500 CDPD Modem. (NC = no connection)
Pin Si
g
nal name T
yp
e Descri
p
tion
1 DCD Out
p
ut Network Connected
(
active low
)
2 TXD Out
p
ut Out
p
ut Data From The Modem
3 RXD In
p
ut In
p
ut Data To The Modem
4 DTR In
p
ut Host Read
y
Si
g
nal
(
active low
)
5 GND Ground Si
g
nal Ground
6 DSR Out
p
ut Modem Read
y
Si
g
nal
(
active low
)
7 RTS In
p
ut Host Out
p
ut Si
g
nal
(
active low
)
8 CTS Out
p
ut Modem Out
p
ut Si
g
nal
(
active low
)
9 RI Out
p
ut Pulses For A Modem event
(
active low
)
10 RESET In
p
ut Modem Reset
(
active low
)
11 NC
12 NC
13 VCC Power DC 5.5V±.5V, 800mA
14 VCC Power DC 5.5V±.5V, 800mA
15 VCC Power DC 5.5V±.5V, 800mA
16 VCC Power DC 5.5V±.5V, 800mA
17 NC
18 NC
19 NC
20 NC
21 NC
22 PWR Power DC 5.5V±.5V, 800mA
23 PWR Power DC 5.5V±.5V, 800mA
24 PWR Power DC 5.5V±.5V, 800mA
25 PWR Power DC 5.5V±.5V, 800mA
26 NC

USWD500 User’s Manual Version 3.0 - 9 -
Pin Si
g
nal name T
yp
e Descri
p
tion
27 GND Power Power Ground
28 GND Power Power Ground
29 GND Power Power Ground
30 GND Power Power Ground
Mechanical Specifications
This section contains the size specifications for the USWD500 CDPD Modem and
the specifications for the MMCX RF connector and the FFC 30-pin connector.
Mechanical Size
The mechanical size of the USWD500 CDPD Modem is shown in Figure 2-1.
Figure 2-1 Mechanical size of the USWD500 (unit = mm)

USWD500 User’s Manual Version 3.0 - 10 -
MMCX RF Connector
The dimensions of the RF connector, a Huber-Suhner (P/N: 82 MMCX-S50-0-2), are
provided in Figure 2-2 (unit = mm).
Figure 2-2 Dimensions of the RF connector
Component materials for the MMCX RF connector are as follows:
•Body: Brass, Gold-plated finish
•Insulator: Teflon
•Female contact: Beryllium copper, Gold-plated finish

USWD500 User’s Manual Version 3.0 - 11 -
FFC 30-pin connector (ZIF)
The FFC 30-pin connector is illustrated in Figure 2-3.
Figure 2-3 FFC 30-pin connector

USWD500 User’s Manual Version 3.0 - 12 -
Chapter 3 Installation and Setup
This chapter provides the basic information needed to install, set up, and test the
USWD500 CDPD Modem on the CDPD network.
Initial Setup
Initial setup for the USWD500 Modem involves checking that your hardware is
connected properly, configuring a software test environment, and testing the link
between the USWD500 Modem and your host PC. The following sections describe
these processes.
Verifying the USWD500 Working Status
The USWD500 CDPD Modem provides two-way wireless packet communications
on the CDPD network for Original Equipment Manufacturers to integrate into a
host device. Before physical integration, a stable communicating status between
the host and the USWD500 Modem must be verified. Also, you might need to
change some of the existing default values of the USWD500 Modem. To this end,
a PC-emulation mode is provided for you to change the existing default values and
test the working status of the USWD500 Modem. With the appropriate interface
cable, you can use a PC or laptop to emulate the host and send AT commands to
the USWD500 Modem.
Before using the USWD500 CDPD Modem to develop applications for a wireless
data communication environment, you need to test the modem using your host
PC. Verify that you have the following items for basic testing:
9USWD500 CDPD Modem
9DC power supply 5.5V±.5V 1Amp
9Cellular antenna for the USWD500 Modem
9Interface cable between the USWD500 Modem and your host. This cable
converts the USWD500 FFC interface into RS-232 or UART for your host.
9USWD500 CDPD Modem User’s Manual (for the AT Command set list and
installation procedures)
After you have gathered these items, use the following procedures for basic
testing:

USWD500 User’s Manual Version 3.0 - 13 -
Step 1 Establish a Hardware Connection
a. Attach the cellular antenna to the USWD500 Modem.
b. Connect the power adapter to the USWD500 Modem.
c. Attach the one end of the interface cable to the USWD500 Modem and attach
the other end of the interface cable to your host.
Step 2 Establish a Software Test Environment
To send AT commands to the USWD500 Modem, find a communications program
which will operate in ASCII terminal emulation mode on your PC. This enables
your PC to function as a terminal attached to the USWD500 Modem and allows
you to enter the AT commands required for modem setup and diagnostics. The
following are sample programs:
a. PROCOMM PLUS Terminal Emulation
b. HYPER WINDOWS TERMINAL in WINDOWS 3.1
c. TERMINAL in WINDOWS 95
d. TELIX or similar alternatives
In the communications program you choose, set the parameters for the interface
cable as follows:
Caution:The above parameters are set for communication between the USWD500
Modem and the host PC. These are the default values for the USWD500
Modem. You must set the same parameters with your communications
program so the host PC can obtain its initial connection to the USWD500
Modem. Setting your host PC’s communications program to half-duplex allows
you to view what you’re typing.
Step 3 Power Up the USWD500 Modem
This procedure ensures the link is functioning properly between the USWD500
Modem and the host PC. Use the following procedure to verify.
a. Run your ASCII terminal emulation program and make sure your PC is
connected to the USWD500 Modem with the appropriate interface cable.
b. Once the software test environment is running, turn on the power supply.
19200 bps, 8 data bits, No parity check and 1 stop bit.

USWD500 User’s Manual Version 3.0 - 14 -
c. If your ASCII terminal emulation program is already running, turn the power
supply off and on again. At this point, you should receive “OK” or “0” from the
USWD500 Modem.
An alternative method for verifying the connection is to enter AT in your
communications program and then press ENTER. If you get an OK response, you
have set up the connection correctly.
The following table shows the various types of responses you can receive:
OK Verbose response
0Terse response
OK
Verbose response with STX ETX LRC framing
0
3Terse response with STX ETX LRC framing
Note that the USWD500 Modem has been optimized for performing electronic
credit card authorizations. Because of this, its modem characteristics may differ
somewhat from a typical Hayes-compatible modem. It can, however, perform just
like a Hayes-compatible modem.
In general, most Hayes-compatible modems use command responses framed in
Carriage Return and Line Feed characters. However, since the USWD500 Modem
is used extensively in the credit card authorization environment, its default
response messages are framed in the STX (start of text), ETX (end of text), LRC
(longitudinal redundancy check) fashion. Its default response is also displayed in
terse, non-verbose, or numeric format. This type of framing and non-verbose
responses are much more compatible with credit card authorization equipment.
If you want to receive normal Hayes-compatible responses from your USWD500
Modem, use the AT!T0 command to shut off framing and the ATV 1 command to
enable verbose responses.
If you continue to receive intermittent responses from the modem’s AT command,
check your power supply regulation. Note that 5.0V DC is the absolute minimum
voltage requirement. If the AT command still doesn’t return a response, you should
contact your USWD500 Modem supplier for technical support.
When initial OK messages are displayed after powering up, or you receive an OK
response after issuing the AT command in your communications program, the
basic functionality of the USWD500 CDPD Modem’s digital circuitry is working
correctly.

USWD500 User’s Manual Version 3.0 - 15 -
Connecting to the CDPD Network
This section provides a quick installation guide to familiarize you with the critical
steps required for successful communication with the CDPD network using a
USWD500 Modem. After you have received the OK message in the previous
section “Verifying the USWD500 Working Status”, proceed with the following
steps.
Step 1 Set the IP Address and Side Preference
Before the USWD500 Modem will operate on the CDPD network, you must specify
an Internet Protocol Address (IP Address) and a side preference (A or B) for your
network carrier. Specific details are provided in "General Parameters Setup” on
Page 20, with the setup procedures described in detail.
These parameters must be set before connecting to the CDPD network. Obtain
these values from your CDPD network carrier or service provider. After you have
determined the appropriate values, refer to "General Parameters Setup” on
Page 20,for setting the parameters.
Step 2 Verify the status of other parameters
AT commands for setting up other parameters are described in more detail in
“Advanced Parameters Setup” on Page 23, which includes setup procedures for
communications port parameters, UDP parameters, SPI/SPNI/WASI parameters,
S-Registers, and Sleep Mode parameters. You can either change these
parameters using AT commands or simply use the factory default settings.
The following table shows the factory default settings for the USWD500 Modem.
Parameter name Command
Side Preference setup AT\N3
Baud Rate 19200 bps
Data Bits Length Fixed (8 bits )
Auto scan enable AT!A1
SLIP disable AT!S0
UDP enable AT!U1
H/W Flow Control AT\Q2
Automatic TX time out enable AT\T1
Local socket port S80=1025
Command mode echo off ATE0
On-line Mode echo off ATF0
Disable Quiet mode ATQ0
Use verbose result code ATV1
DCD follows the state of the “RF In-Range” condition. AT&C0

USWD500 User’s Manual Version 3.0 - 16 -
DTR is ignored AT&D0
DSR is always active AT&S0
Data forwarding characters are included in packets to the
remote data service
AT\F3
Enable data forwarding character recognition AT\M1
Step 3 Determine the scan mode
The Auto Scan Mode scans all channels and selects a channel for connection.
The Manual Set Mode dedicates a specific channel number for connection to the
CDPD network. Choose either Auto Scan Mode or Manual Set Mode using the
AT!A1 or AT !A0 commands respectively.
Find the instructions for determining the scan mode in "
Table of contents