Chengdu Ebyte Electronic Technology Co.,Ltd..
E52-400/900NW22S User Manual
Copyri
Copyright ©2012–2023, Chengdu Ebyte Electronic Technology Co.,Ltd.
21
Figure 7.3.1 Multicast (multicast) communication
7.4 Broadcast
The broadcast communication method does not require knowing the address of the target module.
There is no sending timeout under the broadcast module, and there is no need to establish a route, but all receiving
modules will forward the data again after receiving it. The module's built-in CSMA avoidance mechanism and
broadcast filtering mechanism can effectively prevent data collision and secondary forwarding.
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 broadcasting 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 sends user data 1234567890. Successfully sent will return SUCCESS, the user can wait for
SUCCESS to determine whether the data is sent successfully;
Step 3: Module B received the (ASCII code) 1234567890 sent from module A and converted it into HEX format as
31 32 33 34 35 36 37 38 39 30 (showing different encoding), and added additional data frame headers.