Home >Product dynamics>Product dynamics
E52-400/900NW22S remote configuration introduction

In addition to basic communication, E52-400/900NW22S 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 classification

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.


Under 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

One data forwarding ensures that modules in the entire network can receive this instruction, but there will be no radio frequency data response in broadcast configuration.

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 is about 2.5 seconds at 62.5K airspeed.

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.

1. 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 (Unicast);

Step 3: Module A uses the "AT+DST_PORT=14,0" command to modify the target port to the remote parsing AT command function;

Step 4: Module A sends the AT command “++AT+PANID=4660,0”. If sent successfully, SUCCESS will be returned;

Step 5: After receiving the instruction, module B will wait for a route establishment timeout and output the execution result of the corresponding instruction through the serial port, and respond with "+OK:" or "+FAIL:" through the radio frequency, and will send the current module The parameters are sent via radio frequency, and SUCCESS will be returned if the transmission is successful;

Step 6: Module A receives the module information responded from module B and outputs it through the serial port.

remote single configuration.jpg


2. Introduction to remote broadcast configuration

The basic steps for remote broadcast configuration are as follows:

Step 1: Module A uses the "AT+OPTION=3,0" command to change the communication mode to broadcast mode (Broadcast);

Step 2: Module A uses the "AT+DST_PORT=14,0" command to modify the target port to the remote parsing AT command function;

Step 3: Module A sends the AT command “++AT+PANID=4660,0”. If sent successfully, SUCCESS will be returned;

Step 4: After receiving the instruction, module B waits for a route establishment timeout and then outputs the execution result of the corresponding instruction through the serial port.

 

Remote broadcast configuration.jpg

Recommended article