4.1.1 BDB Initialization
The BDB initialization procedure defines the behavior of a device on initialization/Reset. As a first step, the device restores all its persistent data. Then, the further steps can vary depending on the logical device type and whether the node is already part of a network.
- If an end device is already part of a network, it tries to rejoin its parent.
- If a router is not already part of a network, it chooses a logical channel from one of the available channels in the
APP_PRIMARY_CHANNELS_MASK
.
The application can invoke BDB initialization using the following public API:
void BDB_Init(void);