Product manual

XStreamPKGR™RS232/485RFModemProductManualv4.2B
©2005MaxStream,Inc.Confidential&Proprietary 23
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.
AT (Guard Time After) Command
<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.
AT Command: ATAT
Binary Command: 0x05 (5 decimal)
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 [p17]to view
the default AT Command Mode sequence.
BD (Baud Rate) Command
<Serial Interfacing> BD Command allows the
user to adjust the interface data rate and thus
modify the rate at which serial data is sent to the
modem. The new baud rate does not take effect
until the CN (Exit AT Command Mode) Command
is issued. The RF data rate is not affected by the
BD Command.
Although most applications will only require one
of the seven standard baud rates, non-standard
baud rates are also supported.
Note: If the serial data rate is set to exceed the
fixed RF data rate of the XStream modem,
flow control may need to be implemented as
described in the Pin Signals and Flow Control
sections 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.
AT Command: ATBD
Binary Command: 0x15 (21 decimal)
Parameter Range (Standard baud rates): 0 – 6
(Non-standard baud rates): 0x7D – 0xFFFF
Parameter
Value
BAUD (bps)
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
(non-standard 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.
Table401. 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