EZ Mode Commissioning#

API and Callbacks for the EZ Mode Commissioning Component.

This component provides a function set for implementing EZ Mode commissioning.

Modules#

EZ Mode

API#

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.

Begin EZ Mode server commissioning.

sl_zigbee_af_ezmode_server_commission_with_timeout(uint8_t endpoint, uint16_t identifyTimeoutSeconds)

Begin EZ Mode server commissioning with a given timeout.

Enumerations#

enum
SL_ZIGBEE_AF_EZMODE_COMMISSIONING_SERVER_TO_CLIENT = 0
SL_ZIGBEE_AF_EZMODE_COMMISSIONING_CLIENT_TO_SERVER = 1
}

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.

Parameters
N/Aendpoint

The endpoint to send the identify query command from

N/Adirection

The side of the cluster IDs given either client or server

N/AclusterIds

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/AclusterIdsLength

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).


Definition at line 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.

Parameters
N/Aendpoint

The endpoint on which to begin identifying.

Kicks of the server side of EZ Mode commissioning by putting the device into identify mode.


Definition at line 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.

Parameters
N/Aendpoint

The endpoint on which to begin identifying

N/AidentifyTimeoutSeconds

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.


Definition at line 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

Definition at line 33 of file app/framework/plugin/ezmode-commissioning/ez-mode.h