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_tsAfZdpEventstructure 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:
u8SequNumberis the sequence number of the ZDP request/responseu16ClusterIdis the ID of the cluster to which the request/response relatesuZdpDatais a union of the different ZDP request/response types:sDeviceAnnceis a structure of the typeZPS_tsAplZdpDeviceAnnceReq, described in Section 9.2.2.3
sMgmtNwkUpdateReqis a structure of the typeZPS_tsAplZdpMgmtNwkUpdateReq, described in Section 9.2.2.41sPermitJoiningReqis a structure of the typeZPS_tsAplZdpMgmtPermitJoiningReq, described in Section 9.2.3.39sDiscoveryCacheRspis a structure of the typeZPS_tsAplZdpDiscoveryCacheRsp, described in Section 9.2.3.14sDiscoveryStoreRspis a structure of the typeZPS_tsAplZdpDiscoveryStoreRsp, described in Section 9.2.3.15sNodeDescStoreRspis a structure of the typeZPS_tsAplZdpNodeDescStoreRsp, described in Section 9.2.3.16sActiveEpStoreRspis a structure of the typeZPS_tsAplZdpActiveEpStoreRsp, described in Section 9.2.3.19sSimpleDescStoreRspis a structure of the typeZPS_tsAplZdpSimpleDescStoreRsp, described in Section 9.2.3.18sRemoveNodeCacheRspis a structure of the typeZPS_tsAplZdpRemoveNodeCacheRsp, described in Section 9.2.3.21sEndDeviceBindRspis a structure of the typeZPS_tsAplZdpEndDeviceBindRsp, described in Section 9.2.3.22sBindRspis a structure of the typeZPS_tsAplZdpBindRsp, described in Section 9.2.3.23sUnbindRspis a structure of the typeZPS_tsAplZdpUnbindRsp, described in Section 9.2.3.24sReplaceDeviceRspis a structure of the typeZPS_tsAplZdpReplaceDeviceRsp, described in Section 9.2.3.26sStoreBkupBindEntryRspis a structure of the typeZPS_tsAplZdpStoreBkupBindEntryRsp, described in Section9.2.2.27sRemoveBkupBindEntryRspis a structure of the typeZPS_tsAplZdpRemoveBkupBindEntryRsp, described in Section9.2.2.28sBackupSourceBindRspis a structure of the typeZPS_tsAplZdpBackupSourceBindRsp, described in Section 9.2.3.31sMgmtLeaveRspis a structure of the typeZPS_tsAplZdpMgmtLeaveRsp, described in Section 9.2.3.37sMgmtDirectJoinRspis a structure of the typeZPS_tsAplZdpMgmtDirectJoinRsp, described in Section 9.2.3.38sPermitJoiningRspis a structure of the typeZPS_tsAplZdpMgmtPermitJoiningRsp, described in Section 9.2.3.39sNodeDescRspis a structure of the typeZPS_tsAplZdpNodeDescRsp, described in Section 8.2.3.3sPowerDescRspis a structure of the typeZPS_tsAplZdpPowerDescRsp, described in Section 9.2.3.4sSimpleDescRspis a structure of the typeZPS_tsAplZdpSimpleDescRsp, described in Section 9.2.3.5sNwkAddrRspis a structure of the typeZPS_tsAplZdpNwkAddrRsp, described in Section 9.2.3.1sIeeeAddrRspis a structure of the typeZPS_tsAplZdpIeeeAddrRsp, described in Section 9.2.3.2sUserDescConfis a structure of the typeZPS_tsAplZdpUserDescConf, described in Section 9.2.3.12sSystemServerDiscoveryRspis a structure of the typeZPS_tsAplZdpSystemServerDiscoveryRsp, described in Section9.2.3.13sPowerDescStoreRspis a structure of the typeZPS_tsAplZdpPowerDescStoreRsp, described in Section 9.2.3.17sUserDescRspis a structure of the typeZPS_tsAplZdpUserDescRsp, described in Section 9.2.3.8sActiveEpRspis a structure of the typeZPS_tsAplZdpActiveEpRsp, described in Section 9.2.3.10sMatchDescRspis a structure of the typeZPS_tsAplZdpMatchDescRsp, described in Section 9.2.3.9sComplexDescRspis a structure of the typeZPS_tsAplZdpComplexDescRsp, described in Section 9.2.3.7sFindNodeCacheRspis a structure of the typeZPS_tsAplZdpFindNodeCacheRsp, described in Section 9.2.3.20sExtendedSimpleDescRspis a structure of the typeZPS_tsAplZdpExtendedSimpleDescRsp, described in Section 9.2.3.6sExtendedActiveEpRspis a structure of the typeZPS_tsAplZdpExtendedActiveEpRsp, described in Section 9.2.3.11sBindRegisterRspis a structure of the typeZPS_tsAplZdpBindRegisterRsp, described in Section 9.2.3.25sBackupBindTableRspis a structure of the typeZPS_tsAplZdpBackupBindTableRsp, described in Section 9.2.3.29sRecoverBindTableRspis a structure of the typeZPS_tsAplZdpRecoverBindTableRsp, described in Section 9.2.3.30sRecoverSourceBindRspis a structure of the typeZPS_tsAplZdpRecoverSourceBindRsp, described in Section 9.2.3.32sMgmtNwkDiscRspis a structure of the typeZPS_tsAplZdpMgmtNwkDiscRsp, described in Section 9.2.3.33sMgmtLqiRspis a structure of the typeZPS_tsAplZdpMgmtLqiRsp, described in Section 9.2.3.34sRtgRspis a structure of the typeZPS_tsAplZdpMgmtRtgRsp, described in Section 9.2.3.35sMgmtBindRspis a structure of the typeZPS_tsAplZdpMgmtBindRsp, described in Section 9.2.3.36sMgmtCacheRspis a structure of the typeZPS_tsAplZdpMgmtCacheRsp, described in Section 9.2.3.40sMgmtNwkUpdateNotifyis a structure of the typeZPS_tsAplZdpMgmtNwkUpdateNotify, described in Section 9.2.3.41uListsis 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