Chengdu Ebyte Electronic Technology Co.,Ltd..
E52-400/900NW22S User Manual
Copyri
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd.
25
Ⅷ. Remote Configuration
8.1 Introduction to remote configuration
In addition to basic communication, the module also supports remote configuration functions.
Since remote
configuration can change the basic communication parameters of the entire network, it needs to be used with
caution to avoid changing important parameters of some nodes and preventing normal communication with the
previous network.
Remote configuration can be divided into two types: single-point configuration and broadcast configuration. In both
configuration modes, the instruction will be executed after a certain period of delay. The purpose is to maintain the
current parameters and continue to forward the data to the next-level module to ensure that the data can be
transmitted to the entire network and then take effect.
In single-point configuration, routing also needs to be established in advance. When the target receiving module
receives the correct AT command, it will return "+OK" or "+FAIL" through the radio frequency to indicate the
module execution result. Under broadcast configuration, it is still the same as basic broadcast communication. All
modules that receive data will forward the data once to ensure that modules in the entire network can receive this
instruction. However, under broadcast configuration, there will be no radio frequency data response.
The default target port used for normal basic communication is port 1. The corresponding function is to output the
data sent by the user directly through the serial port and add additional information frame headers. The target port
used for remote configuration is port 14. The corresponding function is to parse the remote configuration
instructions sent by the user and delay execution or response after a period of time. The remote configuration
command needs to be additionally added with "++" to distinguish it from the local configuration.
After the remote
configuration is completed, the target port should be restored to port 1 in time to avoid affecting the next basic
communication.
The delay time is different under different airspeeds. The specific delay time is as follows (a route establishment
timeout time):
The command delay execution time at 62.5K airspeed is about 2.5 seconds.
The command delay execution time is about 5 seconds at 21.875K airspeed.
The command delay execution time is about 15 seconds at 7K airspeed.
8.2 Introduction to remote single point configuration
The basic steps for remote single-point configuration are as follows:
Step 1: Module A uses the "AT+DST_ADDR=26034,0" command to configure the target address as the address of
module B;
Step 2: Module A uses the "AT+OPTION=1,0" command to change the communication mode to unicast mode