Professional Documents
Culture Documents
The information contained in this document is the proprietary information of Zhejiang Rexense
Technology Co., Ltd. (hereinafter referred as REXENSE). The contents are confidential and any
disclosure to persons other than the officers, employees, agents or subcontractors of the owner
or licensee of this document, without the prior written consent of Rexense, is strictly prohibited.
REXENSE publishes this document without making any warranty as to the content contained
herein. Further Rexense reserves the right to make modifications, additions and deletions to this
document due to typographical errors, inaccurate information, or improvements to products
mentioned in the document at any time and without notice. Such changes will, nevertheless be
incorporated into new editions of this document.
| Version History
REXENSE uses a proprietary set of commands patterned after the AT command set to interface
with REX3 802.15.4/ZigBee modules through a serial port or voltage compatible UART. In the
pattern of the original AT command set, REXENSE uses the characters AT+ before each
command sent to the module. The format of a typical AT command is:
All the value in AT commands should be specified with ASCII code in HEX format and DO NOT
follow with input of “enter”. Any incorrect input in the command will be treated as data and sent
to other nodes in transparent mode (see RexBee Transparent Communication Protocol).
2.1. AT+VER
The users can download the latest version of firmware from official website:
http://www.rexense.com/en/downloads.php?classid=23
NOTE: The evaluation version of firmware will be displayed with the same name and version of
the commercial version.
2.2. AT+GETINFO
We recommend the users to keep the default value unless for specific conditions.
2.3. AT+SETPID=xxxxxxxx
The users can set the value from 16 channels available according to the table below (each
channel width is 5Mhz):
NOTE: This command is highly recommended to be used for enhanced modules (REX3SP and
REX3DP) only as the standard modules (REX3S and REX3D) are not designed with PA.
The configurable range of transmit power is -0A~+07. Please refer to the table below for the
typical RF performance (in dBm) at selected transmit power and frequency for reference (The
users may need to refer to Section 2.4. AT+SETCH for cross reference in the table):
MHz
2405 2425 2430 2450 2455 2460 2480
Value
AT+SETCH=15
AT+SETPWR=-01
The default and recommended values of transmit power for different modules are:
The users should NEVER change the power mode for the modules, otherwise it will cause m
2.7. AT+SETUART=xx-p
The users can set the baud rate and parity of UART according to the table below:
The users can set the type of antenna according to the table below:
NOTE:
This command is only valid for REX3DP as REX3DP supports programmable antenna selection
while the antenna type for other models are hardware specified. Please refer to the datasheet of
the module for more information of antenna options.
2.9. AT+RESET
NOTE: This command displays the long address of the module. The short address is the last 4
bytes which is used in RexBee data frames. When the short address is used in RexBee data
frames (Little Endian), it is displayed and should be specified with high-order byte.
For example:
xx xx xx xx xx xx xx xx
Year Month Day Hour Minute Second Weekday Time Status
Please refer to 2.12. AT+SHOWTIME for the definition of each byte in the value.
NOTE: If this command is executed on the coordinator, the time will be automatically
broadcasted to all router nodes in the network.
2.14. AT+UARTGAP=xx
The default interval is 5ms. We highly recommend the users keep the default setting for better
performance.
2.15. AT+SCAN
The users can specify the channel to be scanned according to the table below:
Value Channel (HEX) Channel (DEC) Value Channel (HEX) Channel (DEC)
0001 0B 11 0100 13 19
0002 0C 12 0200 14 20
0004 0D 13 0400 15 21
0008 0E 14 0800 16 22
0010 0F 15 1000 17 23
0020 10 16 2000 18 24
0040 11 17 4000 19 25
0080 12 18 8000 1A 26
FFFF All channels
NOTE: This command is only valid for ZED and HHU. The users do not need to use this
command for ZED as it automatically sleeps for 15 seconds between wake-ups.
2.17. AT+WAKEUP
This command is not frequently used as users can send any data from UART to wake up the
module. When the module receives the data from UART it will wake up and performs normal
functioning.
REX3 modules support wake-up by serial and PC0 and the respective wake-up time is 48ms
and 3s. The users are highly recommended to wake up the modules via serial data. When the
module is in sleep mode, the first data frame sent to the module via serial connection will wake
up the module and the following data frames are the actual data will be sent.
2.18. AT+CHOSENCOO
This command can be executed on nodes except the coordinator to get the MAC address of
coordinator in the network.
NOTE:
2. The module will save the coordinator MAC address even if the node leaves the network or
the module is powered off. It will be updated when it joins a new network.
2.19. AT+CHOSENCOO=xxxxxxxx
This command can be executed on nodes except the coordinator to set the target MAC
address as coordinator in the network.
NOTE:
1. The module will save the coordinator MAC address even if the node leaves the network or
the module is powered off.
2. If the assigned coordinator no longer exists in the network but another coordinator is
available, the MAC address will be updated to the new coordinator.
2.20. AT+MTO
This command is only valid for the coordinator. After the command is sent, the coordinator will
broadcast to refresh the network structure in 1 second. It is recommend to pause data
transmission for 3-5 seconds for network refresh as the network might be very busy during this
process.
3. Contact US