Chengdu Ebyte Electronic Technology Co.,Ltd.
E103-W07 User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
22
5.5.9 AT+MESTATUS Current mesh network status
Instruction
Answer
Inquiry
AT+MESTATUS?
+ MESTATUS: [type],[connected],[layer],[node num],[parent addr],[local sta addr], local ap
addr],[child num][child addr]…
Parameter
type
Node type, refer to "3.4.6 AT+METYPE Node Type in the Net" for definition.
connected
0, not connected; 1 connected
layer
The current layer. Refer to the definition in "3.4.5 AT+MECAPACITY MESH network capacity"
Node num
The total number of current network nodes, including ROOT nodes
parent_addr
Parent node address
local_sta addr
Local station address
local_ap addr
Local ap address
Child num
Number of child nodes
Child addr
Child node address
Descriptio
n
In many cases, there is not only one child node of a node. When the instruction returns the address of the child
node, all are returned. Through nodes, parent nodes, and child nodes, the actual topology of the network can be
directly reflected.
Example
+MESTATUS=1,1,10,”01:01:01:01:01:01”,”00:00:00:00:00:01”,”00:00:00:00:00:02”,”00:00:00:00:00:03”,1, ”00:00:00:
00:00:04”
5.5.10 +MEDAT report Mesh network data
Receive data
+MEDAT:<”src addr”>,[len]
Parameter
Src addr
Data source address
Len
Data length
Description
1.
AT+CIPDINFO=1, the output data contains Src addr; AT+CIPDINFO=0, the output data packet does not
contain Src ADDR;
2.
After the module receives the MESH data, it actively reports it.
3.
After the module receives the data, it outputs the instruction and then outputs the data.
4.
If the output data length is greater than 1440 bytes, it will be output in packets.
Example
1.When AT+CIPDINFO=1, output data packet:
+MEDAT:“11:11:11:11:11:11“,10
hellw mesh.
2.When AT+CIPDINFO=0, output data
+MEDAT: 10
hellw mesh.
3.When AT+CIPDINFO=0, the output data is greater than 1540 bytes:
+MEDAT:“11:11:11:11:11:11“,1440
……<payload>……