User's Manual

MaxStream 9XStream™ Wireless OEM Module Manual v2.8
21
Confidential and Proprietary, ©MaxStream, Inc. 2001
AT Commands
(cont.)
A modified AT value is reset upon module power-down unless the WR
command is issued to save the parameter to non-volatile memory.
To query the current value of a particular command, send the corresponding AT
command without any parameters (carriage return, however, is still sent). The
response will be the current value of that command reported as a hexadecimal
number.
The following example demonstrates basic AT Command functionality in the
9XStream module.
Example: This example will change the user-defined Module
Address to 1A0D (HEX) and check the current value of
the SM command. It will also write the new Module
Address to non-volatile memory.
SEND
RESPONSE
+++ OK<CR>
ATDT 1A0D<CR> OK<CR>
ATSM<CR> 0 <CR>
ATWR<CR>
(write to non-volatile memory)
OK<CR>
ATCN<CR>
(exit AT Command Mode)
OK<CR>
Exiting AT Command Mode
There are two ways to exit the AT command mode and return to Idle Mode. If no
valid AT commands are received within the time specified by the AT Command
Timeout parameter (CT command), the module will return to Idle Mode
automatically. Alternatively, the AT command mode can be exited by sending
the CN command.
Binary Commands
Binary command bytes are organized as follows:
<Command><Parameters>
1 byte
2 bytes
When sending a Binary command to the 9XStream, the Command byte must be
sent while the RTS/CMD pin (Pin 5) is asserted. RTS/CMD can be de-asserted
100 microseconds after the stop bit from the Command byte has been sent. It
does not matter whether RTS/CMD is asserted when the Parameter bytes are
sent. The command will execute when all the parameters associated with the
command have been sent. If all parameters aren’t received within 0.5 seconds
the module will return to Idle Mode.