Product manual
XStream‐PKG‐R™RS‐232/485RFModem–ProductManualv5.x00[2006.02.24]
4.4. Command Descriptions
Commands in this section are listed alphabetically. Command categories are designated between
the “< >” symbols that follow each command title. XStream Modems expect numerical values in
hexadecimal and those values are designated by a “0x” prefix.
AM (Auto-set MY) Command
<Networking & Security> AM Command is used
to automatically set the MY (Source Address)
parameter from the factory-set modem serial
number. The address is formed with bits 29, 28 and 13-0 of the serial number (in that order).
AT Command: ATAM
Binary Command: 0x3A (58 decimal)
Minimum firmware version required: 4.30
AT (Guard Time After) Command
AT Command: ATAT
Binary Command: 0x05 (5 decimal)
<Command Mode Options> AT Command is used
to set the time-of-silence that follows the
command sequence character (CC Command). By
default, AT Command Mode will activate after one
second of silence.
Parameter Range: 0x02 – 0xFFFF
[x 100 milliseconds]
Number of bytes returned: 2
Default Parameter Value: 0x0A (10 decimal)
Related Commands: BT (Guard Time Before),
CC (Command Sequence Character)
Refer to the AT Commands section [p
19] to view
the default AT Command Mode sequence.
BD (Interface Data Rate) Command
AT Command: ATBD
Binary Command: 0x15 (21 decimal)
<Serial Interfacing> BD Command allows the
user to adjust the UART interface data rate and
thus modify the rate at which serial data is sent
to the RF modem. The new baud rate does not
take effect until the CN command is issued. The
RF data rate is unaffected by the BD parameter.
Parameter Range (Standard baud rates): 0 – 6
(Non-standard baud rates): 0x7D – 0xFFFF
Parameter
BAUD (bps)
©2006MaxStream,Inc.Confidential&Proprietary 25
Most applications will require one of the seven
standard baud rates; however, non-standard
baud rates are also supported.
Note: If the serial data rate is set to exceed the
fixed RF data rate of the modem,
flow control
may need to be implemented in the Flow Control
section [p13] of this manual.
Non-standard Interface Data Rates: When
parameter values outside the range of standard
baud rates are sent, the closest interface data
rate represented by the number is stored in the
BD register. For example, a rate of 19200 bps can be set by sending the following command line
"ATBD4B00". NOTE: When using MaxStream’s X-CTU Software, non-standard interface data rates
can only be set and read using the X-CTU ‘Terminal’ tab. Non-standard rates are not accessible
through the ‘Modem Configuration’ tab.
Configuration
0 1200
1 2400
2 4800
3 9600
4 19200
5 38400
6 57600
Number of bytes returned: 2
Default Parameter Value: Set to equal to
modem’s factory-set RF data rate.
Minimum firmware version required: 4.2B
(Custom baud rates not previously supported)
When the BD command is sent with a non-standard interface data rate, the UART will adjust to
accommodate the requested interface rate. In most cases, the clock resolution will cause the
stored BD parameter to vary from the parameter that was sent (refer to the table below).
Reading the BD command (send "ATBD" command without an associated parameter value) will
return the value that was actually stored to the BD register.
Table4.2. ParameterSentvs.ParameterStored
BD Parameter Sent (HEX) Interface Data Rate (bps) BD Parameter Stored (HEX)
0 1200 0
4 19,200 4
7 115,200 7
12C 300 12B
1C200 115,200 1B207