Delayed Join#
API and Callbacks for the Delayed Join Component.
This component is used both for a trust center and a joining device. It provides a set of APIs for setting the acceptable delay for receiving a network key, as well as sending the network key on demand from the app. The following are the minimum conditions to verify before successfully using this component:
1.The trust center must have an acceptable version of a link key for the joining devices.
2.The component must be (re-)activated every time a network is opened or after any other event that changes the trust center (re-)join policy.
API#
Set the network timeout value.
Set the activation state of Delayed Join component.
Return true if the TC is delaying in sending the network key to newly joining devices.
Macros#
API Documentation#
emberAfPluginDelayedJoinSetNetworkKeyTimeout#
void emberAfPluginDelayedJoinSetNetworkKeyTimeout (uint8_t timeout)
Set the network timeout value.
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | timeout | timeout value. Acceptable range 3-255 Ver.: always |
emberAfPluginDelayedJoinActivate#
void emberAfPluginDelayedJoinActivate (bool activated)
Set the activation state of Delayed Join component.
Type | Direction | Argument Name | Description |
---|---|---|---|
bool | N/A | activated | Indicates whether to activate the Delayed Join functionality |
emberAfPluginDelayedJoinIsActivated#
bool emberAfPluginDelayedJoinIsActivated (void )
Return true if the TC is delaying in sending the network key to newly joining devices.
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |