EZ Mode Commissioning#
API and Callbacks for the EZ Mode Commissioning Component.
This component provides a function set for implementing EZ Mode commissioning.
Modules#
API#
Start EZ Mode client commissioning.
Begin EZ Mode server commissioning.
Begin EZ Mode server commissioning with a given timeout.
Enumerations#
API Documentation#
sl_zigbee_af_ezmode_client_commission#
sl_status_t sl_zigbee_af_ezmode_client_commission (uint8_t endpoint, sl_zigbee_af_ez_mode_commissioning_direction_t direction, const uint16_t * clusterIds, uint8_t clusterIdsLength)
Start EZ Mode client commissioning.
N/A | endpoint | The endpoint to send the identify query command from |
N/A | direction | The side of the cluster IDs given either client or server |
N/A | clusterIds | An array of clusters against which to match. NOTE The API only keeps the pointer to to the data structure. The data is expected to exist throughout the EZ-Mode-commissioning calls. |
N/A | clusterIdsLength | The number of cluster IDs passed for the match. |
Kicks off the EZ Mode commissioning process by sending out an identify query command to the given endpoint. Endpoints that return an identify query response are interrogated for the given cluster IDs in the given direction (client or server).
64
of file app/framework/plugin/ezmode-commissioning/ez-mode.h
sl_zigbee_af_ezmode_server_commission#
sl_status_t sl_zigbee_af_ezmode_server_commission (uint8_t endpoint)
Begin EZ Mode server commissioning.
N/A | endpoint | The endpoint on which to begin identifying. |
Kicks of the server side of EZ Mode commissioning by putting the device into identify mode.
77
of file app/framework/plugin/ezmode-commissioning/ez-mode.h
sl_zigbee_af_ezmode_server_commission_with_timeout#
sl_status_t sl_zigbee_af_ezmode_server_commission_with_timeout (uint8_t endpoint, uint16_t identifyTimeoutSeconds)
Begin EZ Mode server commissioning with a given timeout.
N/A | endpoint | The endpoint on which to begin identifying |
N/A | identifyTimeoutSeconds | The number of seconds to identify for before stopping identify mode. |
Kicks of the server side of EZ Mode commissioning by putting the device into identify mode for a given time.
89
of file app/framework/plugin/ezmode-commissioning/ez-mode.h
Enumeration Documentation#
sl_zigbee_af_ez_mode_commissioning_direction_t#
sl_zigbee_af_ez_mode_commissioning_direction_t
Enumerator | |
---|---|
SL_ZIGBEE_AF_EZMODE_COMMISSIONING_SERVER_TO_CLIENT | |
SL_ZIGBEE_AF_EZMODE_COMMISSIONING_CLIENT_TO_SERVER |
33
of file app/framework/plugin/ezmode-commissioning/ez-mode.h