The following are the steps to configure the nodes:
- 1.The user can connect to any of the last
Paired/Connected devices. If connection is through the previous connection details,
configure the modules such that one of the nodes, for example, Node A, initiates the
connection and the other node, for example, Node B, waits for Node A to initiate the
connection by sending the request to join. The LED (green) is still toggling, which
indicates the unconnected state of the nodes (see the following figure). For a new
connection, refer to step 7.
- 2.At Node A and Node B, press switch S1 to connect
to the previous node.
Figure 1. Connecting to Last Paired/Connected Devices
- 3.The user can now press switch S1 to initiate the
connection from Node A. At Node B, also press switch S1 to wait for a peer
connection request (see the following figure).
Figure 2. Initiating or Waiting
for a Connection Request
- 4.Node A can select one of the MAC_ADDR (MAC
addresses) from the Trusted Device List (TDL) to enable sending a connection request
to Node B (see the following figure).
- 5.Press switch S1 at Node A to connect to any of
the previously connected peer devices (in this case, Node B).
Figure 3. Selecting Addresses
from Trusted Device List (TDL)
- 6.An attempt to connect to the selected MAC_ADDR is
done (that is, Node A connecting to Node B) (see the following figure). Upon
successful connection, the toggling LED (green) becomes stable (refer to step 1 of Post Connection). If there are no devices selected in the previous step, Node A
cannot connect to any of the devices from TDL.
Figure 4. Connecting to the
Selected Device/Node
- 7.The user can choose whether a factory reset must
be done (see the following figure).
Figure 5. Factory Reset
Note: Avoid performing a
factory reset before testing the code if the module contains important
settings. The factory reset restores all the factory defaults and erases
any previous settings.
- 8.The module displays its MAC_ADDR, which the user
must make a note of for further selection and configuration (see the following figure).
Figure 6. Device MAC_ADDRESS
Display