Ebyte E103-W07 User manual

E103-W07 User Manual
WIFI MESH

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 1
Contents
Disclaimer.............................................................................................................................................................4
1 Introduction........................................................................................................................................................5
1.1 Brief Introduction........................................................................................................................................5
1.2 Features.......................................................................................................................................................5
2 Electrical characteristics.................................................................................................................................... 5
2.1 Absolute maximum ratings......................................................................................................................... 5
2.2 Recommended working conditions.............................................................................................................6
2.3 RF characteristics........................................................................................................................................6
3 Hardware description.........................................................................................................................................6
3.1 Mechanical size and pin definition............................................................................................................. 6
3.2 Mechanical size and pin definition............................................................................................................. 9
3.3 Module size.................................................................................................................................................9
3.4 PCB package pattern.................................................................................................................................10
4 Detailed function............................................................................................................................................. 11
4.1 The term.................................................................................................................................................... 11
4.2 Tree topology............................................................................................................................................ 11
4.3 Node type selection............................................................................................................................. 12
4.4 Mesh networking................................................................................................................................. 12
4.4.1 Automatic networking........................................................................................................................... 12
4.4.2 Manual networking................................................................................................................................ 12
4.5 Networking with and without routers..................................................................................................12
4.6 MESH data flow.................................................................................................................................. 13
4.7 MQTT..................................................................................................................................................13
4.7.1 Quality Service Level QoS.................................................................................................................... 13
4.7.2 Quality Service Level QoS.................................................................................................................... 13
5 AT Command.................................................................................................................................................. 14
5.1 Constraints........................................................................................................................................... 14
5.2 Error code............................................................................................................................................ 14
5.3 Status return.........................................................................................................................................15

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 2
5.4 Basic instructions.................................................................................................................................16
5.4.1 AT test....................................................................................................................................................16
5.4.2 AT+RESET restart.................................................................................................................................16
5.4.3 AT+RESTORE restore factory settings.................................................................................................17
5.4.4 AT+BAUD serial port baud rate............................................................................................................17
5.4.5 AT+UART UART Settings................................................................................................................... 17
5.5 Mesh network...................................................................................................................................... 18
5.5.1 AT+ROUTER router parameters...........................................................................................................18
5.5.2 AT+MESHID mesh ID setting or query................................................................................................18
5.5.3 AT+MEAP mesh network ap information.............................................................................................19
5.5.4 AT+MECHANNEL MESH network channel....................................................................................... 19
5.5.5 AT+MECAPACITY MESH network capacity..................................................................................... 20
5.5.6 AT+METYPE The type of node in the network....................................................................................20
5.5.7 AT+MESTART start mesh....................................................................................................................21
5.5.8 AT+MESEND send MESH data........................................................................................................... 21
5.5.9 AT+MESTATUS Current mesh network status....................................................................................22
5.5.10 +MEDAT report Mesh network data...................................................................................................22
5.5.11 AT+MEAUTO Power-on automatic networking................................................................................ 23
5.6 TCP/IP communication....................................................................................................................... 23
5.6.1 AT+CIFSR query ROOT node IP address.............................................................................................23
5.6.2 AT+CIPSTART establish TCP connection, UDP transmission............................................................23
5.6.2.1 TCP communication....................................................................................................................... 23
5.6.2.2 UDP communication...................................................................................................................... 24
5.6.3 AT+CIPCLOSE Close TCP and UDP communication.........................................................................25
5.6.4 AT+CIPSERVER Create and close TCP service.................................................................................. 25
5.6.5 AT+CIPSEND send TCP UDP data......................................................................................................25
5.6.6 AT+CIPDINFO TCP output data configuration....................................................................................26
5.6.7 +IPD receive TCP UDP data................................................................................................................. 26
5.7 MQTT communication........................................................................................................................ 27
5.7.1 AT+MQTTUSERCFG MQTT user configuration information............................................................ 27
5.7.2 AT+MQTTCONNCFG MQTT connection configuration information................................................ 27
5.7.3 AT+MQTTCONN connect to MQTT Brokers......................................................................................28

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 3
5.7.4 AT+MQTTPUB publish MQTT message............................................................................................. 28
5.7.5 AT+MQTTSUB Subscribe to topic.......................................................................................................29
5.7.6 AT+MQTTUNSUB Unsubscribe topic................................................................................................. 29
5.7.7 AT+MQTTCLEAN close MQTT connection....................................................................................... 29
5.7.8 +MQTTSUBRECV MQTT receive data............................................................................................... 29
6 Quick guide......................................................................................................................................................30
6.1 Module power up.................................................................................................................................30
6.2 Module preparation is complete.......................................................................................................... 30
6.3 MESH networking...............................................................................................................................30
6.3.1 With routing, manual networking.......................................................................................................... 30
6.3.2 Send and receive data.............................................................................................................................31
6.4 Socket communication........................................................................................................................ 32
6.4.1 TCP Client............................................................................................................................................. 32
6.4.2 TCP Server.............................................................................................................................................32
6.4.3 Socket communication...........................................................................................................................32
6.5 Mqtt communication............................................................................................................................33
6.5.1 Configure, connect.................................................................................................................................33
6.5.2 Subscribe to topics........................................................................................................................... 33
6.5.3 Release the news.................................................................................................................................... 33
7 Common problems...........................................................................................................................................34
7.1 Transmission distance is not ideal....................................................................................................... 34
7.2 Module is easily damaged................................................................................................................... 34
7.3 Bit error rate is too high.......................................................................................................................34
8 Welding operation guidance............................................................................................................................ 35
8.1 Reflow temperature............................................................................................................................. 35
8.2 Reflow soldering curve........................................................................................................................35
9 Disclaimer........................................................................................................................................................36
Revision history.................................................................................................................................................. 36
About us..............................................................................................................................................................36

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 4
Disclaimer
EBYTE reserves all rights to this document and the information contained herein.
Products, names, logos and designs described herein may in whole or in part be
subject to intellectual property rights. Reproduction, use, modification or disclosure to
third parties of this document or any part thereof without the express permission of
EBYTE is strictly prohibited.
The information contained herein is provided “as is” and EBYTE assumes no
liability for the use of the information. No warranty, either express or implied, is given,
including but not limited, with respect to the accuracy, correctness, reliability and
fitness for a particular purpose of the information. This document may be revised by
EBYTE at any time. For most recent documents, visit www.ebyte.com.

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 5
1 Introduction
1.1 Brief Introduction
E103-W07 is a WIFI MESH module based on the ESP32-S2 chip solution.
E103-W07 is a set of network protocols based on Wi-Fi protocol. ESP-MESH
allows a large number of devices (hereinafter referred to as nodes) distributed in a
large area (indoor and outdoor) to be connected to each other in the same WLAN
(wireless local area network). E103-W07 has the characteristics of self-organizing
and self-repairing, which means that the mesh network can be independently
constructed and maintained.
1.2 Features
Support AT commands;
Support serial communication and flow control. The baud rate supports up to 128000;
Support WIFI MESH;
Up to 1000 MESH nodes;
Support custom MESH roles;
Support automatic and manual networking;
Support routing networking and non-routing networking;
Support configuration of MESH network capacity
Support 1 TCP Server, maximum 8 connections;
Support TCP Client, UDP communication, up to 8 Sockets, and can coexist;
Support TCP Server, TCP Client, UDP coexistence;
Support MQTT V3.1.1.
Intelligent street lamp.
2 Electrical characteristics
2.1 Absolute maximum ratings
Symbol
Parameter
Minimum
Max
Remark
VDD33
Power pin voltage
–0.3
3.6
V
TSTORE
Storage temperature
–40
85
°C

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 6
2.2 Recommended working conditions
Symbol
Main parameter
Performance
Remark
Min
Type
Max
VDD33
Power pin voltage
3.0
3.3
3.6
V
IVDD
Supply current of external
power supply
0.5
—
—
A
T
Recommended working
temperature
–40
—
85
°C
Humidity
humidity
—
85
—
%RH
Imax
Peak current
400
mA
I
Average current
100
mA
2.3 RF characteristics
Working channel center frequency range
2412~2484MHz
Wi-Fi
Protocol IEEE802.11b/g/n
Antenna type
PCB,IPEX Antenna
Distance
With router @Mercury MW305R
200m
Between modules
100m
3 Hardware description
3.1 Mechanical size and pin definition

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 7
Item
Pin No.
type
Features
GND
1
P
Grounded
3V3
2
P
Power supply
IO0
3
I/O/T
RTC_GPIO0,GPIO0
IO1
4
I/O/T
Restore, the pin is internally pulled up. Used to restore factory settings. Pin to ground 10ms,
and then to VCC 10ms, reset the parameters.
IO2
5
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO3
6
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO4
7
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO5
8
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO6
9
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO7
10
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO8
11
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO9
12
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO10
13
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO11
14
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO12
15
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO13
16
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO14
17
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO15
18
I/O/T
U0RTS
IO16
19
I/O/T
U0CTS
IO17
20
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO18
21
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO19
22
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO20
23
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 8
Minimal schematic diagram
IO21
24
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO26
25
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
GND
26
P
Grounded
IO33
27
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO34
28
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO35
29
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO36
30
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO37
31
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO38
32
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO39
33
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO40
34
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO41
35
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO42
36
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
TXD0
37
I/O/T
U0TXD
RXD0
38
I/O/T
U0RXD
IO45
39
I/O/T
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
IO46
40
I
Unused. For pin definition, please refer to "ESP32-S2-WROOM Technical
Specification.pdf"
EN
41
I
High level: chip enable;
Low level: the chip is off;
Be careful not to let the EN pin float.
GND
42
P
Grounded

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 9
3.2 Mechanical size and pin definition
3.3 Module size

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 10
3.4 PCB package pattern

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 11
4 Detailed function
4.1 The term
Node:
Any device that is or can be part of the ESP-MESH network.
ROOT Node:
The node at the top of the network. The Mesh network has one and only one root node.
Child Node:
If node X is connected to node Y, and X is farther from the root node than Y (the number of connections crossed is
more), then X is called a child node of Y.
Node address:
The MESH network uses MAC address + IP address port. Any node has two MAC addresses: AP and STA.
The MESH network address is the AP MAC address, and the MAC address of the parent node is the AP's MAC
address.
The child node address is the STA MAC address.
The MAC address of the STA is stored in the Mesh routing table;Only the root node has an IP address, and other
nodes have no IP addresses.
MESH ID:
MESH ID is the identification of the Mesh network.
4.2 Tree topology

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 12
4.3 Node type selection
E104-W07 supports three types of nodes: unconnected nodes, root nodes, ordinary nodes, and leaf nodes.
If the module uses the default node type (node not connected to the network) MESH network is started, the
module automatically enumerates to generate the root node. If the specified module is the root node, the module will give
up automatic enumeration.
The module automatically enumerates the root node, based on the strongest router signal obtained from all nodes,
which is the root node.
In the MESH network, only the root node can access the socket master. Other nodes communicate with the external
network and can use the root node to forward data.
Leaf nodes are only generated during automatic networking. Manually specifying the node type does not support
specifying as a leaf node.
4.4 Mesh networking
The module supports two networking modes: manual networking and automatic networking.
4.4.1 Automatic networking
Automatic networking, without user intervention, automatically enumerate ROOT nodes after the module is
powered on, and automatically select the parent node. The user only needs to communicate after the networking is
completed. Automatic networking can avoid too deep network layers and too complicated routing.
In automatic networking, the node type can only be configured as an idle node.
4.4.2 Manual networking
For manual networking, users can specify the modules as ROOT nodes and ordinary nodes.
Note: Before the MESH network is officially built, it must be ensured that all nodes in the network have the same
configuration. Each node must be configured with the same MESH ID, router configuration, and softAP configuration.
4.5 Networking with and without routers
The so-called router network refers to whether the router is connected according to the node.
The module supports these two networking modes. No routing network does not need to specify the router ssid,
password. But the channel must be specified. If there is a router network, the channel may not be specified. If the
specified channel is different from the routing channel, or the channel is not specified, then the root node needs to scan
the full channel, so that it takes longer to connect to the router; if the correct channel is specified, join the router Time
will be soon.

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 13
4.6 MESH data flow
In the MESH grid, only the root node has the TCP/IP protocol stack, which means that only the base node can
connect to the Internet for communication. Only the root node supports TCP, UDP, and MQTT.
In use, ordinary nodes can send data to the root node, and the root node forwards the data to the Internet.
4.7 MQTT
For more MQTT knowledge, please refer to the Chinese website: http://mqtt.p2hp.com/ .
4.7.1 Quality Service Level QoS
QoS 0:Distribute once at most. The performance of the underlying network since the message was distributed. The
recipient can only receive the message once, or not even once.
QoS 1:Distribute at least once. The quality of service in this case ensures that the message reaches the recipient at
least once.
QoS 2:is distributed exactly once. This is the highest quality of service and is used in situations where lost and
duplicate messages are unacceptable. This quality of service will increase overhead.
4.7.2 Quality Service Level QoS
The client and server can store the session state so that they can reliably deliver messages across a series of network
connections. This is used to control the life cycle of the session state.
If CleanSession is set to 0, the server must resume communication with the client according to the current session
state (the client's unique identifier is used as the session identifier). If there is no drawing related to the unique identifier
of the client, the server must create a new session. The client and server must store the session after disconnecting
[MQTT-3.1.2-4]. When the session with CleanSession as 0 is disconnected, the server must also store all QoS1 and QoS2
messages related to the client's subscription as part of the session state [MQTT-3.1.2-5]. You can also choose to store the
QoS0 message.
If CleanSession is set to 1, the client and server must disconnect the previous session and start a new session. The
session exists as long as the network connection exists. The state data of a session must not be reused by subsequent
sessions [MQTT-3.1.2-6].

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 14
5 AT Command
5.1 Constraints
1. AT command is character content;
2. The AT command ends with "\r\n" (the AT command will not be described in the following section).
3. AT commands do not distinguish between upper and lower case, but the parameters are case-sensitive.
4. AT command execution error return format: +ERROR:<CODE>\r\n
5. [params] are required parameters, and <params> are optional parameters.
6. All character parameters must use "".
5.2 Error code
CODE
Description
Possible Causes
Solution
0
Instruction does not exist
Confirm whether the instruction is
supported
1
Parameter length error
Check parameter length
2
Wrong number of parameters
Check the number of parameters
3
Parameter error
Check parameter content
4
Null pointer
5
Limited resources
6
The queue is empty
7
Incomplete initialization
8
Parameters not configured
9
wrong address
100
The operation is not supported
101
AT address does not exist
102
AT command format error
300
Mesh is not initialized
301
Mesh startup error
Incorrect parameter
settings
302
Mesh has been successfully
connected
303
Mesh is not connected
304
Node type configuration error
305
Mesh is not connected
This command is mainly
returned in TCP UDP
MQTT
400
Flash operation error
401
Factory default parameters are

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 15
damaged
402
Flash is full
403
The record was not found
404
405
Flash update error
405
Does not support saving this
record
600
Failed to create socket
601
Connection failed
602
Failed to bind local port
603
Failed to listen to the local port
604
Tcp server already exists
Only support the creation
of a tcp server
605
Link id has been used
606
Error while accepting remote
connection
607
Connection does not exist
608
Reconnect more than 5 times
700
Mqtt connection error
Parameter problem
701
The current mqtt has been
disconnected
5.3 Status return
Node connected to parent node
instruction
+ME:"PARENT CONNECT", ["mac"]
parameter
Mac:
Parent node MAC address
Description
ROOT nodes without routing will not output this state;
Disconnect the parent node
instruction
+ME:"PARENT DISCONNECT", ["mac"]
parameter
Mac
Parent node MAC address
Description
no
There are child nodes connected
instruction
+ME:"CHILD CONNECT", ["mac"]
parameter
Mac
MAC address of child node
Description
no
Child node disconnected
instruction
+ME:"CHILD DISCONNECT", ["mac"]
parameter
Mac
MAC address of child node
Description
no
Get IP successfully

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 16
instruction
+ME:"IP", ["IP"]
parameter
IP
IP address assigned by the router
Description
1. Only ROOT nodes return;
2. It means that the Root node is successfully connected to the router, after which tcp, udp, and mqtt
communication can be carried out.
There is a new TCP client connected to the local service
instruction
+IP:"CONNECT", [linkid], ["IP"], [port]
parameter
LinkID
Connection id. Used to mark the socket link
IP
Remote IP. "192.168.0.2"
port
Remote port
Description
Create TCP server locally, output when remote tcp clinet connects;
TCP connection lost
instruction
+IP:"DISCONNECT", [linkId]
parameter
LinkID
Connection ID
Description
1. Output when remote TCP client and local client are disconnected
Mqtt connects to Broker
instruction
+MQTT:CONNECT
parameter
no
Description
no
Mqtt disconnect
instruction
+MQTT:DISCONNECT
parameter
no
Description
no
5.4 Basic instructions
5.4.1 AT test
Instruction
Answer
AT
+OK
Description: None
5.4.2 AT+RESET restart
Instruction
Answer
AT+RESET
+OK
Description: effective immediately

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 17
5.4.3 AT+RESTORE restore factory settings
Instruction
Answer
AT+RESTORE
+OK
Description:
After resetting, it will restart automatically;
During the process of restoring the factory settings, any form of reset is prohibited, and the power off before the operation is
completed is prohibited.
5.4.4 AT+BAUD serial port baud rate
Instruction
Answer
Inquire
AT+BAUD?
+ BAUD :[para]
Set up
AT+BAUD=[para]
+OK: success
+ERR:[NUM]: Error
parameter
Maximum support 12800bps
Description
Restart to take effect
Example
AT+BAUD=115200. Set the baud rate to 115200
5.4.5 AT+UART UART Settings
Instruction
Answer
Inquire
AT+UART?
+UART: [baud],[databits],[parity],[stopbits],[hw]
Set up
AT+UART=[baud],[databits],[parity],[stopbits],[hw]
+OK: success
+ERR:[NUM]: Error
parameter
parameter
description
baud
1200 ~5M (default 115200)
UART baud rate
databits
0
5 bits
1
6 bits
2
7 bits
3 (default)
8 bits
parity
0 (default)
No verification
2
Even parity
3
Odd parity
stopbits
1 (default)
Stop bit is 1bit
2
The stop bit is 1.5bits
3
Stop bit is 2bits
HW
0 (default)
not support
3
Hardware flow control
Description
Restart to take effect

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 18
Example
AT+UART=115200,3,0,1,0
5.5 Mesh network
5.5.1 AT+ROUTER router parameters
Instruction
Answer
Inquire
AT+ROUTER?
+ROUTER: ["ssid"],["password"],[routerswitchdisable],["bssid"]
Set up
AT+ROUTER=[“ssid”],[“password”]
,<routerswitchdisable>,<“bssid”>
+OK success
+ERR:[NUM] error
Parameter
ssid
WIFI name. The maximum length of the string is 31 bytes
password
WIFI password. The string length is 8~63 bytes
routerswitchd
isable
0
Enable switching
1 (default)
No switching
-
——
bssid
Router MAC address. Fixed to 6 bytes
Description
1. Restart to take effect, save when power off;
2. The default value is all empty, or 0
3. If the router SSID is hidden, the BSSID must be specified;
4. In the actual application scenario, there are multiple routers/APs with the same SSID. At this time, the
BSSID must be specified, otherwise multiple MESH networks will appear, causing nodes to be unable to
communicate with each other.
5. If the BSSID is specified, but routerswitchdisable is not set, when the router with the specified BSSID is
still not found after several times, the entire network is allowed to switch to another router with the same
SSID. The new router may also be on a different channel.If the passwords of the new switching router and
the previous router are different, a mesh network may be established, but the root node will never connect
to the new switching router, which is a risk
Example
Get the current router settings:
AT+ROUTER?
Module response:
+ROUTER:"test","1357924680",0,"00:00:00:00:00:00"
Set the router name to: test01, the password to: 12345678, and no designated router MAC address:
AT+ROUTER="test01","12345678"
Set the router name as: test02, the password as: 12345678, and the designated router MAC as: 01:02:03:04:05:06;
AT+ROUTER="test02","12345678",0,"01:02:03:04:05:06"
Set the router name: test03, no password, no specified MAC
AT+ROUTER="test02"
5.5.2 AT+MESHID mesh ID setting or query
Instruction
Answer

Chengdu Ebyte Electronic Technology Co.,Ltd. E103-W07 User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd. 19
Inquire
AT+MEID?
+MEID:["mesh id"]
Set up
AT+ MEID = ["mesh id"]
+OK success
+ERR:[NUM] error
parameter
mesh id
The identity of the Mesh network. It consists of 6 bytes.
XX:XX:XX:XX:XX:XX
Description
1. Restart to take effect, save when power off
2. Default value: "00:00:00:00:00:01"
3. MESH ID is the MESH network identification. Modules with different MESH IDs cannot join the
same network.
Example
Get the mesh ID:
AT+MEID?
Module response:
+MEID: "00:00:00:00:00:01"
AT+MEID=”00:00:00:00:00:22"
5.5.3 AT+MEAP mesh network ap information
Instruction
Answer
Inquiry
AT+MEAP?
+MEAP:[“ password”]
Setting
AT+ MEAP = [“password“]
+OK Success
+ERR:[NUM] Error
Parameter
password
Password is a character string, its length range: 8~63 bytes
Description
1. Restart to take effect, save when power off
2. Default: 12345678;
3. In the same network, the password must be the same, otherwise you cannot join;
Example
Get mesh ap information:
AT+MEAP?
Module response:
+MEAP:"12345678"
AT+MEAP=”11111111"
5.5.4 AT+MECHANNEL MESH network channel
Instruction
Answer
Inquiry
AT+MECHANNEL?
+ MECHANNEL:=[channel],[channel switch]
Setting
AT+MECHANNEL=[channel],[channel switch]
+OK Success
+ERR:[NUM] Error
Parameter
channel
MESH network channel. Value range 1 ~ 14. The default
is 1
channel switch
0(default)
Enable channel switching
1
Prohibit channel switching
Table of contents
Other Ebyte Wireless Module manuals

Ebyte
Ebyte E72-2G4M20S1E User manual

Ebyte
Ebyte E62 Series User manual

Ebyte
Ebyte E22-400T22DC User manual

Ebyte
Ebyte E220P-400T22S User manual

Ebyte
Ebyte E10-433MD-SMA User manual

Ebyte
Ebyte E49-900T20S User manual

Ebyte
Ebyte E29-T Series User manual

Ebyte
Ebyte E103-W11 User manual

Ebyte
Ebyte E31-433T27D User manual

Ebyte
Ebyte E610-433T S Series User manual

Ebyte
Ebyte E22 Series User manual

Ebyte
Ebyte E18-TBL-01 User manual

Ebyte
Ebyte E104-BT12NSP-TB User manual

Ebyte
Ebyte E73-2G4M04S1B User manual

Ebyte
Ebyte E32 Series User manual

Ebyte
Ebyte E30-400M20S User manual

Ebyte
Ebyte E30-900M30S User manual

Ebyte
Ebyte E70-433T30S User manual

Ebyte
Ebyte E32-400M20S User manual

Ebyte
Ebyte E22-400M22S User manual