Figure 17.
Provisioning steps
The provisioning is executed by GATT connection between the smartphone and the unprovisioned device.
RELATED LINKS
5.4 GATT connection/disconnection node on page 21
5.4
GATT connection/disconnection node
Each node in the network has the capability to make connection with the smartphone through GATT interface.
When this connection is established, the node becomes a “proxy”. The proxy has the responsibility to bridge the
commands and response between the Mesh network and the smartphone. The detection of connection and
disconnection with smartphone is managed by the following callbacks
Appli_BleGattConnectionCompleteCb;
Appli_BleGattDisconnectionCompleteCb;
These are initialized during the main loop. It can be interesting sometimes to know which node is connected to the
smartphone when there are many nodes nearby.
During provisioning, the GATT connection is established with the node which needs to be provisioned. It may be
noted that if the smartphone moves out of the range of the proxy node, it establishes a new connection with the
node which is available. For example: in the example project, for
BlueNRG-1
and
BlueNRG-2
, a LED indication
(LED2) is used to show the proxy connection.
RELATED LINKS
5.3 Provisioning process on page 19
UM2295
GATT connection/disconnection node
UM2295
-
Rev 1
page 21/35