Chengdu Ebyte Electronic Technology Co.,Ltd..
E52-400/900NW22S User Manual
Copyri
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd.
22
Figure 7.4.1 Broadcast communication
7.5 Anycast function (Anycast)
Anycast communication is generally used for communication between different networks, and different networks
have different network identification codes. Unicast, multicast, and broadcast communication methods cannot
directly interact with data between networks. In this case, anycast can be used to interact with data between different
networks.
Anycast communication can send data to a single or all nodes within the single-hop coverage according to the set
target address.
Data cannot be relayed and responded to in anycast mode.
Anycast cannot guarantee the reliability of data transmission, similar to simple data transparent transmission.
User data cannot be module internal AT commands, otherwise they will be recognized by the module as AT
commands, resulting in user data being unable to be sent.
The basic operation steps of anycast 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 or use the "AT+DST_ADDR=65535,0" command to configure the target address to all modules;
Step 3: Module A uses the "AT+OPTION=4,0" command to change the communication mode to anycast mode
(Anycast);
Step 4: Module A sends user data 1234567890. If the transmission is successful, SUCESS will be returned. The user
can wait for SUCCESS to determine whether the data is sent successfully;
Step 5: Module B receives the (ASCII code) 1234567890 sent from module A and converts it into HEX format as
31 32 33 34 35 36 37 38 39 30 (showing different encoding), and adds additional data frame headers.