User's Manual
MaxStream 9XStream™ Wireless OEM Module Manual v2.8
22
Confidential and Proprietary, ©MaxStream, Inc. 2001
Binary Commands
(cont.)
Note: When parameters are sent, they are always two bytes long with
the Least Significant Byte sent first. When they are read, they
are 1 or 2 bytes long as indicated in the
9XStream Command
Table
(Appendix E).
Binary Command Mode allows multiple commands to be sent in sequence.
When the RTS/CMD pin is asserted, all incoming serial data will be interpreted
as commands. Commands can be sent in sequences of commands and their
associated parameters. If RTS/CMD remains asserted, all received commands
will be executed by the 9XStream module. All modified parameters must be
stored in non-volatile memory by sending the WR command (08H with no
parameters) before powering down or resetting the module or the changes will be
lost.
Commands can be queried for their current value by sending the command
logically ORed with the value 80H (hexadecimal) with RTS/CMD asserted.
When this binary value is sent (with no parameters) the current value of the
command will be sent back, through the DO pin.
Note: For the 9XStream module to recognize a Binary command, the
RT command must be issued from AT Command Mode to enable
binary programming. If binary programming is not enabled,
the module will not recognize when the RTS/CMD pin is
asserted and will therefore not recognize Binary Commands.
Example: This example will set Sleep Mode to the Pin Sleep setting
and store the new Sleep Mode value to non-volatile memory.
(Again, the RT command must be issued in AT Command
Mode to enable binary programming before Binary Command
Mode will work.)
Assert RTS/CMD (Enter command mode.)
Send bytes: (Send SM1 command)
<01H> (Command Byte - SM)
<01H> (Least significant bit of the
Parameter Bytes - 01H)
<00H> (Most significant bit of the
Parameter Bytes – 00H)
Send bytes: (Send WR command)
<08H> (Command Byte - WR)
De-assert RTS/CMD










