Zll Commissioning Common#

Callbacks for Zll Commissioning Common Component.

Callbacks#

void
sl_zigbee_af_zll_commissioning_common_initial_security_state_cb(sl_zigbee_zll_initial_security_state_t *securityState)

Initial security state.

void
sl_zigbee_af_zll_commissioning_common_touch_link_complete_cb(const sl_zigbee_zll_network_t *networkInfo, uint8_t deviceInformationRecordCount, const sl_zigbee_zll_device_info_record_t *deviceInformationRecordList)

Touch link complete.

Callbacks Documentation#

sl_zigbee_af_zll_commissioning_common_initial_security_state_cb#

void sl_zigbee_af_zll_commissioning_common_initial_security_state_cb (sl_zigbee_zll_initial_security_state_t * 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 ::sl_zigbee_zll_initial_security_state_t 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 131 of file app/framework/plugin/zll-commissioning-common/zll-commissioning-common.h

sl_zigbee_af_zll_commissioning_common_touch_link_complete_cb#

void sl_zigbee_af_zll_commissioning_common_touch_link_complete_cb (const sl_zigbee_zll_network_t * networkInfo, uint8_t deviceInformationRecordCount, const sl_zigbee_zll_device_info_record_t * 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 145 of file app/framework/plugin/zll-commissioning-common/zll-commissioning-common.h

sl_zigbee_af_zll_commissioning_common_reset_to_factory_new_cb#

void sl_zigbee_af_zll_commissioning_common_reset_to_factory_new_cb (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 159 of file app/framework/plugin/zll-commissioning-common/zll-commissioning-common.h