5
Mesh networking information
5.1
Local and remote concept
Remote actions or operations refer to other nodes in the network, while local actions refer to the resources on the
same node in the network.
For example, if you want to control the LEDs of nodes on the BlueNRG-Mesh app, click the icon button to invoke
the
_SetRemoteData
action from the app. This causes a
_WriteLocalDataCb
action on the node.
This is also the case when you wants to control the LEDs of the nodes of a group from the board. The LEDs on
the nodes subscribed to the Publish address will toggle when the button on the board is pressed.
The same message received on the node which needs to turn on the LEDs requires a
WriteLocal
action on
that node. This is shown in the figure below for the
SetRemote
/
WriteLocal
actions on different nodes in the
network.
Figure 15.
SetRemote/WriteLocal actions
SetRemoteData
ReadLocalData
Mesh Library
Mesh Library
Source
Destination
LED ON
User-Action to
switch on remote
node lights
Appli_ReadLocalDataCb
5.2
Acknowledged and unacknowledged messages
By default, all messages in the Mesh network are configured as unacknowledged. The difference between
acknowledged and unacknowledged messages is the response to the message. For example, a write message to
a node may have a response in acknowledged communication. Whereas, in unacknowledged communication, the
response may not be there.
You should use unacknowledged messages in the mesh network to avoid the exchange of multiple messages in
the network, which may take time to the process.
5.3
Provisioning process
The process of configuring a devices in a network is called provisioning. The process is started by a “Provisioner”,
which is a BlueNRG-Mesh app running on the smartphone.
UM2295
Mesh networking information
UM2295
-
Rev 1
page 19/35