ZPS_tsAfZdpEvent
This structure is used when a ZPS_EVENT_APS_DATA_INDICATION event is generated containing a response which is destined for the ZDO at endpoint 0. The application can extract the response data from the event using the function ZPS_bAplZdpUnpackResponse() and this structure is used to receive the extracted data.
The ZPS_tsAfZdpEvent
structure is detailed below.
typedef struct {
uint8 u8SequNumber;
uint16 u16ClusterId;
union {
ZPS_tsAplZdpDeviceAnnceReq sDeviceAnnce;
ZPS_tsAplZdpMgmtNwkUpdateReq sMgmtNwkUpdateReq;
ZPS_tsAplZdpMgmtPermitJoiningReq sPermitJoiningReq;
ZPS_tsAplZdpDiscoveryCacheRsp sDiscoveryCacheRsp;
ZPS_tsAplZdpDiscoveryStoreRsp sDiscoveryStoreRsp;
ZPS_tsAplZdpNodeDescStoreRsp sNodeDescStoreRsp;
ZPS_tsAplZdpActiveEpStoreRsp sActiveEpStoreRsp;
ZPS_tsAplZdpSimpleDescStoreRsp sSimpleDescStoreRsp;
ZPS_tsAplZdpRemoveNodeCacheRsp sRemoveNodeCacheRsp;
ZPS_tsAplZdpEndDeviceBindRsp sEndDeviceBindRsp;
ZPS_tsAplZdpBindRsp sBindRsp;
ZPS_tsAplZdpUnbindRsp sUnbindRsp;
ZPS_tsAplZdpReplaceDeviceRsp sReplaceDeviceRsp;
ZPS_tsAplZdpStoreBkupBindEntryRsp sStoreBkupBindEntryRsp;
ZPS_tsAplZdpRemoveBkupBindEntryRsp sRemoveBkupBindEntryRsp;
ZPS_tsAplZdpBackupSourceBindRsp sBackupSourceBindRsp;
ZPS_tsAplZdpMgmtLeaveRsp sMgmtLeaveRsp;
ZPS_tsAplZdpMgmtDirectJoinRsp sMgmtDirectJoinRsp;
ZPS_tsAplZdpMgmtPermitJoiningRsp sPermitJoiningRsp;
ZPS_tsAplZdpNodeDescRsp sNodeDescRsp;
ZPS_tsAplZdpPowerDescRsp sPowerDescRsp;
ZPS_tsAplZdpSimpleDescRsp sSimpleDescRsp;
ZPS_tsAplZdpNwkAddrRsp sNwkAddrRsp;
ZPS_tsAplZdpIeeeAddrRsp sIeeeAddrRsp;
ZPS_tsAplZdpUserDescConf sUserDescConf;
ZPS_tsAplZdpSystemServerDiscoveryRsp sSystemServerDiscoveryRsp;
ZPS_tsAplZdpPowerDescStoreRsp sPowerDescStoreRsp;
ZPS_tsAplZdpUserDescRsp sUserDescRsp;
ZPS_tsAplZdpActiveEpRsp sActiveEpRsp;
ZPS_tsAplZdpMatchDescRsp sMatchDescRsp;
ZPS_tsAplZdpComplexDescRsp sComplexDescRsp;
ZPS_tsAplZdpFindNodeCacheRsp sFindNodeCacheRsp;
ZPS_tsAplZdpExtendedSimpleDescRsp sExtendedSimpleDescRsp;
ZPS_tsAplZdpExtendedActiveEpRsp sExtendedActiveEpRsp;
ZPS_tsAplZdpBindRegisterRsp sBindRegisterRsp;
ZPS_tsAplZdpBackupBindTableRsp sBackupBindTableRsp;
ZPS_tsAplZdpRecoverBindTableRsp sRecoverBindTableRsp;
ZPS_tsAplZdpRecoverSourceBindRsp sRecoverSourceBindRsp;
ZPS_tsAplZdpMgmtNwkDiscRsp sMgmtNwkDiscRsp;
ZPS_tsAplZdpMgmtLqiRsp sMgmtLqiRsp;
ZPS_tsAplZdpMgmtRtgRsp sRtgRsp;
ZPS_tsAplZdpMgmtBindRsp sMgmtBindRsp;
ZPS_tsAplZdpMgmtCacheRsp sMgmtCacheRsp;
ZPS_tsAplZdpMgmtNwkUpdateNotify sMgmtNwkUpdateNotify;
}uZdpData;
union {
ZPS_tsAplZdpBindingTableEntry asBindingTable[5];
ZPS_tsAplZdpNetworkDescr asNwkDescTable[5];
ZPS_tsAplZdpNtListEntry asNtList[2];
ZPS_tsAplDiscoveryCache aDiscCache[5];
uint16 au16Data[34];
uint8 au8Data[77];
uint64 au64Data[9];
}uLists;
}ZPS_tsAfZdpEvent;
where:
u8SequNumber
is the sequence number of the ZDP request/responseu16ClusterId
is the ID of the cluster to which the request/response relatesuZdpData
is a union of the different ZDP request/response types:sDeviceAnnce
is a structure of the typeZPS_tsAplZdpDeviceAnnceReq
, described in Section 9.2.2.3
sMgmtNwkUpdateReq
is a structure of the typeZPS_tsAplZdpMgmtNwkUpdateReq
, described in Section 9.2.2.41sPermitJoiningReq
is a structure of the typeZPS_tsAplZdpMgmtPermitJoiningReq
, described in Section 9.2.3.39sDiscoveryCacheRsp
is a structure of the typeZPS_tsAplZdpDiscoveryCacheRsp
, described in Section 9.2.3.14sDiscoveryStoreRsp
is a structure of the typeZPS_tsAplZdpDiscoveryStoreRsp
, described in Section 9.2.3.15sNodeDescStoreRsp
is a structure of the typeZPS_tsAplZdpNodeDescStoreRsp
, described in Section 9.2.3.16sActiveEpStoreRsp
is a structure of the typeZPS_tsAplZdpActiveEpStoreRsp
, described in Section 9.2.3.19sSimpleDescStoreRsp
is a structure of the typeZPS_tsAplZdpSimpleDescStoreRsp
, described in Section 9.2.3.18sRemoveNodeCacheRsp
is a structure of the typeZPS_tsAplZdpRemoveNodeCacheRsp
, described in Section 9.2.3.21sEndDeviceBindRsp
is a structure of the typeZPS_tsAplZdpEndDeviceBindRsp
, described in Section 9.2.3.22sBindRsp
is a structure of the typeZPS_tsAplZdpBindRsp
, described in Section 9.2.3.23sUnbindRsp
is a structure of the typeZPS_tsAplZdpUnbindRsp
, described in Section 9.2.3.24sReplaceDeviceRsp
is a structure of the typeZPS_tsAplZdpReplaceDeviceRsp
, described in Section 9.2.3.26sStoreBkupBindEntryRsp
is a structure of the typeZPS_tsAplZdpStoreBkupBindEntryRsp
, described in Section9.2.2.27sRemoveBkupBindEntryRsp
is a structure of the typeZPS_tsAplZdpRemoveBkupBindEntryRsp
, described in Section9.2.2.28sBackupSourceBindRsp
is a structure of the typeZPS_tsAplZdpBackupSourceBindRsp
, described in Section 9.2.3.31sMgmtLeaveRsp
is a structure of the typeZPS_tsAplZdpMgmtLeaveRsp
, described in Section 9.2.3.37sMgmtDirectJoinRsp
is a structure of the typeZPS_tsAplZdpMgmtDirectJoinRsp
, described in Section 9.2.3.38sPermitJoiningRsp
is a structure of the typeZPS_tsAplZdpMgmtPermitJoiningRsp
, described in Section 9.2.3.39sNodeDescRsp
is a structure of the typeZPS_tsAplZdpNodeDescRsp
, described in Section 8.2.3.3sPowerDescRsp
is a structure of the typeZPS_tsAplZdpPowerDescRsp
, described in Section 9.2.3.4sSimpleDescRsp
is a structure of the typeZPS_tsAplZdpSimpleDescRsp
, described in Section 9.2.3.5sNwkAddrRsp
is a structure of the typeZPS_tsAplZdpNwkAddrRsp
, described in Section 9.2.3.1sIeeeAddrRsp
is a structure of the typeZPS_tsAplZdpIeeeAddrRsp
, described in Section 9.2.3.2sUserDescConf
is a structure of the typeZPS_tsAplZdpUserDescConf
, described in Section 9.2.3.12sSystemServerDiscoveryRsp
is a structure of the typeZPS_tsAplZdpSystemServerDiscoveryRsp
, described in Section9.2.3.13sPowerDescStoreRsp
is a structure of the typeZPS_tsAplZdpPowerDescStoreRsp
, described in Section 9.2.3.17sUserDescRsp
is a structure of the typeZPS_tsAplZdpUserDescRsp
, described in Section 9.2.3.8sActiveEpRsp
is a structure of the typeZPS_tsAplZdpActiveEpRsp
, described in Section 9.2.3.10sMatchDescRsp
is a structure of the typeZPS_tsAplZdpMatchDescRsp
, described in Section 9.2.3.9sComplexDescRsp
is a structure of the typeZPS_tsAplZdpComplexDescRsp
, described in Section 9.2.3.7sFindNodeCacheRsp
is a structure of the typeZPS_tsAplZdpFindNodeCacheRsp
, described in Section 9.2.3.20sExtendedSimpleDescRsp
is a structure of the typeZPS_tsAplZdpExtendedSimpleDescRsp
, described in Section 9.2.3.6sExtendedActiveEpRsp
is a structure of the typeZPS_tsAplZdpExtendedActiveEpRsp
, described in Section 9.2.3.11sBindRegisterRsp
is a structure of the typeZPS_tsAplZdpBindRegisterRsp
, described in Section 9.2.3.25sBackupBindTableRsp
is a structure of the typeZPS_tsAplZdpBackupBindTableRsp
, described in Section 9.2.3.29sRecoverBindTableRsp
is a structure of the typeZPS_tsAplZdpRecoverBindTableRsp
, described in Section 9.2.3.30sRecoverSourceBindRsp
is a structure of the typeZPS_tsAplZdpRecoverSourceBindRsp
, described in Section 9.2.3.32sMgmtNwkDiscRsp
is a structure of the typeZPS_tsAplZdpMgmtNwkDiscRsp
, described in Section 9.2.3.33sMgmtLqiRsp
is a structure of the typeZPS_tsAplZdpMgmtLqiRsp
, described in Section 9.2.3.34sRtgRsp
is a structure of the typeZPS_tsAplZdpMgmtRtgRsp
, described in Section 9.2.3.35sMgmtBindRsp
is a structure of the typeZPS_tsAplZdpMgmtBindRsp
, described in Section 9.2.3.36sMgmtCacheRsp
is a structure of the typeZPS_tsAplZdpMgmtCacheRsp
, described in Section 9.2.3.40sMgmtNwkUpdateNotify
is a structure of the typeZPS_tsAplZdpMgmtNwkUpdateNotify
, described in Section 9.2.3.41uLists
is a union of the different arrays/tables which act as temporary storage for data elements used by the stack (and are therefore for internal use only)
Parent topic:Event structures