Zll Commissioning Common#

Callbacks for Zll Commissioning Common Component.

Callbacks#

void
emberAfPluginZllCommissioningCommonInitialSecurityStateCallback(EmberZllInitialSecurityState *securityState)

Initial security state.

void
emberAfPluginZllCommissioningCommonTouchLinkCompleteCallback(const EmberZllNetwork *networkInfo, uint8_t deviceInformationRecordCount, const EmberZllDeviceInfoRecord *deviceInformationRecordList)

Touch link complete.

Callbacks Documentation#

emberAfPluginZllCommissioningCommonInitialSecurityStateCallback#

void emberAfPluginZllCommissioningCommonInitialSecurityStateCallback (EmberZllInitialSecurityState *securityState)

Initial security state.

Parameters
N/AsecurityState

The security configuration to be populated by the application and ultimately set in the stack. Ver.: always

This function is called by the ZLL Commissioning Common plugin to determine the initial security state to be used by the device. The application must populate the EmberZllInitialSecurityState structure with a configuration appropriate for the network being formed, joined, or started. After the device forms, joins, or starts a network, the same security configuration will remain in place until the device leaves the network.


Definition at line 136 of file app/framework/plugin/zll-commissioning-common/zll-commissioning-common.h

emberAfPluginZllCommissioningCommonTouchLinkCompleteCallback#

void emberAfPluginZllCommissioningCommonTouchLinkCompleteCallback (const EmberZllNetwork *networkInfo, uint8_t deviceInformationRecordCount, const EmberZllDeviceInfoRecord *deviceInformationRecordList)

Touch link complete.

Parameters
N/AnetworkInfo

The ZigBee and ZLL-specific information about the network and target. Ver.: always

N/AdeviceInformationRecordCount

The number of sub-device information records for the target. Ver.: always

N/AdeviceInformationRecordList

The list of sub-device information records for the target. Ver.: always

This function is called by the ZLL Commissioning Common plugin when touch linking completes.


Definition at line 150 of file app/framework/plugin/zll-commissioning-common/zll-commissioning-common.h

emberAfPluginZllCommissioningCommonResetToFactoryNewCallback#

void emberAfPluginZllCommissioningCommonResetToFactoryNewCallback (void)

Reset to factory new.

Parameters
N/A

This function is called by the ZLL Commissioning Common plugin when a request to reset to factory new is received. The plugin will leave the network, reset attributes managed by the framework to their default values, and clear the group and scene tables. The application should perform any other necessary reset-related operations in this callback, including resetting any externally-stored attributes.


Definition at line 164 of file app/framework/plugin/zll-commissioning-common/zll-commissioning-common.h