4.1.3. Commissioning

In the following sections, unless otherwise specified, the general rules are:

  • changes the prefix from esp_zb_ to ezb_

  • changes the error code type from esp_err_t to ezb_err_t if used / returned.

4.1.3.1. BDB Commissioning

The header file of the BDB Commissioning is changed from bdb/esp_zigbee_bdb_commissioning.h to ezbee/bdb.h .

The following macros, types, and functions have been renamed:

  • Rename ESP_ZB_BDB_MODE_TOUCHLINK_COMMISSIONING to EZB_BDB_MODE_TOUCHLINK_INITIATOR

  • Rename esp_zb_bdb_commissioning_mode_mask_t to ezb_bdb_comm_mode_mask_t

  • Rename esp_zb_bdb_commissioning_mode_t to ezb_bdb_comm_mode_t

  • Rename esp_zb_bdb_commissioning_status_t to ezb_bdb_comm_status_t

  • Rename esp_zb_set_bdb_commissioning_mode to ezb_bdb_set_commissioning_mode

  • Rename esp_zb_get_bdb_commissioning_mode to ezb_bdb_get_commissioning_mode

  • Rename esp_zb_get_bdb_commissioning_status to ezb_bdb_get_commissioning_status

The following macros, types, and functions have been removed:

  • ESP_ZB_BDB_MIN_COMMISSIONING_TIME

  • ESP_ZB_BDB_INITIALIZATION

  • ESP_ZB_BDB_TOUCHLINK_COMMISSIONING

  • ESP_ZB_BDB_NETWORK_STEERING

  • ESP_ZB_BDB_NETWORK_FORMATION

  • ESP_ZB_BDB_FINDING_N_BINDING

  • ESP_ZB_BDB_TOUCHLINK_TARGET

The following BDB related APP signals have been removed:

  • ESP_ZB_BDB_SIGNAL_TC_REJOIN_DONE

  • ESP_ZB_BDB_SIGNAL_STEERING_CANCELLED, please check the parameter of the EZB_BDB_SIGNAL_STEERING signal

  • ESP_ZB_BDB_SIGNAL_FORMATION_CANCELLED, please check the parameter of the EZB_BDB_SIGNAL_FORMATION signal

The behavioral changes:

  • In v2.x, EZB_BDB_MODE_INITIALIZATION will not run by default unless the user explicitly sets it. That is, when the device reboots, the user should call ezb_bdb_start_top_level_commissioning(EZB_BDB_MODE_INITIALIZATION) to start the initialization (rejoin to the previous network).