
Chengdu Ebyte Electronic Technology Co.,Ltd.
E103-W07 User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
31
STEP 2.
Configure MESH ID (default id “00:00:00:00:00:01”):
AT+MEID="AB:77:77:77:77:cd"\r\n
+OK\r\n
STEP 3.
Configure MESH AP password (default: 12345678):
at+meap="MAP_32144556"\r\n
+OK\r\n
STEP 4.
Configure the channel (default channel: 1; switchable)
AT+mechannel=1,0\r\n
+OK\r\n
Note:
The above parameters Root node and ordinary nodes must be consistent, otherwise the network cannot be
successfully established
.
STEP 5.
Configure node type (default: 0 (no specified type)):
AT+METYPE=1\r\n
+OK\r\n
STEP 6.
Start networking
at+mestart\r\n
+OK\r\n
Mesh starts networking, Root is responsible for creating the network and waiting for child nodes to join; ordinary
nodes find available Mesh networks and join the mesh network group. The networking process is as follows:
ROOT NODE
NORMAL NODE
+ME:"PARENT CONNECT","b8:f8:83:3b:72:e0"
+ME:"IP","192.168.0.172"
+ME:"CHILD CONNECT","7c:df:a1:05:8c:76"
+ME:"PARENT CONNECT","7c:df:a1:00:e8:39"
Since then, data can be sent and received between nodes.
6.3.2 Send and receive data
STEP 1.
ROOT node sends data to child nodes (hello mesh.):
AT+MESEND="7c:df:a1:05:8c:76",11\r\n
+OK\r\n
>
STEP 2.
After the module returns ">", the data can be sent
Hello mesh.
+OK:11\r\n
STEP 3.
After receiving the data, the child node actively reports:
+MEDAT:11,"7c:df:a1:00:e8:38",hello mesh.
STEP 4.
The number of child nodes sent to the root node (root node) (hello mesh.)