Xstream-Pkg-T™ Telephone RF Modem: Product Manual
Xstream-Pkg-T™ Telephone RF Modem: Product Manual
Xstream-Pkg-T™ Telephone RF Modem: Product Manual
RF Communication Modes
Appendices
Reliable 900 MHz & 2.4 GHz Stand-alone RF Modems by MaxStream, Inc.
[email protected] M100111
www.maxstream.net (live chat support) 2006.02.24
No part of the contents of this manual may be transmitted or
reproduced in any form or by any means without the written
permission of MaxStream, Inc.
XStream™, XStream‐PKG‐R™ and XStream‐PKG‐T™ are
registered trademarks of MaxStream, Inc.
Technical Support:
Phone: (801) 765‐9885
Live Chat: www.maxstream.net
E‐Mail: rf‐[email protected]
© 2006 MaxStream, Inc., Confidential and Proprietary ii
Contents
1. XStream Telephone RF Modem 4 Appendix A: Agency Certifications 38
1.1. Key Features 4 FCC Certification 38
1.1.1. Worldwide Acceptance 4 OEM Labeling Requirements 39
1.2. Product Overview 5 Antenna Usage 40
1.2.1. Specifications 5 FCC-Approved Antennas 41
1.3. External Interface 6 IC (Industry Canada) Certification 42
1.3.1. Front and Back Views 6 Appendix B: Development Guide 43
1.4. Block Diagram 7
Mechanical Drawings 43
1.5. Pin Signals 8
RF Module Configuration 44
1.5.1. RJ-11 Connector Pin Signals 8
X-CTU Software 44
1.5.2. DB-9 Connector Pin Signals 8
RF Module Commands (Long Descriptions) 45
2. RF Module Operation 9
Appendix C: Additional Information 61
2.1. Modes of Operation 9
1-Year Warranty 61
2.1.1. Idle Mode 9
Ordering Information 61
2.1.2. Transmit Mode 10
Contact MaxStream 62
2.1.3. Receive Mode 11
2.1.4. Sleep Mode 12
2.1.5. Command Mode 14
2.2. RF Module Configuration 15
2.2.1. Command Reference Table 15
2.2.2. AT Command Mode 16
2.2.3. Binary Command Mode 18
4. RF Communication Modes 26
4.1. Addressing 27
4.1.1. Address Recognition 27
4.2. Basic Communications 28
4.2.1. Streaming Mode (Default) 28
4.2.2. Repeater Mode 29
4.3. Acknowledged Communications 32
4.3.1. Acknowledged Mode 32
4.3.2. Multi-Streaming Mode 34
© 2006 MaxStream, Inc., Confidential and Proprietary iii
1. XStream Telephone RF Modem
The XStream-PKG-T RF Modem provides long range data communications and advanced
networking for the expanding RFd2d (Radio Frequency Device-to-Device) segment of the wireless
market. Out-of-box, the modem comes configured to sustain long
range wireless communications between devices.
© 2006 MaxStream, Inc., Confidential and Proprietary 4
The XStream-PKG-T RF Modem comes configured to provide an immediate wireless link between
devices; however, both the on-board RF and Telephone Modules can be configured for additional
functionality through the use of a simple AT command interface [Refer to the RF Module
Configuration [p15] & Telephone Module Configuration [p20] sections for programming options].
1.2.1. Specifications
Table 1‐01. Specifications of the XStream‐PKG‐T Telephone RF Modem
Performance
Indoor/Urban Range Up to 1500’ (450 m) Up to 600’ (180 m)
Outdoor Up to 7 miles (11 km) w/ dipole antenna Up to 3 miles (5 km) w/ dipole antenna
RF line-of-sight Range Up to 20 miles (32 km) w/ high-gain antenna Up to 10 miles (16 km) w/ high-gain antenna
Interface Data Rate 1200 - 57600 bps (software selectable) 1200 - 57600 bps (software selectable)
Throughput Data Rate 9,600 bps 19,200 bps 9,600 bps 19,200 bps
RF Data Rate 10,000 bps 20,000 bps 10,000 bps 20,000 bps
Transmit Power Output 100 mW (20 dBm) 100 mW (20 dBm) 50 mW (17 dBm) 50 mW (17 dBm)
Receiver Sensitivity -110 dBm -107 dBm -105 dBm -102 dBm
Power Requirements
Supply Voltage 7-28 VDC (optional jumpers allow the PKG-T to be powered with a 5V supply)
Receive (RX) Current 140 mA 160 mA
Transmit (TX) Current 220 mA 230 mA
General
Frequency 902-928 MHz 2.4000-2.4835 GHz
Spread Spectrum Frequency Hopping, Wide band FM modulator
Network Topology Peer-to-Peer, Point-to-multipoint, Point-to-Point, Multidrop
Channel Capacity 7 hop sequences share 25 frequencies
Physical Properties
Enclosure Extruded aluminum, black anodized
Enclosure Size 2.750” x 6.500” x 1.124” (7.90 cm x 16.51 cm x 3.80 cm)
Operating Temperature 0 to 70º C (commercial), -40 to 85º C (industrial)
Antenna
Type ½ wave dipole whip, 6.75” (17.1 cm), 2.1 dBi Gain
Connector Reverse-polarity SMA (RPSMA)
Impedance 50 ohms unbalanced
Certifications
FCC Part 15.247 OUR9XSTREAM OUR-24XSTREAM
Industry Canada (IC) 4214A-9XSTREAM 4214A 12008
© 2006 MaxStream, Inc., Confidential and Proprietary 5
Figure 1‐02. Front View Standard RJ-11 connector is used to connect to telephone lines. [Pin
descriptions are on page 8]
Figure 1‐03. Back View DIP Switch provides external control of speaker and functions.
Table 1‐02. LED indicators and their meanings
1-03e. I/O & Power LEDs 1-03f. RSSI LEDs 1-03g. (Data Carrier Detect) LED
Used to determine RSSI (Received Signal Strength Indicator)
LED indicators visualize diagnostic status information. and fade margin available in the wireless link:
The RF Modem’s status is represented as follows: Illuminated yellow LED indicates telephone
3 Green LEDs ON = Very Strong (> 30 dB fade margin) connection is established and (Data Carrier
Yellow (top LED) = Serial Data Out (to host) 2 Green LEDs ON = Strong (> 20 dB fade margin) Detect) is asserted.
Green (middle) = Serial Data In (from host) 1 Green LED ON = Moderate (> 10 dB fade margin)
Red (bottom) = Power/TX Indicator 0 Green LED ON = Weak (< 10 dB fade margin) This signal is controlled by the Telephone
(Red light is on when powered, Module.
off briefly during RF transmission) Fade Margin = The difference between the incoming signal
strength and the modem’s receiver sensitivity.
© 2006 MaxStream, Inc., Confidential and Proprietary 6
The PKG-T RF Modem provides a wireless link between devices out-of-box and without
configuration. If more advanced features are needed, the XStream RF Module and Telephone
Module can be configured via the DB-9 connector or a wireless link.
The Data Path Switch is controlled by the and lines of the DB-9 connector. In the PKG-
T’s RF Modem’s default state (when nothing is attached to the DB-9 connector), data is routed
between the RF module and the telephone module. In this case, the Telephone Module
communicates directly with a remote RF Modem and receives commands through a wireless link.
Table 1‐03. Data Path Switch Settings ‐ Signal Routing between RS‐232 DB‐9 connector, RF Module &
Telephone Module (Low‐asserted signals distinguished by horizontal line over pin name.)
Result
+10V +10V DB-9 connects to RF Module for configuration.
+10V -10V DB-9 connects to Telephone Module for configuration.
RF Module and Telephone Module are connected to each other and not
to the DB-9 connector.
-10V (default state) -10V / +10V (default state)
This is the default state of the RF Modem
(when DB-9 is not connected).
Refer to the RF Module Configuration [p15] and Telephone Module Configuration [p20] sections
for more information about configurations of the on-board Telephone and RF Modules.
© 2006 MaxStream, Inc., Confidential and Proprietary 7
Table 1‐04. RJ‐11 Signals and their implementations on the XStream‐PKG‐T RF Modem
Table 1‐05. DB‐9 (RS‐232) Signals and their implementations on the XStream‐PKG‐T RF Modem
(Low‐asserted signals are distinguished by horizontal line over pin name.)
Jumpers
Table 1‐06. Jumpers on the XIB‐T Interface Board
Jumper Description
J3 Connects either or of the Telephone Modem to DI3 (SLEEP) of the on-board RF Module.
Non-populated J1 and J5 jumpers are also available for bypassing the high input voltage
regulators. This would allow the RF modem to be powered with a 5 volt supply. Contact
MaxStream Technical Support for more information.
© 2006 MaxStream, Inc., Confidential and Proprietary 8
2. RF Module Operation
2.1. Modes of Operation
An on-board RF module enables the XStream-PKG-T RF Modem to send and receive data over-
the-air. The RF module operates in five modes.
Figure 2‐01. RF Module’s Modes of Operation
The modem can only be in one mode at a time.
The modem shifts into the other modes of operation under the following conditions:
• Serial data is received in the DI Buffer (Transmit Mode)
• Valid RF data is received through the antenna (Receive Mode)
• Command Mode Sequence is issued (Command Mode)
• Sleep Mode condition is met (Sleep Mode)
After responding to any of the preceding conditions, the modem automatically transitions back
into Idle Mode.
© 2006 MaxStream, Inc., Confidential and Proprietary 9
As the transmitting modem nears the end of the transmission, it inspects the DI buffer to see if
more data exists to be transmitted. This could be the case if more bytes arrived from the host
after the transmission began. If more data is pending, the transmitting modem assembles a
subsequent packet for transmission.
RF Packet
The RF packet is the sequence of data used for communicating information between MaxStream
Modems. An RF Packet consists of an RF Initializer and RF Data.
Figure 2‐03. RF Packet Components
* When streaming multiple RF packets, the RF Initializer is only sent in front of the first packet.
RF Initializer
An RF initializer is sent each time a new connection sequence begins. The RF initializer contains
channel information that notifies receiving modems of information such as the hopping pattern
used by the transmitting modem. The first transmission always sends an RF initializer.
© 2006 MaxStream, Inc., Confidential and Proprietary 10
© 2006 MaxStream, Inc., Confidential and Proprietary 11
Sleep Modes enable the XStream Modem to operate at minimal power consumption when not in
use. Three Sleep Mode options are available:
• Pin Sleep (Host Controlled)
• Serial Port Sleep (Wake on Serial Port activity)
• Cyclic Sleep (Wake on RF activity)
For the modem to transition into Sleep Mode, the modem must have a non-zero SM (Sleep Mode)
Parameter and one of the following must occur:
1. The modem is idle (no data transmission or reception) for a user-defined period of time
[Refer to ST (Time before Sleep) Command].
2. SLEEP pin is asserted (only for Pin Sleep option).
In Sleep Mode, the modem will not transmit or receive data until the modem first transitions to
Idle Mode. All Sleep Modes are enabled and disabled using SM Command. Transitions into and
out of Sleep Modes are triggered by various mechanisms as shown in the table below.
For more information about Sleep Modes, refer to the individual commands listed in “Related
Commands” column of the table. SM Command is the best starting point for implementing sleep
mode configurations.
Pin Sleep requires the least amount of power. In order to achieve this state, Pin 2 (SLEEP) must
be asserted (high). The module remains in Pin Sleep until the Sleep pin is de-asserted.
After enabling Pin Sleep, DI3 controls whether the XStream Module is active or in Sleep Mode.
When DI3 is de-asserted (low), the module is fully operational. When DI3 is asserted (high), the
module transitions to Sleep Mode and remains in its lowest power-consuming state until the
Sleep pin is de-asserted. DI3 is only active if the module is setup to operate in this mode;
otherwise the pin is ignored.
Once in Pin Sleep Mode, DO2 (pin 1, ) is de-asserted (high), indicating that data should not
be sent to the module. Pin 8 (PWR) is also de-asserted (low) when the module is in Pin Sleep
Mode.
Note: The module will complete a transmission or reception before activating Pin Sleep.
Serial Port Sleep is a Sleep Mode in which the XStream Module runs in a low power state until
serial data is detected on the DI pin.
When Serial Port Sleep is enabled, the module goes into Sleep Mode after a user-defined period
of inactivity (no transmitting or receiving of data). This period of time is determined by ST (Time
before Sleep) Command. Once a character is received through the DI pin, the module returns to
Idle Mode and is fully operational.
Cyclic Sleep is the Sleep Mode in which the XStream Module enters into a low-power state and
awakens periodically to determine if any transmissions are being sent.
When Cyclic Sleep settings are enabled, the XStream Module goes into Sleep Mode after a user-
defined period of inactivity (no transmission or reception on the RF channel). The user-defined
period is determined by ST (Time before Sleep) Command.
While the module is in Cyclic Sleep Mode, DO2 ( ) is de-asserted (high) to indicate that data
should not be sent to the module during this time. When the module awakens to listen for data,
DO2 is asserted and any data received on the DI Pin is transmitted. PWR is also de-asserted
(low) when the module is in Cyclic Sleep Mode.
© 2006 MaxStream, Inc., Confidential and Proprietary 12
The module can also be configured to wake from cyclic sleep when DI3 (SLEEP) is de-asserted
(low). To configure a module to operate in this manner, PW (Pin Wake-up) Command must be
issued. Once DI3 is de-asserted, the module is forced into Idle Mode and can begin transmitting
or receiving data. It remains active until no data is detected for the period of time specified by
the ST Command, at which point it resumes its low-power cyclic state.
Note: The cyclic interval time defined by SM (Sleep Mode) Command must be shorter than the interval
time defined by LH (Wake-up Initializer Timer).
For example: If SM=4 (Cyclic 1.0 second sleep), the LH Parameter should equal 0x0B (“1.1” seconds).
With these parameters set, there is no risk of the receiving module being asleep for the duration of
wake-up initializer transmission. “Cyclic Scanning” explains in further detail the relationship between
“Cyclic Sleep” and “Wake-up Initializer Timer”
Cyclic Scanning. Each RF transmission consists of an RF Initializer and payload. The wake-up
initializer contains initialization information and all receiving modules must wake during the
wake-up initializer portion of data transmission in order to be synchronized with the transmitting
module and receive the data.
Figure 2‐06. Correct Configuration (LH > SM):
Length of the wake‐up initializer exceeds the time interval of Cyclic Sleep. The receiver is guaranteed to detect
the wake‐up initializer and receive the accompanying payload data.
Figure 2‐07. Incorrect Configuration (LH < SM):
Length of wake‐up initializer is shorter than the time interval of Cyclic Sleep. This configuration is vulnerable
to the receiver waking and missing the wake‐up initializer (and therefore also the accompanying payload data).
© 2006 MaxStream, Inc., Confidential and Proprietary 13
For information about programming the on-board telephone module, refer to the Telephone
Module Configuration [p20] section.
NOTE: The XStream-PKG-T RF Modem automatically powers up to a Command Mode for the on-
board telephone module, the on-board RF Module does not. To enter RF Module into Command
Mode for the purpose of programming the module, follow the refer to the RF Module Configuration
section [next page].
© 2006 MaxStream, Inc., Confidential and Proprietary 14
© 2006 MaxStream, Inc., Confidential and Proprietary 15
Hardware Setup:
The on-board RF Module is configured through the DB-9 connector of the PKG-T RF Modem. To
configure the on-board RF Module, DIP Switch 2 must be ON (up) and both and
must be asserted (+10V RS-232 logic). Most serial communications software (including
MaxStream’s X-CTU Software) will assert and when the serial com port is opened.
1. Attach an RS-232 cable to the DB-9 connectors of the XStream-PKG-T RF Modem and a PC.
2. Move DIP Switch 2 ( Control) to the ON (up) position.
3. Launch MaxStream’s X-CTU™ Software and select the “PC Settings” Tab.
[Refer to the X-CTU section of Appendix B for information about X-CTU.]
In the ‘Com Port Setup’ section, match the Baud, Parity and Stop Bit settings of the PC com
port with those of the RF Module. [Refer to BD & NB commands.]
Figure 2‐08. Hardware Setup for Configuring the RF Module
Enter the AT Command Mode Sequence using the “Terminal” tab* of the X-CTU Software.
[OR]
Assert (low) the pin and turn the power going to the modem off and back on. This can
be achieved by (i.) simultaneously pressing the Reset and Config switches [Figures 1-03b & 1-
03c], (ii.) releasing the Reset Switch, (iii.) then after 1 sec. releasing the Config Switch. The RF
Module then enters AT Command Mode at the module’s default baud rate.
* The “Modem Configuration” tab can also be used to send AT commands to the RF module.
When using this tab, make sure the settings under the ‘AT Command Setup’ sub-section of the
“PC Settings” tab match the AT Command Mode Sequence parameters stored in the RF Module.
The AT Command Mode Sequence (default parameter values are shown in parenthesis):
• Observe Guard Time Before (ATBT = 0x0A, no characters sent for one second)
• Enter three copies of the Command Sequence Character (ATCC = 0x2D, ASCII “---“)
• Observe Guard Time After (ATAT = 0x0A, no characters sent for one second)
IMPORTANT: The default Command Sequence Character (“-“) is unique to the XStream-PKG-T
Telephone RF Modem. All other MaxStream Radio Modems use the “+” character as their default.
Send AT Commands:
When using the “Terminal” tab of the X-CTU Software, send AT Commands and parameters using
the syntax shown below:
Table 2‐02. Syntax for sending RF Module AT Commands:
To read a parameter value stored in a register, leave the parameter field blank.
The preceding example would change destination address of the RF Module to “1F”. To store the
new value to non-volatile (long-term) memory, the WR (Write) Command must follow.
© 2006 MaxStream, Inc., Confidential and Proprietary 16
Multiple AT Commands. Multiple AT commands can be entered on one line with one carriage
return at the end of the line. Each command must be delimited by a comma (spaces in between
are optional). The “AT” prefix is only sent before the first command and should not be included
with subsequent commands in a line.
AT Command Examples
EXAMPLE #1: Modify DT (Destination Address) parameter using the Terminal tab
The following steps show how to read & modify the destination address of a PKG-T RF modem.
1. Follow the “Hardware Setup” steps outlined on p14; then open the X-CTU program
(Start --> Programs --> MaxStream --> X-CTU).
2. Under the ‘Com Port Setup’ section of the “PC Settings” tab, select the Com Port that will be
used to connect the RF module; then select the ‘Baud’ setting that matches the module’s
baud rate. Use RF Module default values for all other fields.
3. Select the “Terminal” tab; then send the following AT commands:
Method 1 (One line per command)
Issue AT Command System Response
--- OK<CR> (Enters RF module into AT Command Mode)
ATDT <Enter> (reads & displays current destination address)<CR>
ATDT1A0D<Enter> OK<CR> (Changes DT address to 0x1A0d)
ATWR <Enter> OK<CR> (Writes new value to non-volatile memory)
ATCN <Enter> OK<CR> (Exits RF Module from AT Command Mode)
Method 2 (Multiple commands on one line)
Issue AT Command System Response
--- OK<CR> (Enters into AT Command Mode)
ATDT <Enter> (reads & displays current destination address)<CR>
ATDT1A0D, WR, CN <Enter> OK<CR> (Send multiple AT Commands)
The following steps show how to read currently stored RF module parameter values; then restore
the RF module parameters to their factory-default states.
1. Follow the “Hardware Setup” steps outlined on p14; then open the X-CTU program
(Start --> Programs --> MaxStream --> X-CTU).
2. Under the ‘Com Port Setup’ section of the “PC Settings” tab, select the Com Port that will be
used to connect the RF module; then select the ‘Baud’ setting that matches the module’s
baud rate. Use RF Module default values for all other fields.
3. Under the ‘Host Setup’ sub-tab, enter “-“ in the ASCII text box to match the RF module’s
CC (Command Sequence Character) parameter.
4. Select the “Modem Configuration” tab; then select the Read’ button to read currently stored
parameter values of the RF module.
5. Select the ‘Load’ button, then navigate to and open the appropriate profile. Profiles carry a
“.pro” file extension and are located in the ‘Profiles’ folder of the MaxStream CD.
6. Select the ‘Write’ button to save RF module default values to non-volatile memory.
© 2006 MaxStream, Inc., Confidential and Proprietary 17
If the command is sent in the middle of a stream of payload data to be transmitted, the
command will essentially be executed in the order it is received. If the radio is continuously
receiving data, the radio will wait for a break in the received data before executing the command.
The signal will frame the response coming from the binary command request [refer to Figure
below].
A minimum time delay of 100 µs (after the stop bit of the command byte has been sent) must be
observed before the CMD pin can be de-asserted. The command executes after all parameters
associated with the command have been sent. If all parameters are not received within 0.5
seconds, the modem returns to Idle Mode.
Note: When parameters are sent, they are two bytes long with the least significant byte sent first.
Binary commands that return one parameter byte must be written with two parameter bytes.
Commands can be queried for their current value by sending the command logically ORed (bit-
wise) with the value 0x80 (hexadecimal) with CMD asserted. When the binary value is sent (with
no parameters), the current value of the command parameter is sent back through the DO pin.
Figure 2‐09. Binary Command Write then Read
Signal #4 is CMD
Signal #1 is the DIN signal to the radio
Signal #2 is the DOUT signal from the radio
Signal #3 is
In this graph, a value was written to a register and
then read out to verify it. While not in the middle
of other received data, note that the signal
outlines the data response out of the modem
IMPORTANT: For the RF Module to recognize a binary command, the RT (DI2 Configuration)
parameter must be set to one. If binary programming is not enabled (RT ≠ 1), the
RF module will not recognize that the CMD pin is asserted and therefore will not
recognize the data as binary commands.
© 2006 MaxStream, Inc., Confidential and Proprietary 18
Example: Use binary commands to change the RF Module’s destination address to 0x1A0D and
save the new address to non-volatile memory.
1. RT Command must be set to “1” in AT Command Mode to enable binary programming.
2. Assert CMD (Pin is driven high). (Enter Binary Command Mode)
3. Send Bytes [Parameter bytes must be 2 bytes long]:
00 (Send DT (Destination Address) Command)
0D (Least significant byte of parameter bytes)
1A (Most significant byte of parameter bytes)
08 (Send WR (Write) Command)
4. De-assert CMD (Pin is driven low). (Exit Binary Command Mode)
Note: is high when command is being executed. Hardware flow control must be disabled as
will hold off parameter bytes.
© 2006 MaxStream, Inc., Confidential and Proprietary 19
3. Telephone Module Operation
3.1. Telephone Module Configuration
The Telephone Module features a rich set of AT commands that allow flexibility in operations. On
power-up or reset, the Telephone Module operates in command mode and will accept AT
commands either from an RS-232 serial cable or from another MaxStream RF Modem (PKG-R,
PKG-U, etc.) over a wireless link.
Refer to the Telephone Module Configuration Example section [p25] for programming examples.
Figure 3‐01. Hardware Setup ‐ Serial Port Method
Figure 3‐02. Hardware Setup ‐ Wireless Link Method
© 2006 MaxStream, Inc., Confidential and Proprietary 20
Send AT Commands:
When using the “Terminal” tab of the X-CTU Software, send AT Commands and parameters using
the syntax shown below:
Figure 3‐03. Syntax for sending Telephone Module AT Commands:
The Telephone Modem ignores spaces, parenthesis and quotation marks in a command string.
To read a parameter value stored in a register, type a question mark “?” after the command line.
Aborting Commands. Some commands that require time to execute may be aborted during
operation. A single character may be sent to the module to abort the currently executing
command.
Disconnecting a Call. Below are four methods that can be used to disconnect a call:
1. Resetting the Telephone Module’s power (by pressing the “Reset Switch” of the RF Modem
[Figure 1-03c]) will disconnect and put the module back to the OFF line state.
2. A remote device can also cause the telephone module to disconnect. If the remote RF
modem disconnects, the local telephone module will automatically sense the loss of the
carrier signal, then return to the OFF line state.
3. “ATH” or “ATZ” commands can also be used to disconnect a call. In order to issue a
command to the Telephone Module when it is On line, the module must be placed into the
“On Line Command State”.
This is accomplished by issuing a special escape sequence. The default value of this three
digit escape sequence is the “+” character [S-Parameter “S2”]. The “+++” is guarded by a
1-second delay before and after it is sent [S-Parameter “S12”]. When the module detects the
escape sequence, the “OK” result will be displayed and the module will enter the On Line
Command State. The “ATH” or “ATZ” commands can now be issued to disconnect the call.
4. If I/O line passing is enabled, a DTR drop will cause the modem to disconnect.
System Response
Command Echo. The Telephone Module may echo characters (default state). The echo can be
turned off or on using the “E” command as described in Table 3-02.
The modem will issue basic codes in response to processing an AT Command. Result codes may
be displayed either in word (V1) or numeric (V0) format using the Vn command. The Qn
command controls if result codes are issued (Q0) or not issued (Q1).
Table 3‐01. Basic Result Codes
Numeric Word Description
0 OK Modem has received and acknowledged the command
1 CONNECT Connection made at 300 bps or extended result codes are off (X0)
2 RING An incoming ring signal has been detected
3 NO CARRIER Reflects that either an intended disconnect or a failure to complete a connection
4 ERROR Indicates an invalid command was issued to the modem
5 CONNECT 1200 Indicates 1200 bps line or DTE connection (see Wn command)
6 NO DIALTONE Modem cannot detect a dial tone
7 BUSY Modem has detected a busy tone
8 NO ANSWER After S7 time has elapsed, the remote device did not answer
10 CONNECT 2400 Line speed or DTE connection at 2400 bps
12 CONNECT 9600 Line speed or DTE connection at 9600 bps
15 CONNECT 14400 Line speed or DTE connection at 14400 bps
16 CONNECT 19200 Line speed or DTE connection at 19200 bps
17 CONNECT 38400 Line speed or DTE connection at 38400 bps
18 CONNECT 57600 Line speed or DTE connection at 57600 bps
© 2006 MaxStream, Inc., Confidential and Proprietary 21
© 2006 MaxStream, Inc., Confidential and Proprietary 22
S-Parameters
Once a register is made active (the last register accessed), the register name is optional and can
be omitted from subsequent read/write commands that reference the same register. This is show
in the table below.
Table 3‐04. Sample read and write commands using active register
Command System Response
ATS7 Make “S7” Parameter Active
AT=51 or ATS7=51 Set “S7” to 51 (decimal)
AT? Read Value of “S7”
If the number n (or the value v on a write) is out of range or invalid, the module will return the
“ERROR” message. All S-Parameter values and responses are in decimal format. All S-Parameters
can be read using “&V” command [Table 3-03].
© 2006 MaxStream, Inc., Confidential and Proprietary 23
Table 3‐05. Telephone Module AT Commands – S‐Parameters
AT
Description Parameter Range Default
Command
S-Parameters
Number of Rings before Auto-Answer. The number of rings
S0 0 - 255 0 (no Auto-Answer)
before module will automatically answer.
Ring Counter. Counts Number of Rings, clears count after 8
S1 0 - 255 n/a
seconds of no ring.
Command Sequence Char. Holds ASCII value of escape
S2 0 - 255 43 (“+” char)
character.
Carriage Return Char. Holds ASCII value of carriage return
S3 0 - 127 13 (carriage return)
character.
0 – 127
S4 Line Feed Char. Holds ASCII value of line feed character. 10 (line feed)
[ASCII decimal]
0 – 32
S5 Backspace Char. Holds ASCII value of backspace character. 8 (backspace)
[ASCII decimal]
Wait Time/Dial Tone. The length of time module will wait for dial
2 - 255
S6 tone when encountering a “W” dial modifier before returning “NO 2
[x 1 second]
DIAL TONE” message.
Wait Time/Carrier. The length of time module will wait:
- for carrier before hanging up
- for silence when encountering the “@” dial 1 - 255
S7 50
modifier before continuing with the next dial string parameter [x 1 second]
- for dial tone when encountering a “W” dial
modifier before continuing with the next dial string parameter.
Pause Time. Sets time that module must pause when the “,” 2 - 255
S8 2
character is encountered in the dial string. [x 1 second]
Not configurable
S9 Carrier Detect Time. No value can be written. 600
[x 1 ms)
Carrier Loss Time. Time that module waits before hanging up
6 - 255
S10 after losing carrier. The actual wait time is (S10 - S9), so “S10” 14
[x 100 ms]
must be set to a value greater than “S9”.
50 - 255
S11 Dial Tone Duration. Sets tone duration for DTMF dialing. 95
[x 1 ms]
Guard Times. Required maximum time period of silence
between receipt of the last character of the three escape 0 - 255
S12 50 (1 second)
character sequence and sending of the “OK” result code. If any [x 20 ms]
characters are detected during this time, “OK” will not be sent.
/ Delay Time. The time delay before the module turns
0 - 255
S26 on after detecting OFF to ON transition (when “&R0” 1
[x 10 ms]
command is set).
70
On-hook Time. Sets length of time that the module will go on- Not configurable
S29 (country-dependent,
hook when it encounters Flash (“!”) dial modifier in dial string. [x 10 ms]
not configurable)
Disconnect Inactivity Timer. The length of time that the module
0 - 255
S30 will stay online before disconnecting when no data is sent or 0 (disabled)
[x 10 seconds]
received.
© 2006 MaxStream, Inc., Confidential and Proprietary 24
1. Attach RS-232 cable to DB-9 ports of the PKG-T Modem and PC [as shown in Figure 3-01].
2. Move DIP Switch 1 to the ON (up) position and switch 2 of the PKG-T Modem to the
OFF (down) position [As is shown in the illustration to the right]. NOTE: When
configuring the on-board RF Module rather than the on-board Telephone Module,
DIP Switch 2 must be in the ON (up) position.)
3. Connect power to the XStream-PKG-T RF Modem.
4. On the laptop (or PC) launch the X-CTU Software (or HyperTerminal Software).
5. Click on the “PC Settings” tab and make sure the serial com port’s baud rate and parity
settings match values currently stored in the PKG-T Modem.
6. Click the “Terminal” tab of the X-CTU Software and type in any character.
Æ The Telephone Modem in the PKG-T will automatically detect the initial character (blue font)
and echo the character back (red font), verifying a connection is established.
Æ If no character is echoed back, try the following:
1) Make sure the PKG-T Modem is connected to the same serial com port that is selected on
the “PC Settings” tab of the X-CTU Software. 2) Reset PKG-T RF Modem.
7. Type the following AT Command in the “Terminal” tab of the X-CTU Software:
Send Command* System Response
ATL2 <CR> OK (Turns speaker to medium volume) T
In this section of the example, AT Commands will first be sent to a PKG-R (RS-232/485) RF
Modem from a PC via a serial connection. The PKG-R Modem will then relay the commands over-
the-air to a receiving PKG-T Telephone RF Modem [as shown in Figure 3-02].
8. Configure the RS-232 RF Modem to RS-232 mode by moving DIP Switch 1
of the PKG-R Modem to the ON (up) position and the remaining switches
to the OFF (down) position.
9. Remove RS-232 cable from XStream-PKG-T Telephone RF Modem’s DB-9 connector and
connect it to the DB-9 connector of the PKG-R Modem. Verify both the PKG-R and PKG-T
Modems are powered [as indicated by the red LEDs].
10. Click the “Terminal” tab of the X-CTU Software and enter any character.
Æ The Telephone Modem in the PKG-T will automatically detect the initial character (blue font)
and echo the character back (red font), thus verifying a wireless link is established.
11. Type the following AT Commands
(Echo is on by default so all characters will appear in duplicate):
Send Command* System Response
AT&S1 <CR> OK (Enables Telephone Module control of )
ATS30=20 <CR> OK (Sets 200 sec. timeout - time of inactivity before disconnect)
AT&W0 <CR> OK (Stores current settings as Profile “0”)
AT&Y0 <CR> OK (Hard reset then restores Profile “0”)
AT&V <CR> (… Lists active & stored profile values) OK
At&F0 <CR> OK (Restores factory default configuration “0”)
* <CR> Each command line is concluded with a carriage return (<CR> or “Enter” key)
© 2006 MaxStream, Inc., Confidential and Proprietary 25
4. RF Communication Modes
Network configurations covered in this chapter are described in terms of the following:
• Network Topology (Point-to-Point, Point-to-Multipoint or Peer-to-Peer)
• RF Communication Type (Basic or Acknowledged)
• RF Mode (Streaming, Repeater, Acknowledged or Multi-Streaming)
The following table provides a summary of the network configurations supported.
Table 4‐01. Summary of network configurations supported by the XStream RF Modem
Point-to-Point
Definition An RF data link between two modems.
Sample Network Profile *
Use default values for all modems.
(Broadcast Communications)
Sample Network Profile * All Modems: ATAM [auto-set MY (Source Address) parameter] **
(Acknowledged Communications) ATDT FFFF [set Destination Address to 0xFFFF]
Basic Communication RF Modes Streaming Mode [p28], Repeater Mode [p29]
Acknowledged Communication RF Mode Acknowledged Mode [p32]
Point-to-Multipoint
Definition RF data links between one base and multiple remotes.
Base: ATMY 0 [set Source Address to 0x00]
Sample Network Profile * ATDT FFFF [set Destination Address to 0xFFFF]
(Basic Communications) Remotes: ATAM [auto-set MY (Source Address) parameter] **
ATDT 0 [set Destination Address to 0x00]
Base: ATMY 0 [set Source Address to 0x00]
ATDT FFFF [set Destination Address to 0xFFFF]
Sample Network Profile * ATRR 3 [set number of Retries to 3]
(Acknowledged Communications) Remotes: ATAM [auto-set MY (Source Address) parameter] **
ATDT 0 [set Destination Address to 0x00]
ATRR 3 [set number of Retries to 3]
Basic Communication RF Modes Streaming Mode [p28], Repeater Mode [p29]
Acknowledged Communication RF Modes Acknowledged Mode [p32], Multi-Streaming Mode [p34]
Peer-to-Peer
Modems remain synchronized without use of a master/server. Each
modem shares the roles of master and slave. MaxStream’s peer-to-
Definition
peer architecture features fast synch times (35ms to synchronize
modems) and fast cold start times (50ms before transmission).
Sample Network Profile *
Use default values for all modems.
(Basic Communications)
All Modems: ATAM [auto-set MY (Source Address) parameter] **
Sample Network Profile *
ATDT FFFF [set Destination Address to 0xFFFF]
(Acknowledged Communications)
ATRR 3 [set number of Retries to 3]
Basic Communication RF Mode Streaming Mode [p28]
Acknowledged Communication RF Mode Acknowledged Mode [p32]
* Assume default values for parameters not listed. Profiles do not reflect addressing implementations.
** AM (Auto‐set MY) Command must be issued through a terminal program such as the one incorporated in
the X‐CTU ‘Terminal’ tab.
© 2006 MaxStream, Inc., Confidential and Proprietary 26
4.1. Addressing
Each RF packet contains addressing information that is used to filter incoming RF data. Receiving
modems inspect the Hopping Channel (HP parameter), Vendor Identification Number (ID
parameter) and Destination Address (DT parameter) contained in each RF packet. Data that does
not pass through all three network security layers is discarded.
Figure 4‐01. Filtration layers contained in the RF packet header
Note: When TX_DT = 0xFFFF (default), RF packets are global and are
received by all modems within range. (Receivers do not send ACKs.)
A receiving modem will only accept a packet if a packet is addressed to it (either as a global or
local packet). The RX modem makes this determination by inspecting the destination address of
the RF packet and comparing it to its own address and mask. The Destination Address of the TX
modem is logically “ANDed” with the Address Mask of the RX modem.
Figure 4‐03. Address Recognition (Receiving Modem)
TX_DT = Transmitter Destination Address
RX_DT = Receiver Destination Address
RX_MY = Receiver Source Address
NOTE: For more information regarding addressing and masks, refer to Application Note ‘XST-
AN004b’. (Located on the MaxStream CD and on the web: www.maxstream.net)
© 2006 MaxStream, Inc., Confidential and Proprietary 27
Once the transmitting modem has sent all pending data or has reached
the TT limit, the transmission event ends. The transmitting modem will
not transmit again for exactly RN delay slots if the local (i.e.
transmitting modem’s) RN parameter is set to a non-zero value. The
receiving modem(s) will not transmit for a random number of delay
slots between 0 and (RN-1) if the local (i.e. receiving modem’s) RN
parameter is set to a non-zero value. These delays are intended to lessen congestion following
long bursts of packets from a single transmitting modem, during which several receiving modems
may have become ready to transmit.
© 2006 MaxStream, Inc., Confidential and Proprietary 28
Theory of Operation
OEMs and integrators can extend the effective range and reliability of a data radio system by
forwarding traffic through one or more repeaters.
Instead of using routing tables and path discovery to establish dynamic paths through a network,
the repeater system uses a sophisticated algorithm to propagate each RF packet through the
entire network.
The network supports RF packets up to 256 bytes. The repeater network can operate using
broadcast or addressed communications for multi-drop networks and works well in many systems
with no special configuration.
When in Repeater Mode, the network repeats each message among all available nodes exactly
one time. This mechanism eliminates the need for configuring specific routes. The network is self-
organizing and self-healing so that the system is able to receive transmissions in the event of a
modem going down.
Figure 4‐05. Sample Repeater Network Topology
© 2006 MaxStream, Inc., Confidential and Proprietary 29
The repeater network can be configured to operate using Basic Broadcast or Basic Addressed
communications. The addressing capabilities of the modems allow integrators to send a packet as
a global packet (DT = 0xFFFF) and shift out of every radio in the network (Basic Broadcast).
Alternatively, the packet can be sent with a specific DT (Destination Address) parameter so that it
is only accepted by a specific remote node (Basic Addressed).
Assign each radio modem a unique MY (source) address. (The AM (Auto-set MY) command will
configure a unique source address that is based on modem serial number.)
Enable Basic Broadcast Communications (DT = 0xFFFF) or Addressed Broadcast Communications
(ATDT specifies a specific destination)
Configure PK, RO and RB to ensure that RF packet aligns with protocol packet. (ex. PK=0x100,
RB=0x100, RO depends on baud rate).
Configure one or more repeaters in the system (ATMD = 3).
Configure remote nodes as destinations (MD = 4). This will ensure that the remote node waits for
the repeater traffic to subside before it transmits a response.
The configuration instructions above reflect configuration for a Basic Broadcast Repeater system.
To configure a Basic Addressed Repeater system, use the DT (Destination Address) parameter to
assign unique addresses to each modem in the network.
Algorithm details
• Packet ID (PID) is composed of transmitting modem MY address and packet serial number.
• Incoming packets with a PID already found in the PID buffer will be ignored.
• Each modem maintains a PID buffer 8 deep of previously received packets (managed as
FIFO).
Packets may be shifted out the serial port and/or repeated depending on the DT parameter
contained in the RF packet.
Table 4‐02. DT (Destination Address) parameter truth table
Address Match Send out serial port? Repeat?
Global Yes Yes
Local Yes No
None No Yes
The RN (Delay Slots) parameter is used to configure this delay. Set RN=0 (no delays) for small
networks with few repeaters or repeaters that are not within range of each other. Set RN=1 for
systems with 2 to 5 repeaters that may be within range of each other.
DS = (-41-RSSI)/10*RN)+RandomInt(0,RN)
Where L is the length of the transmitted packet in milliseconds, DS is the number of delay slots
to wait, RSSI is the received signal strength in dBm, RN is the value of the RN register and
RandomInt(A,B) is a function that returns a random integer from A to B-0
© 2006 MaxStream, Inc., Confidential and Proprietary 30
DS = ((-41-(-100))/10)*RN)+RN+1
Where L is the length of the transmitted packet in milliseconds, DS is the number of delay slots
to wait, RSSI is the received signal strength in dBm, and RN is the value of the RN register.
Bandwidth Considerations
Using broadcast repeaters in a network reduces the overall network data throughput as each
repeater must buffer an entire packet before retransmitting it. For example: if the destination is
within range of the transmitter and the packet is 32 bytes long, the transmission will take 72ms
on a 9600 baud XStream modem (much faster modems are available). If that same packet has to
propagate through two repeaters, it will take 72ms to arrive at the first repeater, another 72 ms
to get to the second and a final 72ms to get to the destination for a total of 216ms. Taking into
account UART transfer times (~1ms/byte at 9600 baud), a server to send a 32 byte query and
receive a 32 byte response is ~200ms, allowing for 5 polls per second. With the two repeaters in
the path, the same query/response sequence would take about 500ms for 2 polls per second.
To summarize, this system is sending and receiving 64 bytes 5 times per second for a throughput
of 320 bytes per second with no repeaters and 128 bytes per second with 2 repeaters. Generally,
the network throughput will decrease by a factor of 1/(R+1), with R representing the number of
repeaters between the source and destination.
Note that these numbers are absolutely worst case to illustrate how the system would perform in
a typical, low bandwidth system. As a counter example the 115kbps 9XTend radio can transfer
the same 32 byte packet in 12 ms for a round trip with UART transfer times of ~30ms or 33 polls
per second (1066 bytes per second) with no repeaters. With two repeaters the time would be
~100ms round trip time for 10 polls per second or 320 bytes per second network throughput with
two repeaters.
© 2006 MaxStream, Inc., Confidential and Proprietary 31
Connection Sequence
Figure 4‐06. Acknowledged Mode State Diagram Æ
After sending a packet while
in Acknowledged Mode, the
transmitting modem listens
for an ACK
(acknowledgement). If it
receives the ACK, it will either
send a subsequent packet (if
more transmit data is
pending), or will wait for
exactly RN random delay slots
before allowing another
transmission (if no more data
is pending for transmission).
© 2006 MaxStream, Inc., Confidential and Proprietary 32
RB and RO parameters are not applied to subsequent packets. This means that once transmission
has begun, it will continue uninterrupted until the DI buffer is empty or the streaming limit (TT)
has been reached. As with the first packet, the payload of each subsequent packet includes up to
the maximum packet size (PK parameter). The transmitting modem checks for more pending
data near the end of each packet.
The streaming limit (TT parameter) specifies the maximum number of bytes that the transmitting
modem will send in one transmission event, which may consist of many packets and retries. If
the TT parameter is reached, the transmitting modem will force a random delay of 1 to RN delay
slots (exactly 1 delay slot if RN is zero). Each packet is counted only once toward TT, no matter
how many times the packet is retransmitted.
Subsequent packets in acknowledged mode are similar to those in streaming mode, with the
addition of an acknowledgement between each packet, and the possibility of retransmissions.
Subsequent packets are sent without an RF initializer, as the receiving modems are already
synchronized to the transmitting modem from the preceding packet(s) and they remain
synchronized for the duration of the transmission event. Each retransmission of a packet includes
an RF initializer.
Once the transmitting modem has sent all pending data or has reached the TT limit, the
acknowledged transmission event is completed. The transmitting modem will not transmit again
for exactly RN delay slots, if the local RN parameter is set to a nonzero value. The receiving
modem will not transmit for a random number of delay slots between 0 and (RN-1), if the local
RN parameter is set to a nonzero value. These delays are intended to lessen congestion following
long bursts of packets from a single transmitting modem, during which several receiving modems
may have themselves become ready to transmit.
© 2006 MaxStream, Inc., Confidential and Proprietary 33
Theory of Operation
When in Multi-Streaming Mode, all remote modems can initiate communications with the base
modem at the same time, but only one remote is granted an exclusive connection. After an
exclusive connection begins, data is transferred exclusively between two modems without
interruption from any other modems in the network.
An exclusive connection is a bi-directional connection that can only be established when in Multi-
Streaming Mode. An exclusive connection is immune to other remote modems interrupting the
connection and interleaving data (The interleaved data potentially renders the base modem
unable to discern from which remote modem the data was transmitted).
When an exclusive connection is granted to a single remote, the other remotes are notified that
the connection exists. The notification causes the remote modems to postpone transmissions
until the base modem sends notification that the exclusive connection has ended.
Figure 4‐07. Sample Connection Sequence Diagram
CRP = Connection Request Packet
CGP = Connection Grant Packet
DRP = Disconnect Request Packet (not
shown in diagram – applicable when
remote connection is disconnected using
the pin sleep I/O line.
DGP = Disconnect Grant Packet
ACK = Acknowledgement of reception.
Base modem = The central
transmitting/receiving modem in a network
of modems that maintains communications
with remote modems.
Remote modem = An modem in a network
of modems that sends data to and receives
data from a base modem.
Payload = Data contained inside the RF
Data of the RF Packet that originates from a
host to be transmitted over the air
In the connection sequence above, an exclusive connection is first granted to “Remote m”. The
CGP (Connection Grant Packet) is broadcast to all remote modems in the network to
communicate the base in engaged in an exclusive connection. Upon receipt of the CGP
notification, remote modems will wait for a DGP (Disconnect Grant Packet) before attempting
again to send data to the base modem.
© 2006 MaxStream, Inc., Confidential and Proprietary 34
1. Remote modem has payload to transmit. After a remote modem receives data from its host,
the modem will attempt to establish a connection with the base modem. The connection is
defined by the remote’s DT (Destination Address) parameter. If another remote has a
connection with the base, no connection will be established until the connection runs its
course. Any remotes requesting a connection will then arbitrate for the next connection. RR
(Retries) and RN (Random back-off) parameters control this arbitration.
2. Base sets the DT (Destination Address) parameter. When the base modem sets the DT
(Destination Address) parameter, an exclusive connection is immediately initiated with the
remote modem that has a matching DT parameter. After the DT command is sent (If
ATCM=1), the base modem indicates a successful connection with a “CONNECT XXXX” string
where "XXXX" is the remote's address. An unsuccessful connection is indicated with an
“ERROR” string. If the connection is successful, the modem immediately exits AT Command
Mode and data can be sent to and received from the connected remote modem. If an error is
returned, the modem stays in AT Command Mode. If a base is connected to a remote when
the DT command is executed, the current connection is disconnected before a new
connection is created.
3. DI3 pin (pin 2, SLEEP) is asserted (set low). Both base and remote modems can create a
connection (defined by the current DT (Destination Address) parameter) when the DI3 pin is
asserted (driven high). DR (DI3 Configuration) Command is used to establish this mode. If a
remote asserts DI3, a connection request will be sent when no connection is active. If the
base asserts DI3, a connection will immediately be established with the remote after any
connection.
Initiating a Disconnection
To disconnect, the base modem sends a DGP (disconnect grant packet). A remote modem can
only request a disconnect. The following conditions cause a disconnect:
1. No over-the-air data sent or received for CE (Connection Inactivity Timeout) time. If no over-
the-air data is successfully sent (no acknowledgement received) or received (any good
packet) for CE time, the connection will be dropped. Only a base modem can detect this
condition. Refer to CE Command.
2. Absolute CB (Connection Duration Timeout). The CB parameter defines an absolute timeout.
A timer is started on the remote units when a connection is established. When the
connection has been active for CB time, the base will close the connection. A remote that
detects this condition will automatically disconnect (it will not send a DRP (disconnect
request packet)). Remotes that monitor a connection between the base and another remote
will disregard any connection after the CB time. Refer to CB Command.
3. DI3 pin (pin 2, SLEEP) is de-asserted (set high). A base or remote modem can cause a
disconnect by setting the DI3 line high. If no connection is active, the de-assertion is
ignored. A remote will request a disconnect if DI3 is de-asserted and the remote is currently
connected the base. Refer to DR (DI3 Configuration) Command.
4. A remote or a base modem receives the ATDC (Disconnect) Command.
© 2006 MaxStream, Inc., Confidential and Proprietary 35
AT Command Mode
AT command mode is used for all commands on base and remote modems. Binary command
mode is not available when MD = 1 or 2.
The base is in AT command mode when not engaged in an exclusive connection with a remote.
No AT Command Mode sequence is needed. When a base modem is connected to a remote
modem, the AT Command Mode sequence is used to enter AT command mode. The connection
with the remote is maintained. Care should be taken that the CE (Connection Inactivity) timeout
does not occur while in AT Command Mode.
The remote must use the AT command sequence to enter AT Command Mode. When a
connection exists with a base modem, the connection is maintained. Care must be taken that the
CB (Connection Duration) timeout does not occur while in AT Command Mode.
As of firmware version, 4.30, a faster method is available for entering AT Command Mode. If the
BT and AT parameters are set to 0, BT (Guard Time Before) and AT (Guard Time After) times are
set to 6 milliseconds.
Beware that this will also mean that AT Command Mode cannot be entered by manually typing
the AT command sequence (usually “+++”), because the AT time will occur faster than the
characters can be typed.
Auto Configuration
When enabling Multi-Streaming Modes (by setting the MD (RF Mode) parameter to 1 or 2), other
parameter values are automatically modified to support the mode. For example, when the MD
parameter is changed to 1 or 2, the RR parameter is changed to 0x0A (hex). The modification
only occurs if the RR parameter is 0 (its default) before the MD command was executed. If any
other value is found for the RR parameter, the RR parameter will not be changed. Auto
configuration occurs every time the modem is powered-up.
Table 4‐06. Auto Configurations
Parameter changed Condition for modification
Resulting Parameter Value
when MD = 1 or 2 to take place (default values)
RR (Retries) If RR = 0 RR = 0x0A (10 decimal)
RN (Delay Slots) If RN = 0 RN = 5
MY (Source Address) If MY = 0xFFFF (& MD = 2) Unique value based on serial number *
CD (DO3 Configuration) If CD = 0 CD = 3
BT (Guard Time Before) If BT = 0x0A BT = 0
AT (Guard Time After) If AT = 0x0A AT = 0
* The system requires that each remote have a unique address. The automatic address is based on the serial
number and is not guaranteed unique, although the chances for a duplicate address are 1 in 16,000. No method
currently exists for detecting & reassigning duplicate remote addresses.
Global Connection
The base modem can connect to all remote modems (to send a broadcast message) by
connecting with a DT address of 0xFFFF (hex). There will be no acknowledgements from the
remote radios and each packet from the base will be sent RR times. A remote cannot send
messages to a base during a global connect.
The CGP and DGP packets will be sent RR times to begin and end the global connection
respectively. The connection can be terminated by CE, CB timers, DI3 or ATDC Command as any
other connections.
© 2006 MaxStream, Inc., Confidential and Proprietary 36
NOTE: The ST (Time Before Sleep) time must be set long enough to account for the time it could take
to make a connection if several remote modems get a connection before a remote’s ST times out.
Pin sleep can also be used with a remote modem. A modem will not be allowed into pin sleep
while a connection is active. Usually the connection on DI3 (DR = 4) should also be enabled so
that a connection is established on wakeup. Pin wake-up could also be used to scan for a
connection at an interval not defined by the cyclic sleep modes.
Monitoring Connections
The DO3 pin (RX LED) can be used to show when a connection is active on both remote and base
modems. This is the default condition. This line will be asserted (high) during a connection and
de-asserted (low) when there is no connection.
A base modem can also be set to send the “CONNECT XXXX” string (where “XXXX” is the
connecting modem’s MY (Source Address) parameter) anytime a connection is established. Refer
to CM (Connection Message) Command.
© 2006 MaxStream, Inc., Confidential and Proprietary 37
Appendix A: Agency Certifications
FCC Certification
The XStream RF Modem complies with Part 15 of the FCC rules and regulations. Compliance with
the labeling requirements, FCC notices and antenna usage guidelines is required.
To fulfill the FCC Certification requirements, the OEM must comply with the following FCC
regulations:
1. The system integrator must ensure that the text on the external label provided with this
device is placed on the outside of the final product [Figure A-01 for 900 MHz operations or
Figure A-02 for 2.4 GHz operations].
2. The finished product must display also the information illustrated in Figure A-03.
3. The XStream RF Modem may be used only with Approved Antennas that have been tested
with this modem. [Tables A-01 and A-02]
FCC Notices:
IMPORTANT: The 9XStream (900 MHz) and 24XStream (2.4 GHz) OEM Modems have been certified by
the FCC for use with other products without any further certification (as per FCC section 2.1091).
Changes or modifications not expressly approved by MaxStream could void the user’s authority to
operate the equipment.
IMPORTANT: OEMs must test their final product to comply with unintentional radiators (FCC section
15.107 and 15.109) before declaring compliance of their final product to Part 15 of the FCC Rules.
IMPORTANT: The XStream RF Modems have been certified for remote and base radio applications. If
the XStream will be used for portable applications, the device must undergo SAR testing.
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 can
radiate radio frequency energy and, if not installed and used in accordance with the instructions,
may cause harmful interference to radio communications. 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:
• Re-orient 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.
© 2006 MaxStream, Inc., Confidential and Proprietary 38
WARNING The Original Equipment Manufacturer (OEM) must ensure that FCC labeling
requirements are met. This includes a clearly visible label on the outside of the
final product enclosure that displays the contents shown in the figure below.
Figure A‐01. Required FCC Label for OEM products containing the 9XStream (900 MHz) RF Modem
Figure A‐02. Required FCC Label for OEM products containing the 24XStream (2.4 GHz) RF Modem
The Telephone Consumer Protection Act of 1991 makes it unlawful for any person to use a
computer or any other electronic device, including fax machines, to send any message unless
such message clearly contains in a margin at the top or bottom of each transmitted page or on
the first page of the transmission, the date and time, it is sent and an identification of the
business or other entity, or other individual sending the message and the telephone number of
the sending machine or such business, other entity, or individual. (The telephone number
provided may not be a 900 number or any number for which charges exceed local or long
distance transmission charges.)
This equipment must not be used on party lines. Connection to party line service is subject to
state tariffs. Contact state public utility commission for information.
© 2006 MaxStream, Inc., Confidential and Proprietary 39
Antenna Usage
Antenna Warning
WARNING: This device has been tested with Reverse Polarity SMA connectors with the
antennas listed in Tables A-01 & A-02 of Appendix A. When integrated in OEM
products, fixed antennas require installation preventing end-users from replacing
them with non-approved antennas. Antennas not listed in the tables must be
tested to comply with FCC Section 15.203 (unique antenna connectors) and Section
15.247 (emissions).
RF Exposure
WARNING: This equipment is approved only for mobile and base station transmitting devices,
separation distances of (i) 20 centimeters or more for antennas with gains < 6 dBi
or (ii) 2 meters or more for antennas with gains ≥ 6 dBi should be maintained
between the antenna of this device and nearby persons during operation. To
ensure compliance, operation at distances closer than this is not recommended.
The preceding statement must be included as a CAUTION statement in manuals for OEM products
to alert users on FCC RF Exposure compliance.
MaxStream radio modems are pre-FCC approved for use in fixed base station and mobile
applications. As long as the antenna is mounted at least 20 cm (8 in) from nearby persons, the
application is considered a mobile application. If the antenna will be mounted closer than 20 cm
to nearby persons, then the application is considered “portable” and requires an additional test
performed on the final product. This test is called the Specific Absorption Rate (SAR) testing and
measures the emissions from the radio modem and how they affect the person.
Over 100 additional antennas have been tested and are approved for use with MaxStream 900
MHz Radio Modems (including “Mag Mount”, “Dome”, “Multi-path” and “Panel” antennas).
Because of the large number of approved antennas, MaxStream requests that you send specific
information about an antenna you would like to use with the modem and MaxStream will
evaluate whether the antenna is covered under our FCC filing.
© 2006 MaxStream, Inc., Confidential and Proprietary 40
FCC-Approved Antennas
Table A‐01. Antennas approved for use with 9XStream (900 MHz) RF Modems.
Table A‐02. Antennas approved for use with 24XStream (2.4 GHz) RF Modems.
* FCC‐approved antennas not inventoried by MaxStream – Contact MaxStream (866) 765‐9885 for information.
** Can be approved for portable applications if integrator gains approval through SAR testing
© 2006 MaxStream, Inc., Confidential and Proprietary 41
Integrator is responsible for its product to comply with IC ICES-003 & FCC Part 15, Sub. B -
Unintentional Radiators. ICES-003 is the same as FCC Part 15 Sub. B and Industry Canada
accepts FCC test report or CISPR 22 test report for compliance with ICES-003.
© 2006 MaxStream, Inc., Confidential and Proprietary 42
Appendix B: Development Guide
Mechanical Drawings
Figure B‐01. XStream‐PKG‐T (Telephone) RF Modem (RJ‐11 and DB‐9 Connectors)
Figure B‐02. XStream‐PKG‐T (Telephone) RF Modem (LEDs)
© 2006 MaxStream, Inc., Confidential and Proprietary 43
RF Module Configuration
X-CTU Software
X-CTU software can be used to setup and monitor XStream-PKG-T RF Modems communications.
The software provides an easy-to-use interface that is divided into four tabs.
• PC Settings tab - Setup PC serial com ports to interface with XStream RF Modem
• Range Test tab – Test Modem Range
• Terminal tab – Configure and read XStream RF Module & Telephone Module parameters
• Modem Configuration tab – DO NOT USE when configuring the XStream-PKG-T RF Modem.
The “Modem Configuration” tab is used to configure XStream RF Modules that are mounted
to the XIB-R (RS-232/485) and XIB-U (USB) Interface Boards.
1. Double-click the “setup_X-CTU.exe” file then follow prompts of the installation screens. This
file is located in the “software” folder of the MaxStream CD and under the ‘Downloads’
section of the following web page: www.maxstream.net/support/
Figure B‐03. Terminal tab of the X‐CTU Software (Used to configure the Telephone and RF Modules
© 2006 MaxStream, Inc., Confidential and Proprietary 44
Fast AT Command Mode Entry. Set AT and BT parameters to 0 for 0.6 second guard times.
Beware that this will also mean that AT Command Mode cannot be entered by manually typing
the AT command sequence characters (“---” by default) because the BT timeout will occur faster
than the characters can be typed.
© 2006 MaxStream, Inc., Confidential and Proprietary 45
Fast AT Command Mode Entry. Set AT and BT parameters to 0 for 0.6 second guard times.
Beware that this will also mean that AT Command Mode cannot be entered by manually typing
the AT command sequence characters (“---” by default) because the BT timeout will occur faster
than the characters can be typed.
© 2006 MaxStream, Inc., Confidential and Proprietary 46
© 2006 MaxStream, Inc., Confidential and Proprietary 47
© 2006 MaxStream, Inc., Confidential and Proprietary 48
to Idle Mode. AT Command Mode can also be Default Parameter Value: 0xC8 (200 decimal,
exited manually using CN (Exit AT Command 20 seconds)
Mode) Command. Number of bytes returned: 2
DC (Disconnect) Command
<Networking> Use DC Command (when in Multi- AT Command: ATDC
Streaming Mode, MD > 0) to explicitly force a
Binary Command: 0x37 (55 decimal)
disconnect of an active exclusive connection. If
MD = 1, the base module will force the Related Commands: CB (Connection Duration
Timeout), CE (Connection Inactivity Timeout),
disconnect of an exclusive connection. If MD = 2,
MD (RF Mode)
the remote module will send a “Disconnect
Request Packet” to the base module. Minimum Firmware Version Required: 4.30
© 2006 MaxStream, Inc., Confidential and Proprietary 49
© 2006 MaxStream, Inc., Confidential and Proprietary 50
From the receiving module perspective: After HT time elapses and the inactivity timeout [ST
Command] is met, the receiver goes into cyclic sleep. In cyclic sleep, the receiver wakes once per
sleep interval to check for a wake-up initializer. When a wake-up initializer is detected, the
module will stay awake to receive data. The wake-up initializer must be longer than the cyclic
sleep interval to ensure that sleeping modules detect incoming data. When HT time elapses, the
transmitter then knows that it needs to send a wake-up initializer for all receivers to be able to
remain awake and receive the next transmission. Matching HT to the time specified by ST on the
receiving module guarantees that all receivers will detect the next transmission.
© 2006 MaxStream, Inc., Confidential and Proprietary 51
© 2006 MaxStream, Inc., Confidential and Proprietary 52
© 2006 MaxStream, Inc., Confidential and Proprietary 53
NB (Parity) Command
<Serial Interfacing> Select/Read parity settings AT Command: ATNB
for UART communications. Binary Command: 0x23 (35 decimal)
Parameter Range: 0 – 5
Parameter Configuration
8-bit (no parity or
0
7-bit (any parity)
1 8-bit even
2 8-bit odd
3 8-bit mark
4 8-bit space
5 9-bit
Default Parameter Value: 0
Number of bytes returned: 1
Minimum Firmware Version Required: 4.30
If PK is set above 256 and BR is subsequently Default Parameter Value: 0x40 (64 decimal)
changed to 0, then PK will automatically be Number of bytes returned: 2
lowered to 256 and a warning will be raised (see
Related Commands: RB (Packetization
BR (RD Data Rate) and WN (Warning Data) Threshold), RO (Packetization Timeout)
Commands for details).
Minimum Firmware Version Required: 4.30
Changes to this parameter may have a secondary
effect on the RB (Packet Control Characters) Parameter. RB must always be less than or equal to
PK. If PK is changed to a value less than the current value of RB, RB is automatically lowered to
be equal to PK.
© 2006 MaxStream, Inc., Confidential and Proprietary 54
If two modules attempted to transmit at the same time, the random time delay after packet
failure would allow one of the two modules to transmit the packet successfully, while the other
would wait until the channel opens up to begin transmission.
© 2006 MaxStream, Inc., Confidential and Proprietary 55
The total period of the PWM output is 8.32 ms. There are 40 steps in the PWM output and
therefore the minimum step size is 0.208 ms.
PWM percentage
dBm above Sensitivity
(high period / total period)
10 47.5
20 62.5
30 77.5
A non-zero value defines the time that the PWM output will be active with the RSSI value of the
last received RF packet. After the set time when no RF packets are received, the PWM output will
be set low (0 percent PWM) until another RF packet is received. The PWM output will also be set
low at power-up. A parameter value of 0xFF permanently enables the PWM output and it will
always reflect the value of the last received RF packet.
PWM output shares the Config input pin. When the radio modem is powered, the Config pin will
be an input. During the power-up sequence, the Config pin will be read to determine whether the
radio modem is going into AT Command Mode. After this, if RP parameter is a non-zero value,
the Config pin will be configured as an output and set low until the first RF packet is received.
With a non-zero RP parameter, the Config pin will be an input for RP ms after power up.
RR (Retries) Command
Networking> RR Command reads/sets the AT Command: ATRR
number of retries that can be sent for a given RF
Binary Command: 0x18 (24 decimal)
packet. Once RR Command is enabled (set to a
non-zero value), RF packet acknowledgements Parameter Range: 0 – 0xFF
and retries are enabled. After transmitting a Default Parameter Value: 0 (disabled)
packet, the transmitter will wait to receive an
Number of bytes returned: 1
acknowledgement from a receiver. If the
acknowledgement is not received in the period of Minimum Firmware Version Required: 4.22
time specified by the RN (Delay Slots) Command,
the transmitter will transmit the original packet again. The packet will be transmitted repeatedly
until an acknowledgement is received or until the packet has been sent RR times.
Note: For retries to work correctly, all modules in the system must have retries enabled.
© 2006 MaxStream, Inc., Confidential and Proprietary 56
© 2006 MaxStream, Inc., Confidential and Proprietary 57
© 2006 MaxStream, Inc., Confidential and Proprietary 58
SY Command allows the modules to remove this information from the RF Initializer after the
initial synchronization. For example, changing the SY Parameter to 0x14 (20 decimal) allows all
modules to remain in sync for 2 seconds after the last data packet was received. Synchronization
information is not re-sent unless transmission stops for more than 2 seconds. This command
allows significant savings in packet transmission time.
With SY set to zero, the channel session is opened and closed with each transmission - resulting
in a more robust link with more latency.
© 2006 MaxStream, Inc., Confidential and Proprietary 59
WR (Write) Command
<(Special)> WR Command writes configurable AT Command: ATWR
parameters to the radio modem’s non-volatile
Binary Command: 0x08
memory (Parameter values remain in the
modem’s memory until overwritten by future use of WR Command).
If changes are made without writing them to non-volatile memory, the radio modem reverts back
to previously saved parameters the next time the module is powered-on.
© 2006 MaxStream, Inc., Confidential and Proprietary 60
Appendix C: Additional Information
1-Year Warranty
XStream RF Modems from MaxStream, Inc. (the "Product") are warranted against defects in
materials and workmanship under normal use, for a period of 1-year from the date of purchase.
In the event of a product failure due to materials or workmanship, MaxStream will repair or
replace the defective product. For warranty service, return the defective product to MaxStream,
shipping prepaid, for prompt repair or replacement.
The foregoing sets forth the full extent of MaxStream's warranties regarding the Product. Repair
or replacement at MaxStream's option is the exclusive remedy. THIS WARRANTY IS GIVEN IN
LIEU OF ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, AND MAXSTREAM SPECIFICALLY
DISCLAIMS ALL WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL MAXSTREAM, ITS SUPPLIERS OR LICENSORS BE LIABLE FOR DAMAGES IN
EXCESS OF THE PURCHASE PRICE OF THE PRODUCT, FOR ANY LOSS OF USE, LOSS OF TIME,
INCONVENIENCE, COMMERCIAL LOSS, LOST PROFITS OR SAVINGS, OR OTHER INCIDENTAL,
SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
PRODUCT, TO THE FULL EXTENT SUCH MAY BE DISCLAIMED BY LAW. SOME STATES DO NOT
ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES.
THEREFOR, THE FOREGOING EXCLUSIONS MAY NOT APPLY IN ALL CASES. This warranty
provides specific legal rights. Other rights which vary from state to state may also apply.
Ordering Information
Figure C‐01. MaxStream RF Modem Part Numbers Key
© 2006 MaxStream, Inc., Confidential and Proprietary 61
Contact MaxStream
Free and unlimited technical support is included with every MaxStream Radio Modem sold.
Documentation: www.maxstream.net/support/downloads.php
E-Mail. [email protected]
MaxStream office hours are 8:00 am – 5:00 pm [U.S. Mountain Standard Time]
© 2006 MaxStream, Inc., Confidential and Proprietary 62