ZDO enumerations
This section details the enumerated types used by the ZDO functions. These are all defined in the header file zps_apl_zdo.h.
Security keys (ZPS_teZdoNwkKeyState)
This structure ZPS_teZdoNwkKeyState
contains the enumerations used to specify a type of security key:
typedef enum
{
ZPS_ZDO_NO_NETWORK_KEY,
ZPS_ZDO_PRECONFIGURED_LINK_KEY,
ZPS_ZDO_DISTRIBUTED_LINK_KEY,
ZPS_ZDO_PRCONFIGURED_INSTALLATION_CODE
} PACK ZPS_teZdoNwkKeyState
These enumerations are described in the table below:
Security Key Enumerations
Enumeration |
Description |
---|---|
ZPS_ZDO_NO_NETWORK_KEY |
No network key should be used. |
ZPS_ZDO_PRECONFIGURED_LINK_KEY |
A pre-configured link key should be used. This key can be fixed at the time of manufacture. |
ZPS_ZDO_DISTRIBUTED_LINK_KEY |
A pre-configured ZigBee Light Link (ZLL) link key should be used. This key can be fixed at the time of manufacture. A ZLL node contains both a ZPS_ZDO_PRECONFIG- URED_LINK_KEY for Home Automation (HA) compatibility and a ZPS_ZDO_ZLL_LINK_KEY for ZLL networks. |
ZPS_ZDO_PRCONFIGURED_INSTALLATION_CODE |
A preconfigured install code is to be used. This results in a key being generated from the install code. |
Parent topic:ZDO enumerations
Device types (ZPS_teZdoDeviceType)
This structure ZPS_teZdoDeviceType
contains the enumerations used to specify a ZigBee device type
typedef enum
{
ZPS_ZDO_DEVICE_COORD,
ZPS_ZDO_DEVICE_ROUTER,
ZPS_ZDO_DEVICE_ENDDEVICE
} PACK ZPS_teZdoDeviceType;
These enumerations are described in the table below.
Device Type Enumerations
Enumeration |
Description |
---|---|
ZPS_ZDO_DEVICE_COORD |
Coordinator |
ZPS_ZDO_DEVICE_ROUTER |
Router |
ZPS_ZDO_DEVICE_ENDDEVICE |
End Device |
Parent topic:ZDO enumerations
Device permissions (ZPS_teDevicePermissions)
This structure ZPS_teDevicePermissions
contains the enumerations used on a device to specify the permissions for certain requests from other nodes:
typedef enum
{
ZPS_DEVICE_PERMISSIONS_ALL_PERMITED = 0,
ZPS_DEVICE_PERMISSIONS_JOIN_DISALLOWED = 1,
ZPS_DEVICE_PERMISSIONS_DATA_REQUEST_DISALLOWED = 2,
ZPS_DEVICE_PERMISSIONS_REJOIN_DISALLOWED = 4,
} PACK ZPS_teDevicePermissions;
These enumerations are described in the table below:
Device permissions
Enumeration |
Description |
---|---|
ZPS_DEVICE_PERMISSIONS_ALL_PERMITED |
Allow all requests from other nodes |
ZPS_DEVICE_PERMISSIONS_JOIN_DISALLOWED |
Do not allow join requests from other nodes |
ZPS_DEVICE_PERMISSIONS_DATA_REQUEST_DISALLOWED |
Do not allow data requests from other nodes and disable end-to-end acknowledgments |
ZPS_DEVICE_PERMISSIONS_REJOIN_DISALLOWED |
Do not allow insecure rejoin. |
Parent topic:ZDO enumerations
Parent topic:ZigBee Device Objects (ZDO) API