14.2.3.1.1 BDB initialization

BDB initialization procedure define the behavior of a device on initialization/Reset. As a first step it restores all its persistent data and further the steps can differ based on the logical device type and whether the node is already part of a network. For an end device if already part of a network, it attempts rejoining with its parent. In case of router, if already not part of a network it sets the logical channel to one of the channels enabled in APP_PRIMARY_CHANNELS_MASK.Other than the above two cases, the devices will proceed with commissioning directly. Initialization of the BDB layer is required from the application before accessing any API from the BDB layer. Application can invoke BDB initialization using the below public API.

void BDB_Init(void);