Mesh Data Flow; Mqtt; Quality Service Level Qos - Ebyte E103-W07 User Manual

Wifi mesh
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.

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].
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
E103-W07 User Manual
13

Advertisement

Table of Contents
loading

Table of Contents