User's Manual

MaxStream, Inc. 24XStream Wireless Module Manual v2.8
21
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 24XStream 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