Enumerations
This section lists and describes the enumerations used on the ZigBee Base Device. However, the ZigBee Base Device event enumerations are detailed in Events.
BDB_teStatus
The following enumerations indicate the status of certain function calls.
typedef enum
{
BDB_E_SUCCESS,
BDB_E_FAILURE,
BDB_E_ERROR_INVALID_PARAMETER,
BDB_E_ERROR_INVALID_DEVICE,
BDB_E_ERROR_NODE_IS_ON_A_NWK,
BDB_E_ERROR_IMPROPER_COMMISSIONING_MODE,
BDB_E_ERROR_COMMISSIONING_IN_PROGRESS,
}BDB_teStatus;
The enumerations are listed and described in the Table 11:
Enumeration |
Description |
---|---|
BDB_E_SUCCESS |
Function call is successful in its purpose |
BDB_E_FAILURE |
Function call fails in its purpose and no other error code is appropriate |
BDB_E_ERROR_INVALID_PARAMETER |
A specified parameter value is invalid |
BDB_E_ERROR_INVALID_DEVICE |
Device type is not valid for the operation |
BDB_E_ERROR_NODE_IS_ON_A_NWK |
Node is already in a network |
BDB_E_ERROR_IMPROPER_COMMISSIONING_MODE |
The commissioning mode is not appropriate |
BDB_E_ERROR_COMMISSIONING_IN_PROGRESS |
The commissioning process is in progress |
Parent topic:Enumerations
BDB_teCommissioningStatus
The following enumerations are used to indicate the status of the commissioning process for the node.
typedef enum
{
E_BDB_COMMISSIONING_STATUS_SUCCESS,
E_BDB_COMMISSIONING_STATUS_IN_PROGRESS,
E_BDB_COMMISSIONING_STATUS_NOT_AA_CAPABLE,
E_BDB_COMMISSIONING_STATUS_NO_NETWORK,
E_BDB_COMMISSIONING_STATUS_FORMATION_FAILURE,
E_BDB_COMMISSIONING_STATUS_NO_IDENTIFY_QUERY_RESPONSE,
E_BDB_COMMISSIONING_STATUS_BINDING_TABLE_FULL,
E_BDB_COMMISSIONING_STATUS_NO_SCAN_RESPONSE,
E_BDB_COMMISSIONING_STATUS_NOT_PERMITTED,
E_BDB_COMMISSIONING_STATUS_TCLK_EX_FAILURE
}BDB_teCommissioningStatus;
The enumerations are listed and described in the table below:
Commissioning Status Enumerations
Enumeration |
Description |
---|---|
E_BDB_COMMISSIONING_STATUS_SUCCESS |
Commissioning is successfully completed |
E_BDB_COMMISSIONING_STATUS_IN_PROGRESS |
Commissioning is on-going |
E_BDB_COMMISSIONING_STATUS_NOT_AA_CAPABLE |
Parent cannot assign address to joining node |
E_BDB_COMMISSIONING_STATUS_NO_NETWORK |
No network is found that can be joined |
E_BDB_COMMISSIONING_STATUS_FORMATION_FAILURE |
Network formation failed |
E_BDB_COMMISSIONING_STATUS_NO_IDENTIFY_QUERY _ RESPONSE |
No responses received to an Identify Query command |
E_BDB_COMMISSIONING_STATUS_BINDING_TABLE_FULL |
The local Binding table is full |
E_BDB_COMMISSIONING_STATUS_NO_SCAN_RESPONSE |
No responses received during a channel scan |
E_BDB_COMMISSIONING_STATUS_NOT_PERMITTED |
Requested commissioning is not permitted |
E_BDB_COMMISSIONING_STATUS_TCLK_EX_FAILURE |
Trust Centre link key exchange failed |
Parent topic:Enumerations
Parent topic:ZigBee Base Device